• Resolved max_Q

    (@max_q)


    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)
Viewing 1 replies (of 1 total)

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