Hi,
Please dont mind me writing a new post. I got through a lot of phpbb issues and I thought it's only fair to write a new post for my new issue.
I installed phpbb. It's all working fine. The only problem I have now is that I cant login into phpbb.
-
When I login into Drupal and try accessing the forum, I will get the login page of phpbb.
-
When I click login directly at phpbb/forum, I get the login page of drupal.
I know that they both are now connected but I cant get this one thing working. Please help me.
I am not able to login into phpbb3 using the super user (phpbb super user that I created while installing phpbb)
Your help is greatly appreciated.
Thanks,
Nithin.
PS:- By the way, For the cookie settings, I have kept it as localhost itself, as I am installing in my local machine. I dont know if I should leave it blank.
Comments
I tried debugging and this is the result.
When I log into Drupal, I have only one set of Cookie. Here it is
SESS421aa90e079fa326b6494f812ad13e79
t0umklm764sfi2oa3iqudm8ps1
localhost/
1024
656672512
29916728
2323739984
29912071
*
Am I not suppose to have _u, _k and _sid?
When I log into forum, I have cookie with _u, _k and _sid.
phpbb3_ouo2b_u
1
localhost/
9216
660693888
29985497
2933579984
29912071
*
phpbb3_ouo2b_k
localhost/
9216
660693888
29985497
2933579984
29912071
*
phpbb3_ouo2b_sid
42652407d086551ba02c5d2ef8e7c426
localhost/
9216
660693888
29985497
2933739984
29912071
*
Now, they aren't the same and I do have 2 sets of cookies. I checked the domain and the path. They do match. After I logout from Drupal, cookies are not even deleted.
What might be the problem?
Thanks in advance.
Make sure that if you set
Make sure that if you set the domain name to www.domain.com, then you view the forum with the www prefix. If you set the domain name to just domain.com, you have to view the forum without the www prefix. I had a similar problem and found that I had to have the www in the browser when I was viewing the forum for it to work. So I put some htaccess code in my public_html folder to ensure that the www prefix was always used.
RewriteCond %{HTTP_HOST} ^domain.com [NC]RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
See if that fixes it.
Thanks one and all
I had a problem with the Cookie settings in phpbb. I set it to blank and it worked.
Thank you.