Page 1 of 1

Site is down. Please help.

Posted: Mon Jul 18, 2011 9:01 pm
by Bonewalker
Hi All,

I have had this particular CMS site up for almost 2 years now. Suddenly, over the weekend, I am getting just code on the front page (well, all pages). However, I can get to the Admin side just fine, and even use the preview and see the pages as they should look.

Here is a pic of what I am getting when visiting the site.
Image

I have called my hosting company, and they say they haven't made any changes to my environment in several months.

Any thoughts?

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 3:25 pm
by Bonewalker
No one has any thoughts at all on this? Is this even an error message or what?

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 3:54 pm
by Jos
no, this looks more like the php sourcecode

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 4:01 pm
by Bonewalker
Yeah, I think it is. But, what would cause that? I need an error log to look at I guess.

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 5:04 pm
by Jos
You could turn debug on in config.php, but I doubt it will bring you something. Seems as if php code is not executed. But you mentioned your host took a look at it and saw nothing strange, so I guess that could not be it (or your host is not that professional ;) )

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 5:08 pm
by Bonewalker
GoDaddy is hosting. :)

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 7:27 pm
by spcherub
It seems like your webserver stopped interpreting PHP code and instead is simply treating it like text. This can happen for several reasona, a couple of which are:
1. The hosting provider made changes to their global configuration which caused the PHP file association to break
2. There was a change (or error) in your custom .htaccess file which is causing the relevant directive to be bypassed or ignored.

If you recently made changes to your .htaccess file (or it has been deleted accidentally), then restore it from an older version (or use the template in the /doc folder of the CMS install and recreate a new one).

Those are the things I can think about right now. Good luck!

S

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 7:34 pm
by Bonewalker
Thanks for the suggestions. I will check on these.

Re: Site is down. Please help.

Posted: Tue Jul 19, 2011 8:09 pm
by Bonewalker
spcherub wrote:It seems like your webserver stopped interpreting PHP code and instead is simply treating it like text. This can happen for several reasona, a couple of which are:
1. The hosting provider made changes to their global configuration which caused the PHP file association to break
2. There was a change (or error) in your custom .htaccess file which is causing the relevant directive to be bypassed or ignored.

If you recently made changes to your .htaccess file (or it has been deleted accidentally), then restore it from an older version (or use the template in the /doc folder of the CMS install and recreate a new one).

Those are the things I can think about right now. Good luck!

S
Hmm..looking back to when the site was working, there never has been an .htaccess file in use.