Everything going fine, then BOOM!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
goldhilwebmaster

Everything going fine, then BOOM!

Post by goldhilwebmaster »

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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Everything going fine, then BOOM!

Post by Dr.CSS »

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!

Post by goldhilwebmaster »

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
goldhilwebmaster

Re: Everything going fine, then BOOM! [Fixed it!]

Post by goldhilwebmaster »

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! :o
wfunderberg
Forum Members
Forum Members
Posts: 42
Joined: Tue Mar 28, 2006 8:05 pm

Re: Everything going fine, then BOOM!

Post by wfunderberg »

Wow, funny..i am just clickining on the up down arrows and the same thing happened to me....  ??? >:(
Locked

Return to “CMSMS Core”