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

Author Topic: vb3 3.07 bridge support help  (Read 15609 times)

0 Members and 1 Guest are viewing this topic.

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
vb3 3.07 bridge support help
« on: October 28, 2005, 05:22:51 pm »

My site addy is www.insanemustangs.com

Username: test
Password: tester

// database configuration
define('VB_CUST_NO', '*********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'hotwheel_forums'); // 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', 'http://insanemustangs.com/forums/');


not sure what's wrong, but after i log into my site and then go to coppermine, it still show's that i need to log in, or register.

Please help, i have been working on this for a week.

hotwheels
« Last Edit: October 30, 2005, 12:26:20 pm by GauGau »
Logged

Nibbler

  • Guest
Re: vb3 3.07 bridge support help
« Reply #1 on: October 28, 2005, 05:37:37 pm »

Where's the gallery ?

Ensure you set the cookie prefix to 'bb' in the bridge file and the db info is correct.

Also:

Quote
define('VB_WEB_PATH', 'http://insanemustangs.com/forums/');

That should be a path, not an url.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: vb3 3.07 bridge support help
« Reply #2 on: October 28, 2005, 06:08:35 pm »

seems you haven't enabled the bridge? Have you? --> include/init.inc.php

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #3 on: October 28, 2005, 06:22:11 pm »

Quote
Where's the gallery ?
if you look on my navbar in the forums, the gallery is named coppermine, in the navbar.

Quote
That should be a path, not an url.
  like /forums/ ?


Quote
seems you haven't enabled the bridge? Have you? --> include/init.inc.php
i believe so....
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #4 on: October 28, 2005, 06:25:49 pm »

define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
 define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);



This is what i call in the init.php right?
Quote
define('UDB_INTEGRATION', 'vbulletin30');
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #5 on: October 28, 2005, 06:30:55 pm »

Quote
Ensure you set the cookie prefix to 'bb' in the bridge file and the db info is correct.

the actual gamma bridge doesn't have a cookie prefix like the older bridge did.......or am i missing it?

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forums/');
// ------------------------------------------------------------------------- //
// 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

// 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);
// Authenticate a user using cookies
function udb_authenticate()
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #6 on: October 28, 2005, 06:44:48 pm »

k, i switched out gamma for  vbulletin30.inc.php and updated the cookie prefix to 'bb' and went to init.php and //define for vbulletin3.0, since it is showing an error
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #7 on: October 28, 2005, 06:49:24 pm »

This is how i am now set up on 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', 'hotwheel_forums'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'hotwheel'); // 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', '/vb3/');
// ------------------------------------------------------------------------- //
// 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', 'bb');  // 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);
// Authenticate a user using cookies
function udb_authenticate()


and in my init.php file:

define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
 // define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: vb3 3.07 bridge support help
« Reply #8 on: October 28, 2005, 07:42:05 pm »

sorry, if you don' enable the bridge, then I can't help you...
still, you probably got a mysql error. Means you've entered a wrong dbname, dbuser or dbpw. Check this twice

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #9 on: October 28, 2005, 09:05:57 pm »

Quote
sorry, if you don' enable the bridge, then I can't help you...
What does that mean? I am asking for help, i posted my init.php, tell me what i am supposed to do. If i knew how to enable it, i wouldn't be here asking, would I? That is a terrible answer, look at my previous post and it show's you my vbulletin bridge and my init.php file..........i am asking what am i supposed to do with it now.....i have no idea, when i enable the // define('UDB_INTEGRATION', 'vbulletin30'); it then give me an error on coppermine......
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #10 on: October 28, 2005, 09:08:17 pm »

now making an assumption on my part, the init.php is now turned on:

define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #11 on: October 28, 2005, 09:09:31 pm »

with that enabled, the above post, i now get this error in coppermine:

Coppermine critical error:
Unable to connect to vBulletin Board database !

MySQL said: Access denied for user 'username'@'localhost' (using password: YES)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: vb3 3.07 bridge support help
« Reply #12 on: October 28, 2005, 09:25:04 pm »

Did you follow all of the bridging instructions in the manual?  Did you follow the bridging instructions and put Coppermine and your bbs in the same database?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #13 on: October 28, 2005, 09:49:17 pm »

yes..........now i am getting this error:

Notice: Undefined index: HTTP_USER_AGENT in /home3/hotwheel/public_html/forums/cpg135/bridge/vbulletin30.inc.php on line 76
 
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: vb3 3.07 bridge support help
« Reply #14 on: October 28, 2005, 10:38:39 pm »

You must enable long arrays in php.ini.  Ask your webhost to fix that for you.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #15 on: October 28, 2005, 10:45:33 pm »

They told me that it is on.........i asked them that about a week ago.

K, try it again and tell me what you think. I have debug mode on and the init.php is enabled.


www.insanemustangs.com/forums/

username  test
password  tester
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: vb3 3.07 bridge support help
« Reply #16 on: October 28, 2005, 10:47:26 pm »

Turn off debug notices in your config settings.  That's just a notice, don't worry about it.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #17 on: October 28, 2005, 11:03:54 pm »

okay, it's off.......
Logged

hotwheels

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: vb3 3.07 bridge support help
« Reply #18 on: October 28, 2005, 11:37:45 pm »

ah forget it........... :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: vb3 3.07 bridge support help
« Reply #19 on: October 30, 2005, 12:26:06 pm »

ah forget it........... :(
meaning what? Issue solved? Username/password test/tester doesn't work for me, so I guess you disabled this account because your issues have been solved. Marking thread accordingly.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 15 queries.