Sublime directory Surf the web anonymous Pagerank Monitor


Problem with access_page()

g0ats
Fri 29 December 2006, 11:49 pm GMT +0100
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?

olaf
Sat 30 December 2006, 12:01 am GMT +0100
I have no idea :D

please wait one more day I need to upload a new version first

g0ats
Sat 30 December 2006, 01:23 am GMT +0100
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.

olaf
Sat 30 December 2006, 08:46 am GMT +0100
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.


I think this function is documented enough...

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional