Fatal error: Call to a member function Id() on a non-object in /mounted-storage/

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.
izzysanime

Fatal error: Call to a member function Id() on a non-object in /mounted-storage/

Post by izzysanime »

Hi, my host moved my site to a different server, they moved the files.  I changed the settings to reflect the new directory and the site itself works.  I get this error when i try to modify the footer. 
Fatal error: Call to a member function Id() on a non-object in /mounted-storage/home59c/sub001/sc15160-KJJA/www/modules/Archiver/Archiver.module.php on line 309

thanks
Josh
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by tsw »

double check all paths (iirc there are four places to change)

and remember to clear the cache
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

Ok, i did not clear the cache, now i did.  double checked the paths in the config.php file and those are fine.  Still getting the error. 

Maybe i misunderstood the server admin instructions.
before, my path was /mounted-storage/ some stuff here /www

the email they sent me to change to the new path was exactly
/home59c/sub001/sc15160-KJJA, without the /mounted-storage/
Now i put it it like this : /mounted-storage/home59c/sub001/sc15160-KJJA thinking that was what they ment, was i not supposed to do that?

thanks
Josh
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by tsw »

if you can access your site with ssh you could check the path with "pwd" command

or you can try running the installer again (select not to create tables and backup before you do)
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

ok, just to check, i removed the /mounted-storage.  still nothing and error exists.  There is nothing i need to do for the DB, right?  the DB itself did not move. 

thanks
Josh

I do not have ssh access.  the admin told me that was the new directory though. 
Pierre M.

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by Pierre M. »

Hello,

I think,
by /home59c/sub001/sc15160-KJJA instead of /mounted-storage/some stuff here/www
they mean /home59c/sub001/sc15160-KJJA
not /mounted-storage/home59c/sub001/sc15160-KJJA

If unsure, you can reinstall in the new location followinf the ordinary procedure but skipping the table creation in the database to keep its content. This way, you will get a fresh new generated working config.php.

Pierre M.
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

ok, i tried re-installing the CMS, still get the same error. 

Just to test, i tried editing a regular page, that goes through with no problem, so its just the footer that is having issues.

thanks
Josh
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 Id() on a non-object in /mounted-stor

Post by Nullig »

Have you tried uninstalling the archiver module?

Nullig
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

No, I have not tried it

--
I just uninstalled archiver, now it works, i re-install it, it dose not work, so its archiver.  Is that just a big with an available fix?
I don't even see it making those auto archives that it says it will.

thanks,
Josh
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 Id() on a non-object in /mounted-stor

Post by Nullig »

Are you using the latest version of Archiver?

Nullig
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

0.2, yup, the latest
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 Id() on a non-object in /mounted-stor

Post by Nullig »

There is a new version of the Archiver.module.php file which fixes the bug in the SVN repository here:

http://viewsvn.cmsmadesimple.org/viewsv ... r&view=log

Nullig
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

ok, im downloading it now, ill let you know if that works.  Why is it not showing in the main forge page?
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 Id() on a non-object in /mounted-stor

Post by Nullig »

It's a recent update that hasn't yet been compiled into a new release.

Nullig
izzysanime

Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor

Post by izzysanime »

awesone, it works, thanks.  I also got to see that the footer was available in the archive module view. 
1 feature that would be super great ^_^, would be to allow me to preview or see what the archive contains before i have it reloaded. 

another quick question, If i had it bring back an old version of a page, will it also archive the one that is there presently, just in case?

thanks

Josh
Locked

Return to “CMSMS Core”