briging coppermine with mybb 1.4 login problems briging coppermine with mybb 1.4 login problems
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

briging coppermine with mybb 1.4 login problems

Started by mbalire, June 22, 2010, 11:16:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mbalire

i have briged coppermine with mybb 1.4 but i have failed to login to coppermine as admin
so any one can help me am suck
this is my url:http://www.weddingz.tv/

mbalire

i have failed to login to coppermine as admin after bridging but it can login as admin in mybb

Coppermine install:http://weddingz.tv/gallery/
Bridging app install:http://weddingz.tv/forum/
Coppermine version: cpg1.5.0
Bridging app version: mybb1.4
Test user account: mbalireandrew / andrewmbalire

BridgeManager settings:
Bridge app URL:http://weddingz.tv/forum/
Relative path to your bridge app's config file:  ../inc/
Cookie name or prefix:  forum

Joachim Müller

Actual link to your gallery is http://weddingz.tv/gallery/
Read When requesting bridge support - must read! and do as suggested there.
[Edit] After reading your second posting I can see that you have done there as you should. However, you're not supposed to double-post. I have merged your threads. [/Edit]

mbalire


Joachim Müller

Quote from: mbalire on June 22, 2010, 11:50:24 AMCoppermine install:http://weddingz.tv/gallery/
Actual, clickable link is http://weddingz.tv/gallery/
Quote from: mbalire on June 22, 2010, 11:50:24 AMBridging app install:http://weddingz.tv/forum/
Actual, clickable link is http://weddingz.tv/forum/
Quote from: mbalire on June 22, 2010, 11:50:24 AMCoppermine version: cpg1.5.0
That's not true. You're using cpg1.5.6, not cpg1.5.0


You have set the cookie path in your forum to be /forum/. Subsequently, Coppermine won't be able to read that cookie. Review your forum's cookie settings - set the cookie path to /

Please write in plain English if you can.

mbalire

how can change the cookie path and which cookie path should i change is it for coppermine or mybb

Joachim Müller

I already told you that you need to change your forum's cookie path. I have no idea how that is done in detail, as I don't know your forum software - it's a third-party product to me. Refer to your forum's documentation or ask on the support board for your forum app if you have no idea how to accomplish this. Coppermine needs to be able to read the cookie that is being set by your forum. If that cookie is only readable for applications that reside in the folder /forum/ (seen from the web root), then coppermine won't be able to read that cookie, as it doesn't reside within that folder. You need to change this, i.e. your forum's cookie path needs to be set to "/" (witout the quotes), i.e. just to the web root. If this will be the case, both coppermine as well as your forum will be able to read the cookie, which is what we're trying to achieve here.

fabo92

Sorry if I intrude in the discussion, but I set the cookie path to /forum/ and it work without problem...

The problem I think it's the relative path to the config file, which should be "../forum/inc/".

mbalire

i have bridged both coppermine 1.5.6 with  mybb 1.4 but when you logout of the it still remain login


coppermine url; http://www.weddingz.tv/gallery


mybb url:http://www.weddingz.tv/forum

username admin password admin

version:coppermine is 1.5.6  mybb is 1.4
cookie path  /



Joachim Müller

Quote from: fabo92 on June 22, 2010, 02:34:37 PMI set the cookie path to /forum/ and it work without problem...
I don't think that this will work...

Quote from: fabo92 on June 22, 2010, 02:34:37 PMThe problem I think it's the relative path to the config file, which should be "../forum/inc/".
You're of course right, the relative path is wrong as well in mbalire's bridge manager setup.

Quote from: mbalire on June 22, 2010, 03:33:06 PM
i have bridged both coppermine 1.5.6 with  mybb 1.4 but when you logout of the it still remain login


coppermine url; http://www.weddingz.tv/gallery


mybb url:http://www.weddingz.tv/forum

username admin password ******

version:coppermine is 1.5.6  mybb is 1.4
cookie path  /



This is the last time that I'm merging your extra postings with the existing one. Posting an admin account is extra silly and uncalled for and will lead to you getting hacked in not time. My patience is at end with you, that's why I'm no longer cleaning up behind you. You are constantly ignoring my advice, board rules and common sense. Your next misbehaviour will result in a ban.

fabo92

Ops, I'm sorry: in my case it works because the gallery is in the forum folder, I think.

Joachim Müller

...which is a silly setup and not recommended. It doesn't help the thread starter if you have a different setup than he has got. I understand that you're trying to help, but this discussion doesn't get us very far. Just as a clarification to others: do not move your gallery into the forum folder - that's a bad idea and a needless way to make things more complicated than they actually are.  I think the explanation I have posted above about the need to edit the forum application's settings (usually using a user interface built into that app) to get the cookie path right should be enough. Let's end the talk about your forum and return back to mbalire's issues.