• Resolved o6asan

    (@o6asan)


    I have a PHP error when scanning the files since updating to version 2.0.

    It occurs when I use File Hash Check Method is ‘On’.

    Today, I updated. But nothing changed.
    Still I have “PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\WWWROOT\\wp-content\\plugins\\wordpress-file-monitor-plus\\classes\\wpfmp.class.php on line 292” on my Apache error log.

    When I don’t use File Hash Check Method, the plugin works very well.

    How can I fix it?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wordpress-file-monitor-plus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter o6asan

    (@o6asan)

    I made a mistake in writing.

    On the new version, it’s not ‘line 292’ but ‘line 296’.
    Anyway, the plugin stuck at the line,
    $dirs[$full_file_name]["md5"] = md5_file( $full_dir_file_name );

    Thanks in advance.

    Plugin Author Scott Cariss

    (@l3rady)

    Basically what is happening is that with the hashing check switched on the scan is taking longer than 30 seconds to complete and is exiting as your PHP setting is only set to run no more than 30 seconds.

    You could try putting set_time_limit(60); in your WordPress config file to give you an extra 30 seconds to run the script.

    Thread Starter o6asan

    (@o6asan)

    Thanks a lot, Scott.

    When I put set_time_limit(90); in my WordPress config file, it works.

    My own present server, the old laptop computer, has low specs.
    Mobile Intel Pentium 4M, 1.8GHz
    Only 512 MB RAM,
    and its OS is WindowsXP Home Edition. But my site is not very big.

    Until version 1.4.1 which did not support multisite, I had no that kind of error. The old version scanned each child site, and the new scans all sites as A big site. So, it takes much longer time than usual. Am I right?

    On the next or more newer version, is it possible to continue multisite support and to scan each child site like the old version? If possible, I will appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress File Monitor Plus] PHP Fatal error when scanning with Hash check 'On'.’ is closed to new replies.