Topic: Problem with access_page() (Read 1835 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Dec 29, 2006, 11:49:31 pm »
After installing access_user, I successfully registered a new account but whenever I login I get bounced back to login.php.
It is loading MAIN_PAGE, or start.php but the $page_protect = access_page(); is apparently bouncing me back to login.php
When I comment out that line, but leave in the $page_protect = get_user_info(); I get the following series of errors:
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 7 in /var/www/classes/access_user/access_user_class.php on line 216 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 7 in /var/www/classes/access_user/access_user_class.php on line 217 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 7 in /var/www/classes/access_user/access_user_class.php on line 218 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 7 in /var/www/classes/access_user/access_user_class.php on line 219
Upon querying the database, it appears all information is there as it should be. What am I doing wrong?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Dec 30, 2006, 12:01:16 am »
I have no idea
please wait one more day I need to upload a new version first
Google dot what?
Posts: 2
16 credits Members referred : 0
« Reply #2 on: Dec 30, 2006, 01:23:12 am »
it was simple, define("USE_MYSQL_SESSIONS", true);, was the entire problem.
By changing it to: define("USE_MYSQL_SESSIONS", false);
the problem was solved.
« Last Edit: Dec 30, 2006, 02:46:31 am by g0ats »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374