Fatal error: Call to a member function Active() on a non-object

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

Fatal error: Call to a member function Active() on a non-object

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Fatal error: Call to a member function Active() on a non-object

Post by Nullig »

I think some of the files didn't make it - try re-uploading with your FTP program.

Nullig
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

Re: Fatal error: Call to a member function Active() on a non-object

Post 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?
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

Re: Fatal error: Call to a member function Active() on a non-object

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”