PHP Parse Error
PHP Parse Error
I've been running two sites with CMS Made Simple for about a year now without any problems and suddenly both websites are giving me the below error.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\hosting\webhost4life\member\mnapiork\yum\index.php on line 77
Any ideas?
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\hosting\webhost4life\member\mnapiork\yum\index.php on line 77
Any ideas?
Last edited by mnapiork on Wed Jul 23, 2008 5:31 pm, edited 1 time in total.
Re: PHP Parse Error
Strange - it's impossible to tell what's going on though, without knowing which version of CMS Made Simple you're using or seeing the code of that index.php around line 77....
Re: PHP Parse Error
I'm running $CMS_VERSION = "1.2.3";
I don't know if my host overwrote a file or whether someone hacked into my account and changed something. I'm just curious whether anyone else using CMS Made Simple is experiencing this.
I don't know if my host overwrote a file or whether someone hacked into my account and changed something. I'm just curious whether anyone else using CMS Made Simple is experiencing this.
Re: PHP Parse Error
This is what is written around line 77 of index.php. Is this normal?
Re: PHP Parse Error
No, that doesn't look like the normal code that should be in the file - download the 1.2.3 cms package and upload it again, overwriting the files on the server. While at it, after that I'd make a backup and upgrade to 1.3.1 

Re: PHP Parse Error
Thanks. I guess someone hacked into my account and added code.
Re: PHP Parse Error
It's actually a javascript function just after the closing tag. See below:
Code: Select all
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Last edited by Rolf on Mon Apr 02, 2012 8:11 am, edited 1 time in total.
Reason: removed hacked code/links
Reason: removed hacked code/links
Re: PHP Parse Error
Sure. See erase-destroy : http://forum.cmsmadesimple.org/index.ph ... #msg114458mnapiork wrote: Thanks. I guess someone hacked into my account and added code.
And remember not to run obsolete, known unsecure, unsupported versions.
Pierre M.
Re: PHP Parse Error
Well, I was hacked for sure!
Somehow the hacker figured out my ftp username and password and inserted malicious code into the index pages of my sites and also deleted many other index pages completely.
My antivirus picked this up in the index file of one of my sites: Trojan program Trojan-Clicker.HTML.IFrame.rw
I viewed the ftp connection log files and the IP address was from Russia (77.221.133.198).
I still would like to figure out how the hacker got in. It's really bugging me!!!
Somehow the hacker figured out my ftp username and password and inserted malicious code into the index pages of my sites and also deleted many other index pages completely.
My antivirus picked this up in the index file of one of my sites: Trojan program Trojan-Clicker.HTML.IFrame.rw
I viewed the ftp connection log files and the IP address was from Russia (77.221.133.198).
I still would like to figure out how the hacker got in. It's really bugging me!!!
Re: PHP Parse Error
As you were using an obsolete, known unsecure, unsupported version the cracker had only to chose a well known exploit.mnapiork wrote: I still would like to figure out how the hacker got in.
Keep exposed software uptodate and see http://wiki.cmsmadesimple.org/index.php ... mall_Guide
Pierre M.
Re: PHP Parse Error
I just want to put it out there that of my sites got hacked as well by the same crooks. Would love to know who and how...
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Last edited by Rolf on Mon Apr 02, 2012 8:11 am, edited 1 time in total.
Reason: removed hacked code/links
Reason: removed hacked code/links
Re: PHP Parse Error
It's a know vulnerability that has been fixed, hope you updated to latest ver...