Page 1 of 1

error: class.content.inc.php on line 2139

Posted: Tue Jun 06, 2006 10:16 am
by teackele
when i want to see the content pages as admin i get the following error in het page overview

Fatal error: Call to a member function getLevel() on a non-object in C:\temp\upgraded\lib\classes\class.content.inc.php on line 2139

editing the pages through an alternate way (for example the edit button which i placed on my pages) still works.

upgrading to 0.13 didn't fix it...

hope someone can help

regards teackele

Re: error: class.content.inc.php on line 2139

Posted: Wed Jun 07, 2006 11:28 am
by teackele
traced it down to an invalid entry in the userprefs table for the collapse variable. cleared the field value, which solved.
how the invalid value got there still remains a question

T

Re: error: class.content.inc.php on line 2139

Posted: Wed Jun 07, 2006 1:35 pm
by tsw
Interesting

Maybe there should be clear all user prefs function somewhere...

Re: error: class.content.inc.php on line 2139

Posted: Wed Jun 07, 2006 2:04 pm
by teackele
i suspect some database updating which makes the collapse value referencing pages within the hierarchy that don't exist anymore.
this might have happened during simultaneous working on the website on the same account, or even through 2 seperate browser windows...
but let me stress again, might. it's just a theory of mine

teackele