Topic: Accessing user data without protecting page (Read 1003 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Jan 10, 2009, 02:38:52 am »
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
Google dot what?
Posts: 2
16 credits Members referred : 0
« Reply #1 on: Jan 10, 2009, 04:54:53 am »
Forget it - figured it out - thanx
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5659
45587 credits Members referred : 3
« Reply #2 on: Jan 11, 2009, 01:32:53 am »
That's the fastest support thread ever seen in webdigity
Google dot what?
Posts: 2
16 credits Members referred : 0
« Reply #3 on: Apr 21, 2009, 09:12:24 pm »
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
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=8370