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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.  :)