Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, do you see any error messages? Can you check the log files under Filesystem Security tab.

    Plugin Contributor wpsolutions

    (@wpsolutions)

    What type of web server is your site hosted on?

    Thread Starter Bryan Willis

    (@codecandid)

    Hey it’s WPengine… I’m guessing this is the problem. I’m not getting any errors though in the error log. how is this plugin and all my settings are set up and appear to be working in the All in one dashboard. I know wpengine uses a nginx/apache hybrid, so i’m guessing it has something to do with that.

    does the blocking occur in the htacess? or with wp-config, i haven’t checked?

    define('DISALLOW_FILE_EDIT',true);

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi Bryan Willis, if your host is WPengine then I would contact their support.

    I know they keep a very strict and tight plugin allowance list. Even though All In one….is not in their exclusion list, I still recommend their support staff they will be able to help you.

    Regards.

    Thread Starter Bryan Willis

    (@codecandid)

    I also noticed that I cant change the file permissions either. Must be something with WP-Engine.

    Anyway, I’ll report back here when my ticket is replied to from wpengine. In the meantime anyone else that has this issue, here’s a simple alternative approach I’m using.

    # Block Plugin and Theme Editing in Admin. This goes in wp-config.php
    define('DISALLOW_FILE_EDIT',true);
    define( 'DISALLOW_FILE_MODS', true );
    # Force folder permissions to correct ones. This goes in wp-config.php
    define( 'FS_CHMOD_DIR', 0755 );
    define( 'FS_CHMOD_FILE', 0644 );
    # And a you can also block plugin and theme editor using a filter. This can go in functions or mu-plugin
    add_filter( 'map_meta_cap', function( $caps, $cap ) {
        if( $cap == 'edit_plugins' || $cap == 'edit_themes' )
            $caps[] = 'do_not_allow';
        return $caps;
    }, 10, 3 );
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Filesystem Security not working’ is closed to new replies.