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: Cookies in VBulletin 3.0.0 and Coppermine 1.2  (Read 4238 times)

0 Members and 1 Guest are viewing this topic.

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Cookies in VBulletin 3.0.0 and Coppermine 1.2
« on: June 08, 2004, 10:57:06 pm »

I have combed over this forum and found a lot of great information, but I cannot find an answer to this one:

I have a VBulletin forum installed on a subdomain (http://forum.dancingmokey.com/forum) and I want to install coppermine. I downloaded Coppermine 1.2, read all the readmes , made the appropriate changes and ran the install. No errors (woo-hoo!) The problem I'm having is, you guessed it, cookies. I just cannot log into coppermine. It refers me back to the forum index when I click "Log In", but I'm already logged into the forum. I have been searching in this forum for a couple days and cannot find the answer. I've tried fresh installs twice, no luck. Can I get a hand with this one?

coppermine installed to:
http://forum.dancingmokey.com/gallery

vbulleting forum is:
http://forum.dancingmokey.com/forum

I went in the SQL and created an account in the coppermine cpg11d_users  table. username/password=test/test
I also created a matching account in the forum.
« Last Edit: June 09, 2004, 05:12:05 am by wintermute »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #1 on: June 09, 2004, 09:16:02 am »

after loging in succesfully to the forum and manually re-entering the gallery url, I get
Quote
Fatal error :
There was an error while processing a database query
. Something fishy with your setup, try re-doing the bridge file editing.
Post your relevant bridge file bits here (remember to replace your password with ***).

GauGau
Logged

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #2 on: June 09, 2004, 04:06:30 pm »

Thank you very much for your help, BTW.
Code: [Select]
From the /bridge/vbulletin.inc.php file:
define('VB_DB_NAME', 'forumdb'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'wintermute'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '**********'); // The password to use to connect to the database

From the /includes/init.inc.php file:
define('COPPERMINE_VERSION', '1.2.1');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
define('UDB_INTEGRATION', 'vbulletin');
// define('UDB_INTEGRATION', 'yabbse');
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);

(took out the last char in hidden PW)
« Last Edit: June 09, 2004, 10:32:19 pm by wintermute »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #3 on: June 09, 2004, 04:46:43 pm »

Have you also modified line 32 of the bridge file.  For your install it should be;

Code: [Select]
define('VB_WEB_PATH', '/forum/');
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #4 on: June 09, 2004, 06:24:30 pm »

That value is as you say, I copied too little, sorry

Code: [Select]
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration
define('VB_DB_NAME', 'forumdb'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'wintermute'); // 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/vbulletin23/
define('VB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
Logged

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #5 on: June 11, 2004, 04:37:01 am »

Did I miss something? I feel like such a n00b...
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #6 on: June 11, 2004, 11:19:43 am »

Please check that both cookies are not the same name.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #7 on: June 11, 2004, 05:33:53 pm »

I performed a fresh install to the root directory of my domain, just to eliminate the subdomain issue (forum.dancingmokey.com/forum vs. www.dancingmokey.com)

So here's how it's setup:
forum location is now            http://www.dancingmokey.com
coppermine location is now    http://www.dancingmokey.com/gallery

Code: [Select]
from the vbulleting.inc.php-
// database configuration
define('VB_DB_NAME', 'dmforum'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'wintermute'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'neuromancer'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin23/
define('VB_WEB_PATH', '/');
Code: [Select]
from the config.inc.php-
// MySQL configuration
$CONFIG['dbserver'] =  "localhost";        // Your database server
$CONFIG['dbuser'] =     "wintermute";        // Your mysql username
$CONFIG['dbpass'] =     "********";                // Your mysql password
$CONFIG['dbname'] =   "dmforum";        // Your mysql database name
Code: [Select]
from the init.ing.php-
define('COPPERMINE_VERSION', '1.2.1');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
define('UDB_INTEGRATION', 'vbulletin');
// define('UDB_INTEGRATION', 'yabbse');
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);

I created a new install of VBulletin, using a new MySQL database. I again went into the DB and inserted the test/test username/pw as well as creating an identical username/password on the VBulletin forum. I changed the cookie name in the database for coppermine from the default to 'gallerycookie' just to ensure that there is no cookie naming hiccups.
All this has failed to work.
The symptoms are exactly the same as before.
Am I just cursed?
Logged

wintermute

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cookies in VBulletin 3.0.0 and Coppermine 1.2
« Reply #8 on: June 11, 2004, 07:51:57 pm »

I put the "//" back in front of the vbulletin integration file. I'll just put the hyperlink on the front page.
I haven't been able to run accross anyone that has this integration working on VB3x.
Logged
Pages: [1]   Go Up
 

Page created in 0.061 seconds with 18 queries.