Page 1 of 1

Site Down w/ "Fatal Error"

Posted: Mon May 14, 2012 5:39 pm
by coryp
Hello Gracious CMSMS Lords,

I'm hoping you can offer advice on this issue before I reinstall.
Our company website was replaced last Friday with this line:
Fatal error: Call to a member function getContent() on a non-object in /home/accura22/public_html/ai/plugins/function.cms_selflink.php on line 283
It can be viewed here:
http://accuratei.com/home/

We've redirected our main URL away from the CMS Made Simple site until I figure this out. I ran a checksum and everything seems to be accounted for, but when I login to admin-- all my pages are missing. If I try and create a new page, I get the message: "You must select a parent page (contact your administrator if you do not see this option)."

Any thoughts on what could have happened and suggestions on how I should go about fixing this besides starting from scratch?

Thanks so much,

Cory
Accurate Impressions
925-600-1234

Re: Site Down w/ "Fatal Error"

Posted: Mon May 14, 2012 7:49 pm
by RonnyK
what version are you running?

Ronny

Re: Site Down w/ "Fatal Error"

Posted: Tue May 15, 2012 12:28 am
by Dr.CSS

Re: Site Down w/ "Fatal Error"

Posted: Tue May 15, 2012 10:22 am
by manuel
Dear coryp,

The first thing i would do is check the contents of the mysql db to see if the content is still there. (might stop your headache from breaking trough ;) )
The second thing i would do is contact the hosting provider to see if they changed anything recently to the server's configuration.

If the host has indeed changed something to the server configuration:
You could restore the website on something like http://www.wampserver.com/
This because wampserver will allow you to set up various versions of php and apache to try and recreate the previous server configuration.
(i actually prefer easyphp.org because of it's portability but wampserver providers more PHP/apache versions)

Once you get it working upgrade everything (core and modules) before restoring it to your hosting account.

If the host has not changed the server configuration:
Ask them to send you some backup from when the site was still working (i hope it's not too long ago).
Change all passwords used (hosting account & cmsms)
Upgrade everything (core and modules) before restoring it to the hosting account.

ps: as always, try to make copies of the files as much as possible (for every situation) you can erase them once you are done but if you don't do this, you could end up regretting it...

Greetings,
Manuel

Re: Site Down w/ "Fatal Error"

Posted: Fri May 18, 2012 10:33 am
by faglork
Maybe it is the same problem as in
http://dev.cmsmadesimple.org/bug/view/7259

Manually clearing the cache will help (in this case).

hth,
Alex

Re: Site Down w/ "Fatal Error"

Posted: Wed May 30, 2012 4:32 pm
by coryp
Alex,

That did it. I knew it was a simple solution. I cleared the cache internally on my site and all the pages reappeared in my dashboard. All is well.

Thanks for your patient answer to my inquiry :)

Cory

Here's another question though-- how do I mark this post SOLVED?

Re: Site Down w/ "Fatal Error"

Posted: Wed May 30, 2012 6:22 pm
by Dr.CSS