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.0.3 Coppermine 1.3.2 Login Loop  (Read 8129 times)

0 Members and 1 Guest are viewing this topic.

sydneymazdaclub

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
VB3.0.3 Coppermine 1.3.2 Login Loop
« on: September 08, 2004, 01:01:44 pm »

Hi,

Installed a fresh copy of coppermine into the following location: www.sydneymazdaclub.com/forums/photogallery
When trying to intergrate this with VB3.0.3 i get stuck in a login loop. ie click on login in the gallery and get redirected to the forums login. Log in and then back to gallery and im still not logged in. Click it again and go back to forums login.

Cookie is set to sydneymazdaclub.com in the vbulletin options

Test username: Boardtester
password: boardtester

however if i comment out the intergration with the board i can login withoout a problem. Please help!
Logged

enduser

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #1 on: September 18, 2004, 02:41:47 pm »

i have the same problem, i'm testing it out with vb3 3.0.3 and have tried CPG 1.2 and 1.3 but both drop me into a login-loop  ??? ??? ???
Logged

junior

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #2 on: September 18, 2004, 06:17:56 pm »

I've had Coopermine running with VB3 RC4 for a while and I just upgraded to VB3.0.3 and I've now I'm now logged out the whole time and the login button keeps redirecting me back to the forum, where I am logged in.
Logged

enduser

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #3 on: September 20, 2004, 11:16:39 am »

has anyone resolved this problem?  i've gone through several different forums and see this problem everywhere but no one seems to know how to fix it.  there's been suggestions about the license # being case sensative (Which I've tried) the ./ paths, etc, but nothing's fixing it.  No cookie change, no directory switch, nada.

i'm just about almost gotten fed up with this, how have other people gotten it to work?
Logged

DoctorWho

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #4 on: September 21, 2004, 04:26:06 am »

I had the same problem and found an answer over at vBulletin.org that seems to work with a few exceptions;


Open your config.php in your includes folder of vBulletin and look for this:

PHP Code:
Quote
     // Prefix that all vBulletin cookies will have
     // For example
        $cookieprefix = '/';

You're looking to see what the Cookieprefix is set to, mine was set to 'bb', but that's what I chose when I installed vBulletin.



Change your cookie prefix in coppermine to what you have your vb cookie prefix set to. That should do the trick.

If you don't have your cookie prefix set in your config.php then set it to whatever you have set in your vbulletin options and make sure that coppermine's cookie prefix matches in the vBulletin30.inc.php file.

The problem I ran into is when in Coppermine, if you click on memberlist, it takes you to the vBulletin AdminCP login page and if you click on 'logout' while in Coppermine, it takes you back to vBulletin, but you get the "An error occurred while attempting to log you out." error.  Hopefully someone can come up with a solution for these problems..


Logged

billspaintball

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #5 on: September 21, 2004, 08:14:30 am »

Im in the same boat :(

Ive tried every suggestion I have been able to find and nothing has worked.
I just refuses to log me in :(
Logged

m0nty

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #6 on: September 22, 2004, 07:15:47 pm »

read my last post in this thread.. http://forum.coppermine-gallery.net/index.php?topic=9204.0

hopefully that should solve your problem.. :) it worked in my case anyway..
Logged

achtungbaby

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://yellowworld.org
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #7 on: September 26, 2004, 12:59:41 am »

Any suggestions for how this could work with subdomains?
Logged

Darkwind

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #8 on: January 01, 2005, 11:05:45 pm »

I had the same problem and found an answer over at vBulletin.org that seems to work with a few exceptions;


Open your config.php in your includes folder of vBulletin and look for this:

PHP Code:
Quote
      // Prefix that all vBulletin cookies will have
     // For example
        $cookieprefix = '/';

You're looking to see what the Cookieprefix is set to, mine was set to 'bb', but that's what I chose when I installed vBulletin.



Change your cookie prefix in coppermine to what you have your vb cookie prefix set to. That should do the trick.

If you don't have your cookie prefix set in your config.php then set it to whatever you have set in your vbulletin options and make sure that coppermine's cookie prefix matches in the vBulletin30.inc.php file.

The problem I ran into is when in Coppermine, if you click on memberlist, it takes you to the vBulletin AdminCP login page and if you click on 'logout' while in Coppermine, it takes you back to vBulletin, but you get the "An error occurred while attempting to log you out." error.  Hopefully someone can come up with a solution for these problems..




I have the same problem.  I switched to the vbulletin30.inc.php file for the bridge and entered the 'bb' as the cookie prefix.

However, I still have the same problem.  In the define statement for My vbulletin directory, I placed a '/' .

It just loops Me to the main page of the forum

When I change the define statement from '/' to '/gallery/' where I keep My gallery, I get a redirect timeout when I try to log in.

In all cases, the gallyer will not recognize any of My registered usernames as legitmate users and I can't even get back into the admin panel.  I'm going to delete the entire coppermine tables in the database and work on a clean install once more.

Obviously, the bridge was not well thought out as too many people are not having good experiences.

The question that needs to be asked its this:

Before intergration, does the coppermine gallery need to be set up precisely to the vbulleting in terms of usergroups, users and permissions BEFORE intergration?

Any help would be greatly appreciated.
Logged

Nibbler

  • Guest
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #9 on: January 01, 2005, 11:29:19 pm »

The bridge is not pefect due the nature of vbulletin - it is not open source and no dev is going to pay just to get the bridge working. It depends on the contributions of vb users. That being said, if you or anyone else running vb are happy to pm me ftp + phpmyadmin login details to your site I'm sure I can get it working, and have it working for the next version of coppermine too.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #10 on: January 05, 2005, 01:56:37 am »

If I change the settings around, I can login as admin but not as user...  :\'( Does the CPG database have to be in same database as vb?
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #11 on: January 05, 2005, 01:57:28 am »

yes
Logged

Nibbler

  • Guest
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #12 on: January 05, 2005, 02:07:31 am »

DefenceTalk, you can checkout the current dev version and help test the new vb3 bridge, it works with any database arrangement.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #13 on: January 05, 2005, 02:42:32 am »

sure! But first of all, how do i get cpg in same database as vb?

Save CPG sql dump, and then run a query into the vb database making sure both have different prefixes?
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #14 on: January 05, 2005, 03:04:24 am »

yup. But make sure to back up both dbs before doing so. Doesn't the cpg db already have cpg-specific prefixes? If yes, then they should already be different from the vb tables.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #15 on: January 05, 2005, 04:29:49 am »

Another thing, I am running vb3.04 not 3.03, is that okay? :-\\
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Nibbler

  • Guest
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #16 on: January 05, 2005, 02:24:25 pm »

You tell me.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #17 on: January 05, 2005, 04:25:32 pm »

live dangerous, become a beta-tester (or a guinea-pig :-X) ;D

 ;) GauGau
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #18 on: January 05, 2005, 07:04:03 pm »

Well, bring it on i guess?  :P

Now, some users can login while others are in the loop.... i think most probably cookie issue but that can't be happening if user switches PCs multiple times.

About beta testing, is it possible I can see a demo running the beta version?

And can I install dev board for vb 3.04 and demo for cpg 1.4 and pick few users from the regular forums to do some beta testing on the dev gallery / forum? If okay then I no problem.

thanks
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: VB3.0.3 Coppermine 1.3.2 Login Loop
« Reply #19 on: January 07, 2005, 11:42:56 am »

you're welcome to check out cpg1.4.x (the devel branch of the cvs) and use it wherever you want, just remember that there is no support for it. There's no official demo available, you might spot some installs if you browse the cpg1.4 testing/bugs board. Please stop discussion on the devel version here on this thread to avoid thread drift.

Joachim
Logged
Pages: [1] 2   Go Up
 

Page created in 0.026 seconds with 15 queries.