
Russell - 2006-08-01 05:12:30 -
In reply to message 13 from Georgi Momchilov
Hi. I was also having trouble with this class. I was able to solve it though. I hope this helps someone.
My problem was that the user in phpbb that I was using was inactive. The function session_begin() automatically sets the user id to -1 (anonymous) whenever the user id given is an inactive account. This usually happens when users are not automatically. What I did was I changed the user table, set the user i want to use to be active. After that the script worked fine for me. I know this setting can be changed somewhere in the admin panel, in the user administration page.