Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Critically Important...

    Hey Guys and Gals!

    I'm helping an internet for get back online after a PHP coding error, I fixed the code, then I got this...

    phpBB : Critical Error

    Could not connect to the database
    So I checked the .config file, and that is fine. So I emailed the hosts and told them to restart the database servers. They have done that.

    Yet it still doesn't work

    Any suggestions?...
    Last edited by craighowarth; 11-20-2006 at 09:45 PM.

  • #2
    New Coder
    Join Date
    Jul 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone got any ideas?

    I'm completely lost

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,077
    Thanks
    2
    Thanked 320 Times in 312 Posts
    Check that you can connect to the database through some other means (mysql administrator or phpmyadmin) using your username and password. Also, check in your account control panel to make sure the database, username, or password has not gotten deleted or changed.

    A lot of the security problems with older versions of programs like phpBB is that they allowed sql injection and it is possible to delete tables, databases, and change passwords.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •