• Hello,

    I have moved a site that was up and running to a new server. The admin comes up perfectly with everything correct, but the site gives my a database connection error.

    Can annyone tell me what I could be doing wrong?

    The MySql DB is used for other sites, so I know MySql is correct. I am using the same login and pwd as the other sites. And, as I mentioned, the wp admin comes up fine.

    Any help would be greatly appreciated.

    Thank you

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

    (@macmanx)

    Contact your hosting provider and confirm that MySQL server is online and the details entered in the wp-config.php file are correct.

    Thread Starter LilMoke

    (@lilmoke)

    Yes James… as I said, I have other sites on the same box as the one I describe connecting to the same MySql server… in fact MySql is on the same box as the sites.

    I have triple checked the setttings in the wp-config.php and they are definetly correct.

    Also, the dasboard works fine… does’nt that use the same settings?

    Any other ideas?

    Thanks

    Moderator James Huff

    (@macmanx)

    Just to be sure, can you quote the error?

    Thread Starter LilMoke

    (@lilmoke)

    Well, I do not get an error… I get a blank window with a http: 500 error. You can see a screen shot here: http://babycareinsider.com/ss.jpg

    Or just visit http://babycareinsider.com that is the wordpress site.

    However, if you go to http://babycareinsider.com/wp-admin/index.php the dashboard works fine.

    Thanks for the help!!

    Moderator James Huff

    (@macmanx)

    That’s not a database connection error.

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via FTP or SFTP and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your FTP or SFTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘cannot bring up my site…’ is closed to new replies.