Parse error - couldn't reach blog

Found a bug? Tell us!!
Post Reply
lindau
Regular
Posts: 16
Joined: Sat May 26, 2007 6:47 pm

Parse error - couldn't reach blog

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Parse error - couldn't reach blog

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
lindau
Regular
Posts: 16
Joined: Sat May 26, 2007 6:47 pm

Re: Parse error - couldn't reach blog

Post by lindau »

I deleted the index.php.

First I looked at it. A long line of code was added at the end.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Parse error - couldn't reach blog

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply