[support] changing online/offline mode via db or settings.php doesn't work

Michael Prasuhn mike at mikeyp.net
Sun Nov 2 16:55:23 UTC 2008


On Nov 2, 2008, at 7:15 AM, Daniel Caillibaud wrote:

> Le 01/11/08 à 20:18, Michael Prasuhn <mike at mikeyp.net> a écrit :
>
>> In settings.php the value you are looking for is
>>
>> $conf['site_offline'] = '1';
>>
>> 's:1:"1";' is a serialized value used to store PHP variables in a
>> database column. It is basically short hand for, "a string whose
>> length is 1 character(s), and contains the character 1."
>
> Thanks, but it's not enough, because cache I guess.

I assume you have page caching turned on, and that is what you are  
referring to. Just to be clear, the $conf values supplied from  
setttings.php are *never* cached between page requests.

-Mike

__________________
Michael Prasuhn
mike at mikeyp.net
http://mikeyp.net






More information about the support mailing list