Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-26-2006, 01:40 PM
New Pligger
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
SQL Error on Login Page After OK Install

I'm having a really wierd problem with the SQL tie-in to beta 7. After a successful install, I get the generic SQL/DB Error -- [
Error establishing a database connection!
Are you sure you have the correct user/password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?

when opening the admin login page. I've double and triple checked the dbconnect.php file for the correct db, user and pw but it still won't work. I do know for a fact that MySQL is up and running correctly as there's another db on the site that works perfectly.

Anyone seen this or could offer some help? Even something that would allow me to get a more detailed error message would help. Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-26-2006, 01:43 PM
New Pligger
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
PHP 5.0.4 and MySQL 4.1.16 running on Fedora core 4 if it matters.
Reply With Quote
  #3 (permalink)  
Old 04-26-2006, 04:04 PM
New Pligger
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Problem fixed by statically defining database info in db.php instead of having it pull from dbconnect.php(which had the same info ironically). AshDigg, do you have any thoughts on what it might have been? I can't imagine that the way variables are referenced would have changed after an upgrade to PHP and MySQL...
Reply With Quote
  #4 (permalink)  
Old 09-18-2006, 09:23 AM
New Pligger
 
Join Date: Sep 2006
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
I am having a similar problem. Could you please tell me exactly where to insert the info into db.php?
Reply With Quote
Reply

Thread Tools
Display Modes
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
admin_index.php is a blank page and after submiting user login form - blank. mosko General Help 5 11-09-2007 10:32 AM
Login and refresh page problems sanmi1234 General Help 3 07-15-2007 04:25 PM
Can not get to the admin_index.php page after install timbednar Installation and Upgrade Help 11 07-24-2006 08:05 PM
Can't get to the admin login page Matrix_Prime Installation and Upgrade Help 3 06-27-2006 08:01 PM
initial install. trying to login to admin_index.php getting redirected to 404 page Rodney Installation and Upgrade Help 3 04-19-2006 03:04 PM


Search Engine Friendly URLs by vBSEO 3.2.0