Page 1 of 1
Fatal error: Call to a member function Active() on a non-object
Posted: Sun Jul 13, 2008 8:51 pm
by alvin
Just loaded 1.3.1 using old db, did the upgrade.php I now get this error
Fatal error: Call to a member function Active() on a non-object in C:\wamp\www\aljo2\lib\Tree\Tree.php on line 624
admin login seems to be normal, What do you think?
AM
Re: Fatal error: Call to a member function Active() on a non-object
Posted: Sun Jul 13, 2008 9:15 pm
by Nullig
I think some of the files didn't make it - try re-uploading with your FTP program.
Nullig
Re: Fatal error: Call to a member function Active() on a non-object
Posted: Mon Jul 14, 2008 4:52 pm
by alvin
Hello Nullig
I can find no missing files, I just untared on my local, and ran the update on old db, when that did not work I went through the install procedure without creating new tables.
This is where the function is:
function hasChildren($activeonly = false)
{
if( !$activeonly )
return !empty($this->nodes->nodes);
if( empty($this->nodes->nodes) ) return false;
$result = false;
foreach( $this->nodes->nodes as $onenode )
{
$contentobj =& $onenode->getContent();
line624> if( $contentobj->Active() && $contentobj->ShowInMenu() )
{
$result = true;
break;
}
}
return $result;
What do you think?
Re: Fatal error: Call to a member function Active() on a non-object
Posted: Fri Jul 18, 2008 12:57 am
by alvin
So anybody got any idea what I must do here, or should I move the post to a dev...
What do ya think/
AM