WeBBy
Sat 10 January 2009, 01:38 am GMT +0100
Fisrt, I have been using this class for a long time on many different sites and it is the easiest and best I have found anywhere. It can easily be modified to do almost anything (except my present question). Anyway, great script.
I have certain pages that require the visitor to be logged in while other pages do not. On those "not required" pages, I still want to maintain the $user so that the page can be someone customized. THis should be a simple feat, but I have yet to be able to get_user_info() without protecting the page.
Any help would be appreciated. Thanx :D
WeBBy
Sat 10 January 2009, 03:54 am GMT +0100
Forget it - figured it out - thanx :D
Nikolas
Sun 11 January 2009, 12:32 am GMT +0100
That's the fastest support thread ever seen in webdigity :)
BTW welcome aboard WeBBy
trialnoerror
Tue 21 April 2009, 08:12 pm GMT +0200
Not sure if this is the official forum for this issue, but to reiterate...
Hi there,
I just stumbled on this login script and I'm trying to install and test but I'm getting the following errors:
Warning: include_once(/home2/equalize/public_html/classes/PHPMailer/class.phpmailer.php) [function.include-once]: failed to open stream: No such file or directory in /home2/equalize/public_html/classes/access_user/db_config.php on line 57
Warning: include_once() [function.include]: Failed opening '/home2/equalize/public_html/classes/PHPMailer/class.phpmailer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/equalize/public_html/classes/access_user/db_config.php on line 57
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home2/equalize/public_html/classes/db.php: in /home2/equalize/public_html/classes/access_user/access_user_class.php on line 31
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/equalize/public_html/classes/db.php: in /home2/equalize/public_html/classes/access_user/access_user_class.php on line 31
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in /home2/equalize/public_html/classes/access_user/access_user_class.php on line 136
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'equalize'@'localhost' (using password: NO) in /home2/equalize/public_html/classes/access_user/access_user_class.php on line 137
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home2/equalize/public_html/classes/access_user/access_user_class.php on line 137
=========
Can anyone please tell me how to fix this? I basically have the class folder in public_html/ but I haven't changed the paths anywhere as I assumed they were all in the right location since they call /classes/... Any ideas on what path I should be changing them to? Eventually, once working, I have two subdomains that both require separate login systems, though I'm not sure how to achieve this, any ideas?
Thanks so much for any and all responses!
Robbie