forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: diavolo95 on June 06, 2005, 05:12:48 pm

Title: Locked Out after Hiding Gallery?
Post by: diavolo95 on June 06, 2005, 05:12:48 pm
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?  ???
Title: Re: Locked Out after Hiding Gallery?
Post by: canelli on June 06, 2005, 07:40:32 pm
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"  
Title: Re: Locked Out after Hiding Gallery?
Post by: kegobeer on June 06, 2005, 08:04:32 pm
Quote
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"

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.
Title: Re: Locked Out after Hiding Gallery?
Post by: diavolo95 on June 07, 2005, 06:16:43 pm
Thanks very much, I edited the offline field in phpmyadmin and everything is fine now.  :)