Session Error when logging out from Gallery w/ YaBBSE bridge Session Error when logging out from Gallery w/ YaBBSE bridge
 

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]

Main Menu

Session Error when logging out from Gallery w/ YaBBSE bridge

Started by EliteRides, February 29, 2004, 10:04:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EliteRides

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


EliteRides

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

QuoteYes, 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:

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

Is there something with the bridge file that is off?

EliteRides


Joachim Müller


jack

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.
Please do not contact me for support directly - instead: post on this board!

Joachim Müller


storm

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.