• Resolved eazyjay

    (@eazyjay)


    Hello,

    I’ve had some problems with my site, one of them was that my background wouldnt work anymore. I got the tip to go and disable active plugins ‘couse it would be a problem in one of them. I did this but i accedently also disable my backup plugin and that wouldnt back up anymore, so now i had the problem that my whole site wasn’t working anymore.

    I than reactivated all plugins that i used. Every thing seemed to work again (even the background that first didnt) accept for 1 thing… and that is ALL of my products 🙁 when ever i clicked on a product it gave me a 404 error.

    Than i tried to restore the whole site using dreamweaver. This didn’t help a bit. I tried to restore my site with the restore plugin i was using, and all of a sudden my whole site is now offline.

    i get an database error. when you go to my website (www.totalconsole.nl) it will say this: Fout bij het maken van de databaseconnectie (this means that there is an error creating the database connection) when i go to my site /wp-admin it tells me one or more database tables arn’t available and i can click an link to repare this problem. it than tells me to add this line: define('WP_ALLOW_REPAIR', true); to my wp-config.php. I did so, and after i cliked repair. It says it is all repaired and tells me to remove the code again. But nothing is changed and my site still wont work

    can anybody please help me??

Viewing 15 replies - 1 through 15 (of 26 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Double-check your database connection details in your wp-config.php file. If they are indeed correct, ask your hosting provider why your database is offline or why your database user cannot connect to it.

    Thread Starter eazyjay

    (@eazyjay)

    In my wp-config file i have the following codes:

    define('DB_NAME', 'myname_DB');
    define('DB_USER', 'myuser_admin');
    define('DB_PASSWORD', 'mypassword');

    Do i need to remove this _DB and this _admin?

    ps. Thanks 😀

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Well, they should be what your database name, database user, and database password are. You don’t need to remove them.

    Are they correct (and just censored here for security)?

    Thread Starter eazyjay

    (@eazyjay)

    Yes i censored them here for securtiy, accept for the _DB and the _admin.

    I’ve tried it with and without the _DB and the _admin but that doesn’t change anything. So i’ll ask my hosting provider about it. Is there a way that i can check what my database connection details should be?

    Ps. I never changed anything in the wp-config file.

    thanks (:

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Usually, you can double-check your database connection details in your hosting provider’s control panel, but that’s as specific as I can really get because they’re all very different.

    Thread Starter eazyjay

    (@eazyjay)

    Thank you verry much, I found the details in my provider’s control paner, and these are the same as in my wp-config.

    So now i’ll send them an email and hope that they can help me

    Thanks again for your help and i hope it is gonna be fixed ^^

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome! I hope they can help, they should be able to.

    Thread Starter eazyjay

    (@eazyjay)

    I have mailed my hosting provider about the problem. They told me my information is correct and that i should have a database connection but that something else is wrong 🙁

    Does anybody have an idea what this might be?

    They are advising me to reinstall wordpress, but if i do i lose all of my 300 products and all my plugins right?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter eazyjay

    (@eazyjay)

    So if i get this correctly, i just download the wpconfig.php and the whole map wp-content from my site to my computer for backup, than i empty my whole site, put wordpress back on it by the downloadlink you send me, and than upload the wpconfig.php and the wp-content map back on the site and than everything should be the way it was?

    Or do i badly f*** up my site by doing it this way, and i really have to download wordpress and replace my copies of everything except wp-config.php and /wp-content/ or delete everything manually accept wpconfig and wpcontent?

    Thanks again for your help (:

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    and i really have to download wordpress and replace my copies of everything except wp-config.php and /wp-content/ or delete everything manually accept wpconfig and wpcontent?

    Yes, you really should do it as I described above.

    Thread Starter eazyjay

    (@eazyjay)

    Still doesn’t work D:

    I followed all you steps, i downloaded wordpress again i deleted all copy files of what i downloaded from my site accept wp-config.php, /wp-content/ and everything else that wasn’t inside the download, at this point i even checked my site and it was just a forbidden page. And thanhan i reuploaded all the files from the new wordpress download accept for the /wp-content/. But after all that i still get the same error 🙁

    I just contacted my hosting provider about it and i’ll let you guys know what they responed as soon i hear something from them.

    In the mean time, any other solutions?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Yeah, at this point I’d love be to hear what your hosting provider says. I’m out of educated guesses, and they have the right tools to dig a bit deeper than we can.

    Thread Starter eazyjay

    (@eazyjay)

    Wow it’s unbelievable….

    After mailen my provider yesterday, they send me a mail back containing this:
    _______________________________________________________________________

    You can now login with the following information:

    http://www.totalconsole.nl/wp-admin
    usernam: ***
    password: ***

    This is a fresh installation.

    _______________________________________________________________________

    So i checked it and they just deleted everything off my site and put a new wordpress on it… already send an angry mail, just unbelievable 0.0 im just lucky i made an backup yesterday! so i still have every thing bunch of f*** ups.

    Well lets continue searching the problem

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    That’s pretty terrible, I’m glad you had a backup!

    Have you heard back from them yet, hopefully from someone who’s a bit more competent? We don’t need WP installed, just someone with the access to see what’s going on under the hood.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Help please! my site is destroyed by wordpress D: ( database error)’ is closed to new replies.