Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 9 posts ] 
Author Message
 Post subject: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 7:49 
User avatar
Goth

Joined: 31st Mar, 2008
Posts: 3742
I think someone has hacked my website http://iconochromatic.jhenge.com as it's saying:

Syntax error in "wp-includes/default-filters.php on line 229"

Any ways of fixing it?

_________________
Image


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 7:58 
User avatar
Ticket to Ride World Champion

Joined: 18th Apr, 2008
Posts: 11897
Well, I can't help fix, but I can confirm it does it for me too, if that is any help. :)

_________________
No, it was a giant robot castle!


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 8:04 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
I would imagine that it's unlikely to be a hack job, but to fix it, you're either going to have to edit the file or, if it's a standard WP file that's the same from site to site, you could upload a copy over it.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 8:46 
User avatar

Joined: 30th Mar, 2008
Posts: 14370
Location: Shropshire, UK
I'd suggest it is a hackjob.

Many sites get hacked by someone breaking into the site's FTP (or another site's FTP, or even worse, sometimes the shell) and using it to gain access to other folders on the server.

They then inject standard PHP code into as many "common" PHP files as they can find (typically ones called index.php, default.php, stuff like that) and the code normally redirects the visitor to a malicious site.

However, the code injector they use isn't very intelligent and often injects the code in the wrong place, or injects the wrong code, leading to these errors.

I would imagine the affected file is a standard WordPress file and can just be replaced by one from the original archive of the same version, but I don't know enough about WP to confirm that.

//edit: I would also check that the FTP permissions on the wp-includes folder are NOT set to 777. If they are, change it to 755.


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 13:14 
User avatar
Goth

Joined: 31st Mar, 2008
Posts: 3742
Ta all. I think permissions are at 755. I'll have a look through the files to see what appears broked.

_________________
Image


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sat Jun 19, 2010 22:23 
User avatar
Goth

Joined: 31st Mar, 2008
Posts: 3742
Don't know why I created such a fuss. Editing the last couple of lines in two files sorted the problem. Tsk.

_________________
Image


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sun Jun 20, 2010 8:39 
User avatar
Bouncing Hedgehog

Joined: 27th Mar, 2008
Posts: 26072
Which version of wordpress are you using, Nirejhenge? I know one from a few months back was thought to have quite a few security issues. A friend of mine had someone hack into her site and place some code that automatically changed links that she posted to spam URLs. This seemed to have gone on for quite a while before she noticed, I guess as people don't always click their own links once they publish a post, so just check that isn't happening to you.

The new Wordpress 3.0 came out a few days ago, so it might be worth updating your version if it is getting on a bit.

_________________
Image


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sun Jun 20, 2010 10:14 
User avatar
Excellent Member

Joined: 16th Jun, 2010
Posts: 75
Location: Split my time between Craggy Island and Barry Island. I like a funfair.
Did you recently update to the new WP version?


Top
 Profile  
 
 Post subject: Re: My wordpress site broked!
PostPosted: Sun Jun 20, 2010 11:26 
User avatar
Goth

Joined: 31st Mar, 2008
Posts: 3742
I'm still using the previous version of WP at the minute. I'm just a little scared it will break my theme..

To be fair that's more a problem for Erant Splendens which has had quite a bit of customisation.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Columbo and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC. RIP, Dimmers.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.