coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: pnd813 on February 28, 2005, 09:24:19 PM

Title: Can't get Coppermine to go 'offline'
Post by: pnd813 on February 28, 2005, 09:24:19 PM
Have read posts but they seem to skip the solution. When I click 'yes' on offline and update nothing changes. When I re-enter config it still shows to be 'no'. How do I get it offline? I've tried logging out without going into config and it's still online. URL is www.latent-vision.com
Title: Re: Can't get Coppermine to go 'offline'
Post by: Tranz on February 28, 2005, 09:51:23 PM
I am guessing you didn't run the update script after an upgrade. I just ran it and it says OK next to
INSERT INTO cpg132_config VALUES ('offline', '0')

please try again
Title: Re: Can't get Coppermine to go 'offline'
Post by: jpaffett on March 04, 2005, 03:12:16 PM
Was this a new install? I noticed the same problem on a new install and there's a line missing from the basic.sql script in the sql folder:

INSERT INTO CPG_config VALUES ('offline', '0');

If you run this from phpMyAdmin or the MySQL command line, it will fix the problem.