Page 1 of 2
Fatal error: Call to a member function Id() on a non-object in /mounted-storage/
Posted: Sat Jun 30, 2007 4:54 pm
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
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 4:58 pm
by tsw
double check all paths (iirc there are four places to change)
and remember to clear the cache
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 5:26 pm
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
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 5:39 pm
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)
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 5:41 pm
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.
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 5:43 pm
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.
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 6:07 pm
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
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sat Jun 30, 2007 7:09 pm
by Nullig
Have you tried uninstalling the archiver module?
Nullig
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Sun Jul 01, 2007 9:15 pm
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
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Mon Jul 02, 2007 12:23 am
by Nullig
Are you using the latest version of Archiver?
Nullig
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Mon Jul 02, 2007 9:26 pm
by izzysanime
0.2, yup, the latest
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Mon Jul 02, 2007 10:22 pm
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
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Mon Jul 02, 2007 10:44 pm
by izzysanime
ok, im downloading it now, ill let you know if that works. Why is it not showing in the main forge page?
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Mon Jul 02, 2007 11:07 pm
by Nullig
It's a recent update that hasn't yet been compiled into a new release.
Nullig
Re: Fatal error: Call to a member function Id() on a non-object in /mounted-stor
Posted: Tue Jul 03, 2007 1:45 am
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