Current time: 07-04-2024, 02:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED]White screen instead of login page? Problem with making database connection?
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #6
RE: White screen instead of login page? Problem with making database connection?
It is still dying at the Database connection. I've modified include/sql.php to do:

Code:
echo("About to connect to the database");

@$sql = Database::connect(Config::get('DB_USER'), Config::get('DB_PASS'), Config
::get('DB_TYPE'), Config::get('DB_HOST'), Config::get('DB_NAME'))
        or system_message('ERROR: Unable to connect to SQL server !<br>SQL retur
ned: ' . $sql->ErrorMsg());

echo("Just connected to the database");

I simply get: "About to connect to the database" written to the screen.


Note: I've tried echo'ing out all the config settings being used to connect, and they all show correct values.
(This post was last modified: 08-02-2008 08:21 AM by pgentoo.)
08-02-2008 08:02 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: White screen instead of login page? Problem with making database connection? - pgentoo - 08-02-2008 08:02 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)