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: Session Error when logging out from Gallery w/ YaBBSE bridge  (Read 2983 times)

0 Members and 1 Guest are viewing this topic.

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Session Error when logging out from Gallery w/ YaBBSE bridge
« on: February 29, 2004, 10:04:22 pm »

If I log into my SE forums and then go to the gallery everything reads the profile correctly.  When I go to logout though it takes me to the forums, as it should, but I get a session error and it won't log me out.  Any fix?

Thanks  :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #1 on: March 01, 2004, 07:36:33 am »

disable the sessions in YaBB SE... :wink:

GauGau
Logged

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #2 on: March 05, 2004, 10:15:27 pm »

Here is the response from YaBBSE when I asked how I could disable the sessions.

Quote

Yes, there's a way, but it's not advised because 'just disabling the sessions' may 'just' compromise the security of your board!


They also said:

Quote
Make sure that PHP is still dealing with sessions properly & it should just work.


Is there something with the bridge file that is off?

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #3 on: March 10, 2004, 05:14:27 am »

Any insight?  Please  :D

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #4 on: March 10, 2004, 08:45:57 am »

I simply don't know, sorry...

GauGau
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #5 on: March 11, 2004, 01:44:11 am »

PHP Sessions must be enabled and working on the server. The 'security check' for logging out (& a few other things), is actually just the PHP session ID passed in the query string.

If the logout button isn't working, there are three possibilities :-

You are using a really old version of the bridge from before I knew what the 'security check' was.
Something is wrong with the server's session support
Something is wrong with your YaBB installation
The session isn't getting initialised for some unknown reason.

In case it is the last possibility, I have produced an updated bridge file which ensures that the session is initialised.

I have uploaded it to the 'devel' branch in CVS. It takes some time (a few hours I think) before the public CVS is synched with the development one. When that occurs, you should be able to get the file via the web access to CVS. It will be labelled as from 'Coppermine 1.3', but don't worry, the bridge files are compatible with 1.2.1.
Logged
Please do not contact me for support directly - instead: post on this board!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Session Error when logging out from Gallery w/ YaBBSE bridge
« Reply #6 on: March 11, 2004, 07:56:46 am »

get it here

GauGau
Logged

storm

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
fixed logout but now i get a different error
« Reply #7 on: April 05, 2004, 04:50:09 pm »

The updated bridge file fixed the logout error just fine. But now my user were getting this error when they tried to access the user galleries (they could go to  the "my gallery" link but if they clicked HOME> User Galleries thats when the error happened.)

Critical error
There was an error while processing a database query

So I had to switch back to the 1.2 version of the file. Maybe i will need to live the log out error. Beside doing the once time setting pointing to my forums location was there anything i was supposed to when replacing this file?  

Oh I am using YABBSE 1.5.5 on windows 2003 running apache 2.0 using the GD2 version that comes with php 4.3.4 and  YABB and coppermine is usning the same databse in mysql.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.