• Has this been tested with multisite?

    When running scan:
    Fatal error: Maximum execution time of 45 seconds exceeded in /home/mysite/public_html/wp-content/plugins/timthumb-vulnerability-scanner/cg-tvs-filescanner.php on line 81

    I tried to increase some of the timeout settings (Curl) in the plugin code to see if that would help, then ran again…seemed to run ok, but then seemed to finish with no indication of anything found or any other indication of anything. So I don’t know if it worked or not.
    I have a LOT of plugins installed (but not activated), so maybe that has something to do with it.

    Thanks,
    Jeff

    http://wordpress.org/extend/plugins/timthumb-vulnerability-scanner/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Peter Butler

    (@peterebutler)

    Hey Jeff –

    No, I havent tested it with multisite specifically – but I can’t see why it wouldn’t work.

    The problem you’re seeing is almost certainly related to the number of plugins/themes that are on the server (even if they’re not activated). We could try increasing the timeout, but it’s possible that your server just can’t handle scanning the whole mess in one go.

    To get around this, you have a couple options:

    First, you could just delete all of (or many of) the plugins that you’re not using – this is probably teh best choice from a security standpoint.

    Second, try increasing the timeout like this:

    In the file cg-tvs-filescanner.php, on line 12 (right after the line with __construct), add this:

    set_time_limit ( 300 );

    Save the file, and run it again. if you still see “Maximum execution time of 45 seconds”, your server probably has safe mode turned on, so we can’t change the timeout. At that point, your only real option is to clean up your plugins list to get it to work. It’s possible to run the scan in chunks, but it would require a fair amount of code – more than I have time to put together today.

    Let me know how it goes!

    I am running a multisite and it worked fine for me. Thank you, this save me from sleepless nights.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Timthumb Vulnerability Scanner] Fatal error: Maximum execution time of 45 seconds exceeded’ is closed to new replies.