Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-20-2006, 08:39 PM   PM User | #1
craighowarth
New Coder

 
Join Date: Jul 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
craighowarth is an unknown quantity at this point
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...

Quote:
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..
craighowarth is offline   Reply With Quote
Old 11-20-2006, 09:44 PM   PM User | #2
craighowarth
New Coder

 
Join Date: Jul 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
craighowarth is an unknown quantity at this point
Anyone got any ideas?

I'm completely lost
craighowarth is offline   Reply With Quote
Old 11-20-2006, 09:53 PM   PM User | #3
CFMaBiSmAd
Senior Coder

 
CFMaBiSmAd's Avatar
 
Join Date: Oct 2006
Location: Denver, Colorado USA
Posts: 2,712
Thanks: 2
Thanked 251 Times in 243 Posts
CFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the rough
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.
CFMaBiSmAd is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:29 PM.


Advertisement
Log in to turn off these ads.