Page 1 of 1
Phpbbx Login Problem
Posted: Mon Jan 14, 2008 6:57 am
by The Confirmer
Greetings,
When I create a CMS feu account then use the phpbbx tag to redirect to the phpbbx forum, no one gets logged in.
I think there is something wrong with sessions settings but I'm not sure how to fix this. I did a full forum search and can't find any results with this error.
*
January 13, 2008, 10:39 pm
user data obtained
board config obtained
user is registered
No logged-in user 8 in the sessions table.
Failed to find logged-out user 8 in the sessions table. Going to forum without login.
Error creating session for user 8. SQL:
INSERT INTO sessions
(session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin)
VALUES ('20bfdec4d2030ce40aebcb877965ace0', 8, , , '7f000001', 0, 1, 0)
*
Please help me if possible, thanks you.
*I can also provide any other logs or information.
Re: Phpbbx Login Problem
Posted: Mon Jan 14, 2008 6:13 pm
by The Confirmer
Dang, I tried reading all the search results again, about 2 pages.
Nothing cleared this up for me, shoot.
Even a hint would help me solve this.
I just reconfigured and reinstalled. The same exact error pops up in the logs.
From the logs, the database connection is fine. Changing the prefix of the database in the phpbbx tag and no user data is pulled in the logs so my Database is fine. The location dir is working too. The forums are working and frontend users is working fine it seems.
The problem has to be in my settings. But I have tried all default settings on reinstall and changed my session settings many times. I always get the same log error.
Re: Phpbbx Login Problem
Posted: Mon Jan 14, 2008 10:54 pm
by Dr.CSS
What ver. of CMSMS and is it the Phpbbx module if so what ver.?...
Re: Phpbbx Login Problem
Posted: Mon Jan 14, 2008 11:38 pm
by The Confirmer
I'm using phpbbx version 0.2 beta 1
I had to mod it by replacing the 7 or so lines of code like instructed to do in another post.
CMSMS version is the current one. v1.2.3
I also checked my session path in apache/bin/php.ini
Are there any other places I should check the session settings?
Re: Phpbbx Login Problem
Posted: Tue Jan 15, 2008 1:27 am
by The Confirmer
Here are my phpinfo() session settings.
http://img138.imageshack.us/my.php?imag ... ngsoj7.png
*For those settings I now have use_cookie on but I have tried it both ways and still the same error.
I just don't understand, when I install cmsms it says I pass all tests and even Joomla says I pass session php settings test as well....
Re: Phpbbx Login Problem
Posted: Tue Jan 15, 2008 6:43 am
by Dr.CSS
Is the Phpbbx a CMSMS module and if it is is it compatible with the latest ver. of CMSMS?...
Re: Phpbbx Login Problem
Posted: Tue Jan 15, 2008 9:52 am
by The Confirmer
Thanks for the help Mark. I realise this could be related to my php settings so I appreciate the help.
Yes the phpbbx version I listed above is the version I downloaded from the forge here. It's the phpbbx tag not module, sorry my bad. Then I had to modify the plugin file to get it to work by following directions in the phpbbx $db code thread. They tell you to replace the 7 lines of code and it works up to the point shown in the logs.
From the log settings it connects to the database because when I replace the phpbb_ prefix in the tag, the log file has an error much earlier. It says "can't get user or board config" so I know the correct database prefix is in the tag. Then I know the dir is correct in the tag because you get redirected to the correct page. If the tag is wrong a different error is shown.
I do think its php settings having to do with sessions/cookies and the database is confused. I'm just not sure how to debug this any further so I posted here. It's just strange the install passes all tests on set up of any CMS, so I'm fairly sure the majority of settings are correct. The only test the install wont pass is pretty urls are not configured.