Title: Wrong Safe Mode warning
Last modified: August 20, 2016

---

# Wrong Safe Mode warning

 *  Resolved [max_Q](https://wordpress.org/support/users/max_q/)
 * (@max_q)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/wrong-safe-mode-warning/)
 * Hi,
 * Unfortunately, I’m on a host that passionately believes that Safe Mode is a useful
   part of their security strategy. Knowing nothing about servers, I have no opinion
   other than it’s a PITA to get things working. At least they’ve enabled safe_mode_gid,
   so usually it’s a matter of setting group ID correctly.
 * In jumping through the hoops to get WP Super Cache working, I noticed that the
   Safe Mode warning I’m being shown says ‘You or an administrator must disable 
   this…’ etc. whereas I should be seeing ‘You or an administrator may be able to
   make it work …’ etc. from line 168 of wp-cache.php.
 * It seems like the logic is backwards in ine 166:
    if( !ini_get( ‘safe_mode_gid’)){
   The ! should probably be removed so that only people with hard core Safe Mode
   get shown the ‘must disable’ message while those of us with safe_mode_gid on 
   get shown the message that we still have hope.
 * Luckily, I’m stupid and stubborn and worked through the errors to make the necessary
   GID assignments. And the good news is WP Super Cache is installed and activated
   on a WP multisite with domain mapping under Safe Mode with GID on, and it’s not
   throwing any errors. It even seems like it’s working.
 * Regards

Viewing 1 replies (of 1 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/wrong-safe-mode-warning/#post-2120619)
 * Interesting. Thanks for reporting that.

Viewing 1 replies (of 1 total)

The topic ‘Wrong Safe Mode warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)

 * 1 reply
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/wrong-safe-mode-warning/#post-2120619)
 * Status: resolved