Cannot activate – too restrictive $filesize check ?
-
Hi,
The plugin seems to be nice and ticking all the boxes – it is working on a few my sites/servers, but unfortunately fails to activate on one specific case, i.e. the plugin produces .htaccess lines recommendation even if the required lines are successfully added to the .htaccess file (and plugin does not activate).
This issue seemed to be raised a few times at the forum, so looking at the code I found that in my case it happens at the Line 71 of configs.php with $filesize check – in my ‘failed activation’ case the value is 435…
Is test value of 100 deliberate or arbitrary ? If the latter, maybe consider increasing it to avoid ‘mysterious’ cases when the plugin cannot activate ?
if( $code == 200 ){ if( $filesize > 100 ){ deactivate_plugins( __DIR__ );
- The topic ‘Cannot activate – too restrictive $filesize check ?’ is closed to new replies.