Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Fatal Error after Bridge to phpBB 2.20  (Read 5208 times)

0 Members and 1 Guest are viewing this topic.

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Fatal Error after Bridge to phpBB 2.20
« on: June 07, 2006, 10:18:58 pm »

I have the following issue when trying to bridge coppermine and phpBB 2.20:
ERROR:
page not found
link in address bar: [http://www.metro3p.com/3p_forum/ucp.php?mode=login&redirect=http%3A%2F%2Fwww.metro3p.com%2Fcoppermine%2F]

I don't see this file in the board root dir.  I see a generic one in the 3p_forum/includes dir but that one can not be copied to the board root.

Coppermine install: http://www.metro3p.com/coppermine
Forum install: http://www.metro3p.com/3p_forum
Coppermine version: cpg1.4.7 (straight from sourceforge today)
Forum version: phpBB v2.20
Test user account:  testacct  /  test1

BridgeManager settings:
Forum URL:  http://www.metro3p.com/3p_forum
Relative path to your BBS's config file:  ../3p_forum/ 
Use post-based groups?:  1 
   I've also tried this setting @ 0.

I've done everything but stroke this setup before I gave up the ghost and now requesting support.
Thanks.
« Last Edit: June 08, 2006, 12:23:43 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #1 on: June 07, 2006, 10:21:35 pm »

I expect you are using 2.0.20, not 2.20. Take care to selected the correct option in the bridge manager.
Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #2 on: June 07, 2006, 10:42:36 pm »

I just download the 2.20 thinking I had the 2.0.18 but the update file said 2.20 is already installed and no updates are necessary.
Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #3 on: June 07, 2006, 10:52:00 pm »

Your right! my new configuration and error is:
Coppermine install: http://www.metro3p.com/coppermine
Forum install: http://www.metro3p.com/3p_forum
Coppermine version: cpg1.4.7 (straight from sourceforge today)
Cookie setting: ppp
Forum version: phpBB v 2.0.21
Test user account:  testacct  /  test1

ERROR: There was an error while processing a database query  during enable of bridge.

BridgeManager settings:
Forum URL:  http://www.metro3p.com/3p_forum
Relative path to your BBS's config file:  ../3p_forum/
Board Cookie setting: mppp3
Use post-based groups?:  1 
Logged

Nibbler

  • Guest
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #4 on: June 07, 2006, 10:54:47 pm »

Test account does not work.
Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #5 on: June 07, 2006, 10:59:44 pm »

your right again, the username is 'testaccount' not  testacct :(
Logged

Nibbler

  • Guest
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #6 on: June 07, 2006, 11:17:13 pm »

OK, disable the bridge, enable debug mode in config, enable the bridge and see what the real mysql error message you get is.
Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #7 on: June 07, 2006, 11:30:00 pm »

First thank you for responding so quickly.

Next this is what I got.
While executing query "SELECT * FROM `3p_membership`.3pf_groups WHERE group_single_user = 0" on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '.3pf_groups WHERE group_single_user = 0' at line 1

I check the debug for further version info in case you needed to know this also.
==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.27-max-log
------------------
Coppermine version: 1.4.7(stable)
==========================
Logged

Nibbler

  • Guest
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #8 on: June 07, 2006, 11:46:06 pm »

Try changing

Code: [Select]
$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
to

Code: [Select]
$this->groupstable =  $this->db['name'] . '.' . $this->db['prefix'] . $this->table['groups'];
in the bridge file.
Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #9 on: June 07, 2006, 11:56:45 pm »

Thanks, Done, however that just resulted in yet another error; :-[
PAGE:
Fatal error :


DEBUG:
While executing query "SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `3p_membership`.3pf_users AS u, `3p_membership`.3pf_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '3359027f60b37ae11985812827c1c917' AND u.user_id > 0" on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '.3pf_users AS u, `3p_membership`.3pf_sessions AS s WHERE u.user
Logged

Nibbler

  • Guest
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #10 on: June 08, 2006, 12:02:35 am »

Apply the same fix there then.

Code: [Select]
// Derived full table names
$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
$this->sessionskeystable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessionskeys'];

all changes to

Code: [Select]
// Derived full table names
$this->usertable = $this->db['name'] . '.' . $this->db['prefix'] . $this->table['users'];
$this->groupstable =  $this->db['name'] . '.' . $this->db['prefix'] . $this->table['groups'];
$this->sessionstable =  $this->db['name'] . '.' . $this->db['prefix'] . $this->table['sessions'];
$this->usergroupstable = $this->db['name'] . '.' . $this->db['prefix'] . $this->table['usergroups'];
$this->sessionskeystable = $this->db['name'] . '.' . $this->db['prefix'] . $this->table['sessionskeys'];

Logged

monicads

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Fatal Error after Bridge to phpBB 2.20
« Reply #11 on: June 08, 2006, 12:13:41 am »

U the Man!  My first born is promised, but you came so close. :D

In case I need to say it for others.  It worked.

Thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.