Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
admin.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2005 at 04:37 UTC
Updated:
1 Apr 2006 at 19:30 UTC
Problem:
Setting site status to offline in admin > settings seems to have no effect when cache is enabled. The site goes offline correctly only when cache is disabled
To reproduce:
1. Go to admin > setttings.
2. Enable cache and save.
3. Set site status to offline.
4. View the site as another user, and see that the site is still online.
5. Disable cache.
6. See that the site is now correctly offline.
Test system:
- drupal-cvs
- postgresql 8.0
- apache2
- firefox
Comments
Comment #1
drewish commentedI'm not able to replicate this. After following the steps you provided, I checked that the maintence screen was displayed for non-admin users when the site was offline and as soon as the change was made from offline to online the page was displayed correctly.
Comment #2
Brian@brianpuccio.net commentedI tried to replicate same (though I use mysql and not postgresql) and was unable to when using 4.7.beta6. The drupal_site_offline function seems to work fine with caching enabled for anon. visitors. Please re-open if the problem persists with 4.7.beta6 since you ran into this problem several months ago.
Comment #3
(not verified) commented