Greetings,
I'm building a site using 0.13, and all was going well, until after submitting a page as normal, I received the following error in the admin when attempting to access the "Pages" tab:
Fatal error: Call to a member function getLevel() on a non-object in /home/goldhil/public_html/cmsmadesimple/lib/classes/class.content.inc.php on line 2139
Problem seems to be in a file called "admin/listcontent.php," so perhaps I can simply obtain and copy a fresh version of this file to the admin directory and be back in business?
I'm kinda on deadline here, so any help you can provide would be ever so welcome.
Thanks,
Lawrence Ullman
http://209.51.149.250/~goldhil/cmsmades ... x.php/home
Everything going fine, then BOOM!
Re: Everything going fine, then BOOM!
You should be able to upload it from the folder on your PC that was made when you unzipped the CMSMS file.
-
goldhilwebmaster
Re: Everything going fine, then BOOM!
Okay, I uploaded fresh copies of /lib/classes/class.content.inc.php and /admin/listcontent.php, but still getting same error message:
Fatal error: Call to a member function getLevel() on a non-object in /home/goldhil/public_html/cmsmadesimple/lib/classes/class.content.inc.php on line 2139
It seems I have to fix the code in the above file, but how? I'm not a programmer, but know enough to be dangerous, if you can tell me what to fix.
Might upgrading to Version 1.0 help, or just make things worse?
Thanks!
Lawrence Ullman
Fatal error: Call to a member function getLevel() on a non-object in /home/goldhil/public_html/cmsmadesimple/lib/classes/class.content.inc.php on line 2139
It seems I have to fix the code in the above file, but how? I'm not a programmer, but know enough to be dangerous, if you can tell me what to fix.
Might upgrading to Version 1.0 help, or just make things worse?
Thanks!
Lawrence Ullman
-
goldhilwebmaster
Re: Everything going fine, then BOOM! [Fixed it!]
Okay, I searched the forum here and found the fix, which involves nulling out the collapse parameter in the SQL table "cms_userprefs." Dodged the bullet for now . . . Hope there are no more surprises in store! 
-
wfunderberg
- Forum Members

- Posts: 42
- Joined: Tue Mar 28, 2006 8:05 pm
Re: Everything going fine, then BOOM!
Wow, funny..i am just clickining on the up down arrows and the same thing happened to me....


