• Resolved mirceadia

    (@mirceadia)


    Hi, I just downloaded your plugin.
    The quick scan works. The Complete scan never really finishes… it just sits on scanning at 0%. It says 3 Seconds Elapsed and Calculating Time Remaining after 10 hours of scanning.
    Any ideas please?

    https://wordpress.org/plugins/gotmls/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eli

    (@scheeeli)

    I would guess that there is either another plugin or theme that is corrupting the output buffer, or a recursive symlink in the scan path.

    Are you getting a warning about “output buffer handlers”?

    Does the message above the progress bar change at least once every 30 seconds, or is it stuck on Preparing a specific folder?

    You could try just scanning the plugins to see if you get a different result.

    If your browser has a debug feature you could check the page for JavaScript errors.

    If you’re still really stuck your can email me directly, send me your WP Admin login and I’ll have a look at it in a few hours:
    eli AT gotmls DOT net

    Thread Starter mirceadia

    (@mirceadia)

    Thank you Eli for the quick reply.

    There wasn’t any warning.
    The message above the progress bar changes, actually the path slowly changes.
    Scanning the plugins performed the same way.
    I’m not very familiar with JavaScript.
    I emailed you my info.

    Thank you

    Plugin Author Eli

    (@scheeeli)

    Just updating this topic with the resolution in case it could help anyone else.

    The problem was that the server is trying to write a session file to the “tmp” directory and when it fails it’s throwing a Warning to the browser that breaks the page.

    <b>Warning</b>: Unknown: open(/tmp/sess_xxxxxxxxxxxxxxxxxxxxx, O_RDWR) failed: No such file or directory (2) in <b>Unknown</b> on line <b>0</b>

    You can see these errors on almost every page. There are 3 solution to this problem:
    1. You can turn off display_errors or error_reporting in your php.ini
    2. You can fix the permissions on that tmp folder so that your webserver can write to it
    3. You can set the session.save_path toa directory that your server can write to

    I fixed the error by adding error_reporting(0); to the top of my plugin. There may still be a problem with the server storing sessions on that site but at least the errors are suppressed so my plugin can scan the site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Complete scan duration’ is closed to new replies.