1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please I Need Quick Help From Wordpress Experts!

Discussion in 'Blogging' started by T2tkid, Dec 12, 2012.

  1. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Please my website is showing this "Error establishing a database connection" and i was to repair it by performing this "To allow use of this page to automatically repair database problems, please add the followingline to your wp-config.php file. Once this line is added to your config, reload this page. define('WP_ALLOW_REPAIR', true);" please i don't know what to do or how to do it. Please i need urgent help.
     
  2. livecrunch

    livecrunch Registered Member

    Joined:
    Oct 1, 2009
    Messages:
    74
    Likes Received:
    26
    Basically it's telling you that wp can't connect to database...
    why?
    - wrong user..pwd...
    - localhost?
    - prefix is screwed up?
    - did u try removing that or instead of true make it false?
     
    • Thanks Thanks x 1
  3. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Please where can i correct that? Can i send you my Details? I really don't know much about wordpress probs. When trying to login to my wp-admin panel i get this "One or more database tables are unavailable. The database may need to be repaired "
     
  4. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    Do you have a database backup made (I don't think so)?

    Check the spellings in dbconn.php and wp-config.php
    check the phpmyadmin from your cpanel > related databases

    check your login username and password for any spelling mistakes (cancel this --- this won't be helpful in your particular situation though :))

    See this:
    Code:
    [URL]http://wordpress.org/tags/error-establishing-a-database-connection[/URL]
     
    • Thanks Thanks x 1
    Last edited: Dec 12, 2012
  5. Seo Lover

    Seo Lover Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jan 30, 2011
    Messages:
    5,695
    Likes Received:
    4,126
    Gender:
    Male
    Occupation:
    Hanging Around Interwebs !
    Location:
    <-----------------Sin City
    Try contacting your Hosting support .
    They will try to fix it for you .


    Sent from my GT-I9300 using Tapatalk 2
     
    • Thanks Thanks x 1
  6. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Thanks srb888 just stuck on what to do or don't know what to do.Yeah, i have send them a ticket still waiting for their respond.
     
  7. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    You can easily check on it yourself. You won't create more problems and it would be a good learning experience for you. :) Try fixing it yourself if your hosting support staff is a bit slow always.
     
    • Thanks Thanks x 1
  8. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,311
    Likes Received:
    1,387
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
    I would guess that something changed, like you changed the cPanel password, or something along those lines.

    In the wp-config.php file in the root directory are the database connection settings. Something in there might not be connecting correctly.

    If you have another WP site and that ones working, you can ignore my thoughts since your database might be corrupt and that's outside of my wheelhouse.
     
    • Thanks Thanks x 1
  9. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    P.S.:

    See this article. It looks well-suited for you and you can follow it easily. Very new-learner-friendly for WP users. -->

    Code:
    [URL]http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/[/URL]
     
    • Thanks Thanks x 1
  10. hellblog

    hellblog Newbie

    Joined:
    Sep 27, 2012
    Messages:
    29
    Likes Received:
    2
    Yeah its always the host when its error connecting to db...

    Skype me: hell.blog - If u see othr problems with wp or if u need help and i'll try my best to helpout! :)

    Sent from my GT-I9300 using Tapatalk 2
     
    • Thanks Thanks x 1
  11. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    Wrong. :D
     
    • Thanks Thanks x 1
  12. argh11

    argh11 Regular Member

    Joined:
    Jul 14, 2011
    Messages:
    307
    Likes Received:
    116
    Location:
    USA
    Like others said your best bet is to let your hosting provider take a look at it. If you still need help I have done some things with WP and databases and can help you take a look at it.

    -argh11
     
    • Thanks Thanks x 1
  13. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Thanks all for you advice, other websites hosted on it are still working, i would have loved to learn how to fix this myself, but this is my ONLY money site, and i don't have the database backup, it is being hours and am still waiting for my host reply. Pleas srb888 can you take a look? I have read all the links you gave me. Thanks.
     
  14. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    OK, send me the PM and I'll check it for you. :) I will create those back ups for you and send them to you. You can then change password after.
     
    • Thanks Thanks x 1
  15. Ravinostradamus

    Ravinostradamus Regular Member

    Joined:
    Jun 2, 2012
    Messages:
    210
    Likes Received:
    91
    Occupation:
    Vehla
    Location:
    Chandigarh
    I got the same once when i was on free hosting. And that time server was down....

    Check if same happened to you.
     
  16. hellblog

    hellblog Newbie

    Joined:
    Sep 27, 2012
    Messages:
    29
    Likes Received:
    2
    atleast wht i've seen with my 25 sites running wp :) Cant be completely wrong eh? :p

    Sent from my GT-I9300 using Tapatalk 2
     
  17. First Edition

    First Edition Newbie

    Joined:
    Aug 1, 2012
    Messages:
    33
    Likes Received:
    4
    Occupation:
    MadHatter
    I've actually had this exact issue happen with a wordpress site before... I was using hostgator, and the rep in the chat fixed it in about 5 minutes. That might not help (because I don't know what he did), but, I will always use hostgator because they don't mess around with tickets like this.
     
  18. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    Okay, the problem is in the server. I am getting a db connection error while the back-end isn't connecting at all.

    Contact your hosting support throgh their chat and they will be able to sort it immediately. Shouldn't be a major problem for them. If you're able to connect to the cpanel and ar still facing the db problem, I can help then.

    Please change your passwords as soon as you are able to connect and make them very hard for others (including me :) ).
    .
     
    • Thanks Thanks x 2
  19. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    I can see that your site was working at least 24 hours ago but not working during the last hour, It was also indexed by Google in last 24 hours. So the server must be facing problems. Do you have other sites there? If so, are you able to open them now?

    Call your hosting support and also request them to check for any malware...
     
  20. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    I have contacted my hosting support and i have other websites hosted on the same plan, they open very well. Let me chat with them. Thanks for everything.