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: Log in problems with VB  (Read 7350 times)

0 Members and 1 Guest are viewing this topic.

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Log in problems with VB
« on: July 21, 2005, 07:36:31 pm »

hello,

I don't know if this is ment to happen, but when you click 'log in' it refers me to my forum index page and when you log in via forum/index.php and try to navigate back to images(cmg)/index.php, then it says you still need to log in.


Cookies are fine... I think  :-\\

Thanks

Adam
« Last Edit: July 22, 2005, 12:49:45 am by Nibbler »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Log in problems with VB
« Reply #1 on: July 21, 2005, 07:47:55 pm »

If you log in from your bbs, then go to Coppermine and you aren't logged in, then your cookies aren't set properly.  Link to your site please, with a test user/password.
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

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #2 on: July 21, 2005, 08:04:41 pm »

If you log in from your bbs, then go to Coppermine and you aren't logged in, then your cookies aren't set properly.  Link to your site please, with a test user/password.

Thanks for your fast reply!

Forum: www.thedrumforum.com/forum

gallery:www.thedrumforum.com/pics

User- UN: test PW: 123456

Thanks

Adam =]
Logged

Nibbler

  • Guest
Re: Log in problems with VB
« Reply #3 on: July 21, 2005, 08:11:14 pm »

Have you set the cookie prefix to 'bb' in the bridge file ?
Logged

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #4 on: July 21, 2005, 08:52:18 pm »

Have you set the cookie prefix to 'bb' in the bridge file ?

yep  :)

No joy
Logged

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #5 on: July 21, 2005, 11:24:40 pm »

Hey folks,

is there a quick fix for this symptom?

EG. If my cookies are wrong, where do I go to fix them, I think I may be in the wrong place just now :/
Logged

Nibbler

  • Guest
Re: Log in problems with VB
« Reply #6 on: July 21, 2005, 11:31:45 pm »

Check the sticky in this section on how to request bridge support. Your cookies seemed to be setup OK to me - your forum cookies are visible to Coppermine so it is just a matter of getting coppermine to recognise and read them correctly. Post the section of the bridge file you have editted, minus passwords, and double check the database information as we have to trust you have that correct.
Logged

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #7 on: July 21, 2005, 11:52:37 pm »

ok then:

// in vbulletin30.inc.php

Code: [Select]
define('VB_CUST_NO', '*********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'drumforum'); // The name of the database used by the board
define('VB_BD_HOST', 'mysql4.******.com'); // The name of the database server
define('VB_DB_USERNAME', 'drumforum'); // 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', '/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', 'vb_'); // 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

DB info is A-OK!

BTW, I wanna say I am greatly appreciative of your support. So thank you. :)
Logged

Nibbler

  • Guest
Re: Log in problems with VB
« Reply #8 on: July 22, 2005, 12:06:00 am »

VB_COOKIE_PREFIX should be 'bb' as previously suggested.
Logged

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #9 on: July 22, 2005, 12:21:11 am »

Yeh,

I tried that before but had no luck.

I have done it again:
Code: [Select]
define('VB_TABLE_PREFIX', 'vb_'); // 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

Still no luck  :-[
Logged

Nibbler

  • Guest
Re: Log in problems with VB
« Reply #10 on: July 22, 2005, 12:33:35 am »

Seems to be working now, can we mark this as solved ?
Logged

allstar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Log in problems with VB
« Reply #11 on: July 22, 2005, 12:42:22 am »

Woohoo!

Cache cleared and all is well!

Thank you thank you thank you!!

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.