Now I am getting this message? Help please.
Warning: require_once(/home/content/87/11912787/html/wp-includes/wp-db.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/87/11912787/html/wp-includes/load.php on line 345
Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/87/11912787/html/wp-includes/wp-db.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/87/11912787/html/wp-includes/load.php on line 345
Go Daddy are saying that my site may be dead. There are a lot of files missing and as I have no back up we can not restore it back. Can anyone please help? I am going out of my mind here. Surely there is something that can be done?
Thanks
Try downloading a fresh copy of WordPress first. Unzip all the files, and then upload/overwrite everything on your server EXCEPT the wp-content directory.
That should at least put all necessary files back in place.
Download it through the hosting yes?
Right okay they are now uploaded and the missing files are back however still getting the same error message on site.
Which one? This one?
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'wpelitedb'@'188.121.41.215' (using password: YES) in /home/content/87/11912787/html/wp-includes/wp-db.php on line 1409
You said you changed the password. Which password do you mean exactly? If it’s the database password, you also have to change it in your wp-config.php file.
No this one
Warning: require_once(/home/content/87/11912787/html/wp-includes/wp-db.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/87/11912787/html/wp-includes/load.php on line 345
Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/87/11912787/html/wp-includes/wp-db.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/87/11912787/html/wp-includes/load.php on line 345
The password is a seperate issue which we can come back to however this second incident is the major concern at the moment.
Okay I think I may have managed to sort that out now but we are now back to the original issue with the username and password.
So you changed the password via the hosting (I’m not sure what that means though), but did you also change the password in your wp-config.php file?
Is there anything else you changed via the hosting?
Did both yes and they also confirm the username and password is set up as it should be.
They are saying the site is just randomly throwing out errors and apparently the coding needs to be looked at? That is likely their way of saying they dont know whats wrong.
Would it be something related to the lines in the folders? For example this line /home/content/87/11912787/html/wp-includes/load.php on line 345 reads
$wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST );
By the way this is the current message I have on screen which is a little different to what it originally was.
Notice: Use of undefined constant DB_HOST – assumed ‘DB_HOST’ in /home/content/87/11912787/html/wp-includes/load.php on line 352
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘DB_HOST’ (0) in /home/content/87/11912787/html/wp-includes/wp-db.php on line 1409
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at DB_HOST. This could mean your host’s database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
The only thing I can make out of this, is that the info you have in your wp-config.php file (database, user and password) doesn’t match the info on your server.
It’s possible you made a typo, so it may be helpful to change the password again on both sides (server and wp-config).