Locked Out after Hiding Gallery? Locked Out after Hiding Gallery?
 

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

Locked Out after Hiding Gallery?

Started by diavolo95, June 06, 2005, 05:12:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

diavolo95

Hi there, I'm hoping I have posted this in the correct place (if not please let me know and I will repost elsewhere).  I attempted to hide the gallery using the option in the Config. menu, then was promptly logged out and could not sign back in as Admin.  I have tried directly connecting to the admin.php page but it still gives me the "Gallery is offline" message.  Is there a way for me to get back to the admin login screen or am I doomed to be locked out forever?  ???

canelli

you can't change the gallery status from the gallery itself
You must change the gallery status directly in the database.
Using phpmyadmin , or a similar package, you must edit the data in cpg_config table, you must edit the line marked "offline" in description colun, and set the column valute to "0"  

kegobeer

Quoteyou can't change the gallery status from the gallery itself
You must change the gallery status directly in the database.
Using phpmyadmin , or a similar package, you must edit the data in cpg_config table, you must edit the line marked "offline" in description colun, and set the column valute to "0"

That is not true.  You can put the gallery into maintenance mode and take it out of maintenance mode without manually editing the database.  If you aren't using v1.3.3, upgrade and you shouldn't have any more problems.  If you are logged in as the admin, the gallery won't log you out, so you can get back in, but your visitors will only see the maintenance screen.
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

diavolo95

Thanks very much, I edited the offline field in phpmyadmin and everything is fine now.  :)