elvin66 Mon Mar 30, 2009 2:06 am
I must apologise for my non response to your last question. I read you post and responded, and I have been waiting for days and days for you to respond to my posting, so I just went and checked out the forum and found my post never got published. Please accept my sincere apologies for this misshap.
As for my response, I never did get it sorted out. If you go to
http://www.elepho.com/login you can register an account and see if you get an email but I don't think you will. I will upgrade you to admin so you can see what is happening in that area as well.
What I really need to sort out, is I have installed WampServer 2.0 and I need to be able to test this login script locally rather than upload scripts all night long. My problem is, I can get normal php scripts working on localhost buy the script will not. I think it is a problem with my database but can't locate the actual problem.
When I run the main.php (which is now index.php) I get a bunch of code from one of the scripts, then below that I see my login script, then a few php errors. This is just a portion of the crap I see on my screen...
time = time(); $this->startSession(); } /** * startSession - Performs all the actions necessary to * initialize this session object. Tries to determine if the * the user has logged in already, and sets the variables * accordingly. Also takes advantage of this page load to * update the active visitors tables. */ function startSession(){ global $database; //The database connection session_start(); //Tell PHP to start the session /* Determine if user is logged in */ $this->logged_in = $this->checkLogin(); /** * Set guest value to users not logged in, and update * active
Any ideas ? On how to debug my local database conncetion ?