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]   Go Down

Author Topic: Failed SMF bridge  (Read 8916 times)

0 Members and 1 Guest are viewing this topic.

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Failed SMF bridge
« on: November 21, 2006, 05:18:49 pm »

Hi,

Sorry about this, but I could use some help here. I have tried to use the bridging manager, after selecting user based groups, I then receive this error:- There was an error while processing a database query

I thought I was following the instruction but I’ve obviously gone wrong at some point. All access is now lost the gallery and bridge manager.

Coppermine install: http://murcia-golf.co.uk/gallery/
Forum install: http://murcia-golf.co.uk/forum/
Coppermine version: cpg1.4.2
Forum version: SMF 1.0.9.
Test user account: some_testuser_name / the_password_for_the_test_user_account

BridgeManager settings:
Forum URL: http://www.murcia-golf.co.uk/forum
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  yes
Cookie name/preifx = $cookiename = 'SMFCookie10';

Any help much appreciated.

Gazab
« Last Edit: November 22, 2006, 06:28:57 pm by GauGau »
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed SMF bridge
« Reply #1 on: November 21, 2006, 05:25:54 pm »

Manually enable debug_mode as suggested in http://coppermine-gallery.net/tutorial/debug_mode.php and post the actual error message (not the debug_output) to see what exactly goes wrong.

Coppermine version: cpg1.4.2
Upgrade!
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #2 on: November 21, 2006, 06:33:40 pm »

Hi,

Thanks for the fast reply.

Here is the error message;
mySQL error: Table 'murcia-golf_co_uk_-_forum.cpg1410_usergroups' doesn't exist

If I can recover from this then I am not to worried about completing the bridge.

Cheers for your help.

Gazab
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Failed SMF bridge
« Reply #3 on: November 21, 2006, 07:15:40 pm »

Wow What a database name :o
murcia-golf_co_uk_-_forum
Is this really your database name?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #4 on: November 21, 2006, 07:50:48 pm »

Hi,

Yeah.....like it!!!!!? ;D
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Failed SMF bridge
« Reply #5 on: November 21, 2006, 08:00:18 pm »

Then did you check the table (cpg1410_usergroups) that mysql complain about that ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Nibbler

  • Guest
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #7 on: November 21, 2006, 09:47:50 pm »

Hi,

Yes I've looked for the table and it doesn’t exist. All SMF tables are prefixed smf_ .....?

I would be OK just to return to my working version of Coppermine and allow registration. Is this now possible?

Any ideas?
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed SMF bridge
« Reply #8 on: November 21, 2006, 10:43:10 pm »

Do your coppermine tables reside on the database "murcia-golf_co_uk_-_forum"?
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #9 on: November 21, 2006, 11:00:56 pm »

Hi,

No they are in murcia-golf_co_uk-gallery
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Failed SMF bridge
« Reply #10 on: November 22, 2006, 05:45:53 am »

Then check that database for existance of (cpg1410_usergroups) table and if it's there do as Nibbler suggested
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #11 on: November 22, 2006, 04:07:12 pm »

Sami,

Ok I've checked and the (cpg1410_usergroups) table exisists in my gallery database. You then suggest "do as Nibbler suggested" Nibbler posted a link which leads to this post.
OK, I found the problem. SMF hijacks coppermine's database connection. Edit smf10.inc.php, find
Code: [Select]
// Connect to db - or supply a connection id to be used instead of making own connection.
$this->connect($db_connection);
Change to this
Code: [Select]
// Fix our db connection
mysql_select_db($CONFIG['dbname'], $CONFIG['LINK_ID']);

// Connect to db - or supply a connection id to be used instead of making own connection.
$this->connect($db_connection);

Problem is I cannot find the file sm10.inc.php. I notice the post is nearly two years old, do you think the file name would have changed?

Please forgive me for asking again here, but I want to get this right.
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Nibbler

  • Guest
Re: Failed SMF bridge
« Reply #12 on: November 22, 2006, 04:09:02 pm »

bridge/smf10.inc.php
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #13 on: November 22, 2006, 04:15:57 pm »

Hi,

Sorry just noticed that.....I'll give it a try.
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #14 on: November 22, 2006, 04:25:46 pm »

Hi,

Made the change and can now see my gallery. The following message appears at the bottom of the page.

Database Error: Table 'murcia-golf_co_uk_-_gallery.smf_sessions' doesn't exist
File: /var/www/html/forum/Sources/Load.php
Line: 1193

Also if I try to login I am taken to my forum login!
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #15 on: November 22, 2006, 04:35:16 pm »

Hi,

The line is:
Code: [Select]
LIMIT 1", __FILE__, __LINE__);
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Nibbler

  • Guest
Re: Failed SMF bridge
« Reply #16 on: November 22, 2006, 04:46:19 pm »

Disable database sessions in SMF.
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #17 on: November 22, 2006, 06:17:09 pm »

Nibbler,

Phew....you got me there in the end.

Just one thing, If I browse "users" in Coppermine admin my forum users open. Is this how it works?

If so, many thanks for your time.
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed SMF bridge
« Reply #18 on: November 22, 2006, 06:29:47 pm »

Yes: when bridged, there are no more Coppermine users, but only the ones from your forum. Susequently, you're being sent to your forum when clicking on usernames.
Logged

Gazab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Murcia Golf
Re: Failed SMF bridge
« Reply #19 on: November 22, 2006, 06:32:59 pm »

wow....thanks
Logged
Murcia Golf Home of our gallery. Web design by Affordable Web Design
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.