CPG 1.2/PhpBB2 CPG 1.2/PhpBB2
 

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

CPG 1.2/PhpBB2

Started by antoined, October 31, 2003, 01:37:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

antoined

Hello,
I installed the new Coppermine 1.2 , and it is running correctly. And I integrated it with phpBB2 which is working properly.
Now when i run the integration by uncomment // define('UDB_INTEGRATION', 'phpbb'); to
define('UDB_INTEGRATION', 'phpbb'); ---- the users are recognized but when I click on any link, i have:

""You don't have permission to access this page.""

If i go back and comment define('UDB_INTEGRATION', 'phpbb'); to
// define('UDB_INTEGRATION', 'phpbb');  ---- it works!!!

Any hint please?

Thanks
Antoine

Titooy

Quote from: "README.html"Once you have completed the installation, login using the admin account of your board. Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.

I presume that's the reason of your problem...

antoined

Quote from: "Titooy"
Quote from: "README.html"Once you have completed the installation, login using the admin account of your board. Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.

I presume that's the reason of your problem...

I have the four default Groups, most are set to yes.  Do i have a new group related to the board phpBB2??
 :oops:
Thank you

Joachim Müller

if the integration between cpg and phpbb works correctly, then you should have the same groups in coppermine groups settings as in phpbb. If you don't have a group that exists in phpbb, than your integration doesn't work. Try logging out, delete all cookies and login again (in phpbb).

GauGau

antoined

Quote from: "gaugau"if the integration between cpg and phpbb works correctly, then you should have the same groups in coppermine groups settings as in phpbb. If you don't have a group that exists in phpbb, than your integration doesn't work. Try logging out, delete all cookies and login again (in phpbb).

GauGau

Thanks for your reply,
separetely from phpbb, cpg is working good.
seperately from cpg, php is working good.

I have no Groups in phpbb, and i have the four default in cpg: Admin, registered, Anonymos and banned.

Now when I run the integration , i have the error that I don't have the permission to do this...

What could be the problem?
Thanks
Antoine

Joachim Müller

hard to say without looking into this. Please post links and a test account.

GauGau

antoined

Quote from: "gaugau"hard to say without looking into this. Please post links and a test account.

GauGau

Take a look please:
BOTH ARE DRAFT COPIES (TEST) feel free to test it
http://akkar.com/phpBB2/login.php
admin.  username is akkar and the p. is the same.
Thank you again gaugau
Antoine

Joachim Müller

login is not persistent: if I click around on your gallery I'm not recognized anymore, although I've set up my browser to accept all cookies.
My guess is that you did some strange things with the cookie settings: what's the name of your phpBB cookie, what's the name of your coppermine cookie?
(if you can't stay logged in to coppermine to check this in your config, use phpMyAdmin, table cpg11d_config)

GauGau

antoined

Quote from: "gaugau"login is not persistent: if I click around on your gallery I'm not recognized anymore, although I've set up my browser to accept all cookies.
My guess is that you did some strange things with the cookie settings: what's the name of your phpBB cookie, what's the name of your coppermine cookie?
(if you can't stay logged in to coppermine to check this in your config, use phpMyAdmin, table cpg11d_config)

GauGau

Thanks again,
the cookie names of both is phpbb2mysql, when cookie domain name is blank in phpbb.

is it right?
Thank you
Antoine

Joachim Müller

change the cookie name of coppermine to something else (default name is ok) and delete all cookies from your domain on your hard disk.

GauGau

antoined

Quote from: "gaugau"change the cookie name of coppermine to something else (default name is ok) and delete all cookies from your domain on your hard disk.

GauGau

Hello again,
I tried different cookie names for coppermine (the default included) but it is not working:
sometimes it recognizes me and sometimes no.
Sorry for bothering you again:)
Antoine

Titooy

I tried to integrate phpBB 2.0.6 and CPG 1.2RC2 and I have exactly the same problem :?

Joachim Müller

I'm no phpBB-expert (but who is in fact?), but I'm tempted to claim this is a phpBB problem: if I log in to phpBB with the pw you provided, go to the gallery, click around a while (I'm not allowed to do much since I'm not recognized) and return to the phpBB page, even phpBB doesn't recognize me (I was logged out again, although I never clicked on "logout" anywhere.
Try this: test the persistence of the cookie by commenting out the integration stuff in the bridge file, delete all your cookies from the hard drive, log into phpBB, click around in phpBB for a while, go to coppermine (which should be standalone at that moment), return to phpBB (not clicking "back" but going there again by entering the url and check if you're recognized from phpBB again.
Please report here what your results were.

GauGau

Titooy

No problem with phpBB alone...
When both are "bridged", I connect to phpBB, then I go to Coppermine and I see the user menu but when I click on any item I got an "Error. You don't have permission to access this page." and I'm logged out from Coppermine. But if I click on Login, I'm dispatched to phpBB where I'm still logged in...

antoined

Quote from: "gaugau"I'm no phpBB-expert (but who is in fact?), but I'm tempted to claim this is a phpBB problem: if I log in to phpBB with the pw you provided, go to the gallery, click around a while (I'm not allowed to do much since I'm not recognized) and return to the phpBB page, even phpBB doesn't recognize me (I was logged out again, although I never clicked on "logout" anywhere.
Try this: test the persistence of the cookie by commenting out the integration stuff in the bridge file, delete all your cookies from the hard drive, log into phpBB, click around in phpBB for a while, go to coppermine (which should be standalone at that moment), return to phpBB (not clicking "back" but going there again by entering the url and check if you're recognized from phpBB again.
Please report here what your results were.

GauGau


I tested the following:
First, I deleted all cookies on my hard disk.
I uncommented the the integration in /include folder file int.inc, I logged into phpBB and I clicked around for a while.
After that, I went to cpg (not hitting the back bottom) and I clicked around, after this I came back to phpBB where I were still recognized.
I repeated this operation and I also logged into cpg (which is standalone when runs alone) and then i went to phpBB where I were still recognized.

you said: "test the persistence of the cookie by commenting out the integration stuff in the bridge file" how to so in the bridge file?

Thanks
Antoine

ps: I am not expert neither in phpBB nor in coppermine, what if I send you a PM with the FTP access account, so you can examine the problem?
Let me know

Joachim Müller

Antoine,

I'm afraid your ftp access data won't solve this problem. I told you crap: you were right in disabling the integration in init.inc.php - the bridge file doesn't have to be touched.

I'm rather running out of ideas...

GauGau

Titooy

Did someone successfully integrate CPG 1.2 with phpBB or another BBS ?

Joachim Müller

I was successfull with cpg and yabbse.

GauGau

DaMysterious

Quote from: "antoined"I tested the following:
First, I deleted all cookies on my hard disk.
I uncommented the the integration in /include folder file int.inc, I logged into phpBB and I clicked around for a while.
After that, I went to cpg (not hitting the back bottom) and I clicked around, after this I came back to phpBB where I were still recognized.
I repeated this operation and I also logged into cpg (which is standalone when runs alone) and then i went to phpBB where I were still recognized.

you said: "test the persistence of the cookie by commenting out the integration stuff in the bridge file" how to so in the bridge file?

Thanks
Antoine

ps: I am not expert neither in phpBB nor in coppermine, what if I send you a PM with the FTP access account, so you can examine the problem?
Let me know

Maybe I could help out?

phpBB cookiesetup:

Cookie domain    www.akkar.com
Cookie name      phpbb2mysql
Cookie path         /
Cookie secure    off
Session length    3600


CPG cookiesetup:

Cookie name      cpg11d
Cookie path         /


Bridgefile phpbb.inc.php

// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH','http://www.akkar.com/');


define('PHPBB_COOKIE_PREFIX','phpbb2mysql');// The prefix used for board cookies


// Group definitions
define('PHPBB_ADMIN_GROUP', 1);
define('PHPBB_MEMBERS_GROUP', 2);
define('PHPBB_GUEST_GROUP', 3);
define('PHPBB_BANNED_GROUP', 4);



Above works for me.
DaMysterious.

antoined

Still not working!!!!
Your integration is with CPG 1.2.0???

Antoine