1.3.x/vb3.5 Integration Problem 1.3.x/vb3.5 Integration Problem
 

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

1.3.x/vb3.5 Integration Problem

Started by version2, November 01, 2005, 08:14:18 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

version2

http://www.mysticwicks.com/photoalbum/

I realize this:

http://forum.coppermine-gallery.net/index.php?topic=17684.0

But, I can't create a test account because I can't log into my gallery. Whenever a user goes to the gallery they are presented with a login link and this link takes us right back to the front page of the forum.

Here is the bridge file:


//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', ----); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'version2_community'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', ----); // The username to use to connect to the database
define('VB_DB_PASSWORD', ----); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', '');  // Cookie Prefix, not supported by vBulletin 2

// Group definitions (default values used by the board)
define('VB_VALIDATING_GROUP', 3);
define('VB_GUEST_GROUP', 1);
define('VB_MEMBERS_GROUP', 2);
define('VB_ADMIN_GROUP', 6);


I have tried 'VB_COOKIE_PREFIX' as '' and 'bb'. In my vb config I don't have a cookie prefix set.

Nibbler

You create the test account in your forum, not in Coppermine.

version2

Quote from: Nibbler on November 01, 2005, 08:21:39 PM
You create the test account in your forum, not in Coppermine.

Fair enough.

Username: Lucifuge
Password: lucy

Nibbler

Your 'VB_COOKIE_PREFIX' is 'mw', set it to that.

version2

Quote from: Nibbler on November 01, 2005, 10:05:55 PM
Your 'VB_COOKIE_PREFIX' is 'mw', set it to that.

Done. Problem still exists.

Nibbler

OK, so the 2 most likely reasons why it doesn't work are:

1) The db details point to a different instance of the forum.
2) The vb cust no is incorrect.

Verify these 2 things, other than that I don't know what to suggest - everything I can check looks ok.

version2

Quote from: Nibbler on November 01, 2005, 10:15:21 PM
1) The db details point to a different instance of the forum.
2) The vb cust no is incorrect.

Verify these 2 things, other than that I don't know what to suggest - everything I can check looks ok.

Okay. I double checked. I have two vb licenses so I verified I was using the right customer number. The db details pointing to a different instance of the forum...I don't know if I understand this correctly. I have no other database named version2_community.

Nibbler

It's license number, not customer number. If you are happy to PM me FTP access to your gallery then I can get it running for you more easily.

Nibbler

Resolved via SSH, license number was incorrect.