Garik187
Member
Posted 2 years ago #
Hello folks. Just a few hours ago i noticed that all of my websites don't work and all i see instead of my sites are these errors:
Parse error: syntax error, unexpected $end in /home/m57755/public_html/videofreak.ru/wp-settings.php on line 141
Parse error: syntax error, unexpected $end in /home/m57755/public_html/calimusic.ru/wp-settings.php on line 141
Parse error: syntax error, unexpected $end in /home/m57755/public_html/warezfreak.ru/wp-settings.php on line 136
Please tell me anybody what's wrong? What could it be? I'm worrying about that of course and i think that somebody hacked my sites? My hosting company told me that they sell their company to some other company. So what you guys think? Could it be the moving from one server to another and cause this problem?
Please anybody help!
Thank you in advance!
It could be a hack but start with the easy things first. Maybe your installation was damaged somehow.
Backup your files and database NOW.
http://codex.wordpress.org/WordPress_Backups
http://codex.wordpress.org/Backing_Up_Your_Database
Download and copy on a fresh copy of WordPress
http://wordpress.org/download/
Check your wp-config.php for any additions.
Once that's done re-visit your blog and see if it's back. If something really bad happens restore your files and database from your backup. That won't fix the problem but at least you'll be back to square one.
http://codex.wordpress.org/Restoring_Your_Database_From_Backup
And if it turns out to have been a hack give this and it's list of links a good read
http://codex.wordpress.org/FAQ_My_site_was_hacked
Good luck.
Garik187
Member
Posted 2 years ago #
the problem is that all of my 6 sites are down, how can installation be damaged on all 6 sites?
Don't know. You could be hacked. Or each of those sites are symlinked to the same damaged files. wp-settings.php is complaining but that might be because an included file such as wp-config.php is broken.
You don't have a /home/m57755/public_html/wp-config.php file do you?
It's a guess on my part, without seeing the logs or the actual files I'm just shooting in the dark. Either way you should do the backup and try to repair or follow the hacked site FAQ.
Garik187
Member
Posted 2 years ago #
hey jdembowski what logs do you mean and where can i get them?
On your Apache2 webserver there should be a /var/log/apache2/error.log with info in it. If PHP is tossing errors then it would be there.
Since you are on a shared host you'll have to ask your provider for a copy. There is a way to have PHP log errors to where you can look at it via your .htaccess file:
php_flag log_errors on
php_value error_log /home/m57755/PHP_errors.log
See if that works for you.