Parse Error in index.php (site previously working) [solved, kinda]

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.
Post Reply
nick
Forum Members
Forum Members
Posts: 10
Joined: Thu Apr 20, 2006 2:35 pm

Parse Error in index.php (site previously working) [solved, kinda]

Post by nick »

Hello,

I couldn't find an error like this is anywhere in the forums. When I try to access my site I get the following error:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/jfrhisto/public_html/index.php on line 55

The site was working previously, but now this error. The admin section is still working fine.

Checking the error logs, I find these errors (which may or may not be related to my problem):

[Thu Sep 20 19:46:53 2007] [error] [client 74.220.75.202] File does not exist: /home/jfrhisto/public_html/404.shtml
[Thu Sep 20 19:46:53 2007] [error] [client 74.220.75.202] File does not exist: /home/jfrhisto/public_html/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/flash/editor_plugin.js

I'm using CMSMS version 1.0.5

Thanks in advance for any help!!
nick
Last edited by nick on Fri Sep 21, 2007 1:12 am, edited 1 time in total.
nick
Forum Members
Forum Members
Posts: 10
Joined: Thu Apr 20, 2006 2:35 pm

Re: Parse Error in index.php (site previously working) [solved, kinda]

Post by nick »

I reloaded the index.php file from the original install, then the site started working again. Shortly after, it broke down again, so I upped the file once again and changed its permissions to chmod 444 in the hopes that the index.php won't get modified again.

But I have no idea why or how it was modified.

nick
Post Reply

Return to “CMSMS Core”