Page 1 of 1

Parse error - couldn't reach blog

Posted: Sat Jul 04, 2009 7:46 am
by lindau
I've been using Serendipity for some time now.

Today, I got a message "Parse error : syntax error, unexpected ' <' in ... home /u1/ftpcert/html/blog /index.php on line 581"

No one could reach my blog.

Luckily, I had a backup of index.php, and got it working again.

How did the file get an unexpected '<' ?

What can I do to keep it from happening again?

Re: Parse error - couldn't reach blog

Posted: Sat Jul 04, 2009 10:50 am
by garvinhicking
Hi!

How exactly did your index.php file look at that mentioned line? This sounds like a trojan/virus on your server.

Regards,
Garvin

Re: Parse error - couldn't reach blog

Posted: Sat Jul 04, 2009 5:46 pm
by lindau
I deleted the index.php.

First I looked at it. A long line of code was added at the end.

Re: Parse error - couldn't reach blog

Posted: Mon Jul 06, 2009 9:21 am
by garvinhicking
Hi!

Definitely a trojan. Change all your FTP passwords, check all the PCs you have that connect to your site via FTP for viri.

Regards,
Garvin