View Single Post
Old 06-08-2003, 04:02 AM  
Tipsy
Confirmed User
 
Join Date: Jul 2001
Location: See sig
Posts: 6,989
Quote:
Originally posted by SpaceAce


Speaking of which, you hardcoded the database host/user/pass into sql.php and there was an error in common.inc that was causing the script to fail every time because it couldn't load cm_db.inc. I changed the copy I downloaded so sql.php takes values from cm_db.inc for creating the tables and I took care of the problem with loading cm_db.inc in common.inc but it still doesn't work. For some reason, $_SERVER['PHP_AUTH_USER'] is always equal to null so the script always rejects my authentication because it has nothing to check against the users table. I know this probably has nothing to do with your port but I am hoping someone else might have a solution.

SpaceAce
Yes but I can't remember what I done to it now. I think there's 2 or 3 places it chucks that error so in the end I simply added an if (blahblah = NULL) where the error occurred. Hope that makes sense because I don't think I commented where I made the change which would make it tough to find again.
__________________
Ignorance is never bliss.
Tipsy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote