Advanced search  

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

Pages: [1] 2   Go Down

Author Topic: Bridge with phpbb3  (Read 11153 times)

0 Members and 1 Guest are viewing this topic.

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Bridge with phpbb3
« on: August 22, 2008, 06:45:24 pm »

I am having a bit of trouble with the bridging with phpbb3. I had phpbb2, and got hacked so I am upgraded to 3. Now I have discovered that 3 has issues with cpg. Does anyone have any ideas? I have cpg configured correctly. The bridge activates with no problem, but when you login to phpbb3, and click over to the cpg it doesn't login. Then you click login in cpg, and it redirects to a page that doesn't exist. I get an error

Not Found
The requested URL /forum/login.php was not found on this server.

I looked in the original download of phpbb3, and the login.php isn't included. How it logs in I don't know.

Forum address: www.prettyscrappy.com/forum
CPG address: www.prettyscrappy.com/gallery

Please someone let me know what to do I have been trying to fix this for 2 days now, and I just want to be done.
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #1 on: August 22, 2008, 07:05:10 pm »

Sounds like you're trying to use the phpbb2 bridge with phpbb3. You need to use the phpbb3 bridge for phpbb3.

http://forum.coppermine-gallery.net/index.php/topic,53678.0.html
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #2 on: August 22, 2008, 09:00:40 pm »

I worked on that last night and didn't get it. So I thought I would do it again, maybe I missed something. Anyways I did it and nothing. Still the same problem. Is there anything I can give you to look at that might help?
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #3 on: August 22, 2008, 09:04:22 pm »

I do have a test account set up if that might help
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #4 on: August 22, 2008, 09:18:25 pm »

Sorry I just read the post here is all my info.

Coppermine install: http://prettyscrappy.com/gallery/
Forum install: http://prettyscrappy.com/forum
Coppermine version: cpg1.4.2
Forum version: phpBB3
Test user account: test1234 / test5678

BridgeManager settings:
Forum URL:  http://prettyscrappy.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
Cookie name/preifx (if applicable): phpbb
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge with phpbb3
« Reply #5 on: August 23, 2008, 09:38:17 am »

Bridging is not enabled, so what exactly should we look into?
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #6 on: August 23, 2008, 02:15:26 pm »

That's not your cookie prefix. Your cookie prefix is phpbb3_9rszk.
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #7 on: August 25, 2008, 06:26:33 am »

Hey guys, Sorry it has taken me so long to respond. i am also  wedding photographer, and I had a 14 hour wedding on Saturday. Anyways I changed the cookie prefix, and it seemed to work. The only thing I did notice, and is causing a big problem is when me or my wife who are both admins on everything when we click over to the gallery it doesn't log us in as admins. It looks like we are just users. What could be causing this?
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #8 on: August 25, 2008, 06:29:10 am »

Hey guys, Sorry it has taken me so long to respond. i am also  wedding photographer, and I had a 14 hour wedding on Saturday. Anyways I changed the cookie prefix, and it seemed to work. The only thing I did notice, and is causing a big problem is when me or my wife who are both admins on everything when we click over to the gallery it doesn't log us in as admins. It looks like we are just users. What could be causing this?

Also because of this issue with admin I can't even turn off the bridge, and i don't know how to turn it off in the mysql.
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #9 on: August 25, 2008, 10:35:32 am »

Admin issues are discussed on the second page of the mod's thread linked to above. How to disable the bridge is explained in the documentation.
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #10 on: August 25, 2008, 08:02:12 pm »

ok I have looked at that 2nd page and I am still having the problem. I posted on that thread. I don't know what to do anymore?
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #11 on: August 26, 2008, 10:09:48 am »

You need to find out what your admin group is and make the change described. I don't know what number your admin group is. I suppose it's displayed somewhere in phpbb.
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #12 on: August 26, 2008, 04:07:23 pm »

You need to find out what your admin group is and make the change described. I don't know what number your admin group is. I suppose it's displayed somewhere in phpbb.

I had a feeling that you were going to say that. I looked and looked last night, and I have no idea where to find it. I even searched this forum for something about admin_group, and found a lot of things but nothing telling me where to find it. Do you or anyone else know where to look?
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #13 on: August 26, 2008, 05:40:29 pm »

OK, go into the admin control panel, then 'manage groups'. Go to the table that has the list of groups, look at the row for 'Administrators' and check the URL for the 'settings' link. The group id is at the end of the URL after &g=
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #14 on: August 27, 2008, 04:49:47 pm »

First I would like to say thank you for your help. Unfortunately it still isn't working. I ran into problems yesterday and couldn't even get thegallery to come back up, is I started fresh. New gallery, New Db, new intagration, and still not able to get coppermine to see the admins. I
This is the bridgemanager.php the part I have changed
Code: [Select]
// define the var array
$default_bridge_data['phpbb3'] = array(
  'full_name' => 'phpBB version 3',
  'short_name' => 'phpbb3',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://www.prettyscrappy.com/forum',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../forum/',
  'relative_path_to_config_file_used' => 'lookfor,config.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => '',
   'cookie_prefix_used' => 'phpbb3_9rszk',
);

This the ps08x_bridge in the Db
Code: [Select]
short_name                  phpbb3
full_forum_url                    http://www.prettyscrappy.com/forum
relative_path_to_config_file  ../forum/
use_post_based_groups  1
cookie_prefix                  phpbb3_9rszk
use_standard_groups      1
admin_group                  329
recovery_logon_failures  0

Something I was reading on the other post was one guy said he upgraded from phpbb2 to 3, and his admin_group # was much smaller than mine. I have upgraded from 2 to 3 also, could this have something to do with it? I am just trying to give you as much info as I can help you. If anyone has any advice or feedback it would be helpful.
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #15 on: August 27, 2008, 07:41:19 pm »

Try without post based groups. You are not supposed to make any edits to the code in bridgemgr.php.
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #16 on: August 27, 2008, 07:57:23 pm »

Try without post based groups. You are not supposed to make any edits to the code in bridgemgr.php.

Ok I took the post based groups off, and undid the edits to bridgemgr.php. I thought I had to fill in my information in there. My bad!! Anyways I do have a few options in the admin menu now, but it's the (User Admin Menu), not the (Admin Menu).
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #17 on: August 27, 2008, 08:02:26 pm »

Ok I took the post based groups off, and undid the edits to bridgemgr.php. I thought I had to fill in my information in there. My bad!! Anyways I do have a few options in the admin menu now, but it's the (User Admin Menu), not the (Admin Menu).


Do you think that my admin group could be a smaller or different number?
Logged

Nibbler

  • Guest
Re: Bridge with phpbb3
« Reply #18 on: August 27, 2008, 09:24:07 pm »

It's whatever the groups page in phpbb says it is.
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Bridge with phpbb3
« Reply #19 on: August 27, 2008, 11:52:04 pm »

Dude check this out. I was having more trouble with this so i thought I would go over to PHPBB and check to see what they had to say about this bridge deal. There is a topic on this and actually had files, and instructions. It is working flawlessly, quick and easy instruction. I overwrote the bridgemgr.php, and the phpbb3.inc.php file with the one that came with there download. I don't know if this mattered or not but i did leave the admin_group# in the mysql. Here is the link if anyone wants help getting Coppermine & PHPBB3 bridged.

http://www.phpbb.com/community/viewtopic.php?f=70&t=666235&st=0&sk=t&sd=a


Nibbler I want to thank you for all your help with this issue. I know you didn't have to but thanks anyways.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.021 seconds with 19 queries.