My bridging of Coppermine with phpBB 2.0.22 works fine, but it only works when the forum URL in the bridge wizard is in this form: http://mydomain.com/forum, that means WITHOUT "WWW" in the URL. The users can be logged only in URL http://mydomain.com. If I (or the users) rewrite it to http://WWW.mydomain.com, the Coppermine sees them as unlogged, even if they are logged. I don't know if this can cause some problem in future. Maybe it is only an unimportant detail and it is ok this way, I don't know. But better safe then sorry - so the question is: does anybody run into similar difficulties like me? Might be a problem in Coppermine installation or in in the phpBB?
(I can't give you the link to my page yet, it would only confuse you at this time, because I am trying to reinstall the applications and so on... so it's not working now...)
That's how cookies are designed to work. If you want them to work with both then set your forum's cookie domain to .mydomain.com and then clear your cookies.
"set your forum's cookie domain to .mydomain.com" - that means I should write Forum ULR in the Coppermine Bridge Wizard exactly ".mydomain.com", or whre can I change it like this? (I don't see any entry "forum's cookie domain", so I don't know)
When I am logged through Coppermine (www.mygallery.com), the situation goes as follows:
1. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://www.mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : mygallery.com
With this settings I can be logged through the Coppermine only in http://www.mygallery.com and http://www.mygallery/forum
2. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://www.mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : www.mygallery.com
With this settings I can also be logged through the Coppermine only in http://www.mygallery.com and http://www.mygallery/forum
3. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : www.mygallery.com
With this settings I can be logged through the Coppermine only in http://mygallery.com and http://mygallery/forum
I tried another hosting where it works. Maybe because of this: if I rewrite URL www.mygallery.com to mygallery.com it is automatically rewritten back to www.mygallery.com. But I don't want to change webhoster because of that...
(In hosting which I am using - if I rewrite www.mygallery.com to mygallery.com, it remains mygallery.com)
'forum's cookie domain' means the cookie domain that you set in your forum. How to redirect as you describe can easy be learnt by a short google search.
I just find out I have this problem (when users can be logged only on "www.mygallery.com" and not on "mygallery.com" and so on) in Coppermine even without bridging (but only in Coppermine, not phpBB - standalone phpBB works on both).
So the problem will be somewhere in settings of Coppermine, right?
Quote from: Nibbler on January 17, 2008, 08:28:26 PM
'forum's cookie domain' means the cookie domain that you set in your forum.
I know you wrote that, but after that I wrote: I just find out I have this problem in Coppermine even WITHOUT bridging. Only in Coppermine. Standalone phpBB works on both (with "www" or without it). For that reason I thought it means that the problem is somewhere in Coppermine settings.
Quote from: santoro on January 17, 2008, 06:44:39 PM
(I can't give you the link to my page yet, it would only confuse you at this time, because I am trying to reinstall the applications and so on... so it's not working now...)
That's just nonsense. Do as suggested in the sticky thread on this board. Post real links instead of dummy placeholders.