Still no luck
When pushing the Scan button I can see in the error log
POST /wp-admin/admin-ajax.php HTTP/1.1" 404 20 "wp-admin/admin.php?page=nfsubmalwarescan
10 times when I adjust the time to 10 sec in the loop of your script.
I do not think time is the problem, the problem looks like some file(s) which should be loaded are not found. This not only happens in 1 server or wordpress installation, but about 10 different installations on 3 different servers, so there is no server issue here.
When I look in your script there are some definitions:
define('MSC_TOT_SIGS', NFW_LOG_DIR . '/nfwlog/cache/malscan_tot.sigs' );
define('MSC_END', NFW_LOG_DIR . '/nfwlog/cache/malscan.end' );
define('MSC_COUNT', NFW_LOG_DIR . '/nfwlog/cache/malscan.count' );
define('MSC_LOCK', NFW_LOG_DIR . '/nfwlog/cache/malscan.lock' );
define('MSC_RES', NFW_LOG_DIR . '/nfwlog/cache/malscan.res' );
define('MSC_SCAN_TIME', NFW_LOG_DIR . '/nfwlog/cache/malscan_time.php' );
define('MSC_LMD_SIGS', __DIR__ . '/share/sigs.txt' );
define('MSC_MAXMEM',NFW_LOG_DIR . '/nfwlog/cache/malscan.mem' );
All the files in the cache
directory are not in my cache
folder. Maybe there is a problem there? or something similar, looks like file not found
problem