• Resolved rtech

    (@alivemachine)


    I just installed your plugin. It’s going through the complete scan and right now it’s at 0% after 111 minutes. 0 folders with 680 folders to go. It’s scanned 124 files so far. I don’t think it should be taking this long.

    I’ve been having a problem with my site the past few days with pages taking a long time to load. First it was the backend, now it’s the backend and the public site. Maybe this is affecting the scan? Also did a securi check today and it showed the site had malware. That’s why I installed your plugin.

    https://www.ads-software.com/plugins/gotmls/

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

    (@scheeeli)

    You are right, it should not be taking that long. This could because you have a recursive symlink in your site path or more likely there is a PHP error that is being dumped out in the middle of my javascript and causing a syntax error that stops it from processing.

    Try adding error_reporting(0); to the top line of code in my plugin to suppress these errors or turn off display_errors in your php.ini file.

    If you need more help with this you can contact me directly: eli AT gotmls DOT net

    Thread Starter rtech

    (@alivemachine)

    Works. Thanks for the help and the cool plugin.

    Sir I am also having the same problem scanning is stucked at 0%

    I am having the same problem – the quick scan and complete scan stall after just a few seconds and the scan stays at 0%. I have read the response above but do not understand how to carry out these actions.
    Scan log –
    Complete Scan of plugins started 33 seconds ago and has not finish
    Complete Scan of public_html started 1 hour ago and ran for 9 seconds
    Complete Scan of public_html started 1 hour ago and ran for 14 seconds
    Complete Scan of public_html started 5 hours ago and ran for 9 seconds
    Complete Scan of public_html started 6 hours ago and ran for 11 seconds
    Complete Scan of wp-content started 8 hours ago and ran for 11 seconds
    Complete Scan of wp-content started 8 hours ago and has not finish
    Quick Scan of public_html started 8 hours ago and has not finish
    Quick Scan of public_html started 14 hours ago and has not finish
    Quick Scan of public_html started 7 days ago and has not finish
    Quick Scan of public_html started 7 days ago and has not finish
    Complete Scan of wp-content started 23 days ago and ran for 24 minutes
    Quick Scan of public_html started 25 days ago and has not finish
    Quick Scan of public_html started 25 days ago and ran for 5 seconds
    Quick Scan of public_html started 25 days ago and ran for 0 seconds
    Complete Scan of wp-content started 25 days ago and ran for 8 minutes
    Complete Scan of wp-content started 25 days ago and ran for 3 minutes
    Complete Scan of plugins started 25 days ago and ran for 8 seconds
    Quick Scan of public_html started 25 days ago and ran for 48 seconds
    Quick Scan of public_html started 25 days ago and ran for 5 minutes

    I am now finding it impossible to do any editing on my site – https://www.richardemills.co.uk

    Plugin Author Eli

    (@scheeeli)

    There are many factors that could be interfering with the scan on your site. In this topic it was found that PHP errors were causing the javascript to fail and the solution was to add error_reporting(0) to my code. As this topic has been resolved and that is not an issue any more, it is likely that the problem you are experiencing has a different cause.

    Can you use a JavaScript debugger to tell if there are any JavaScript errors on the page when running a scan?

    I see that a Complete Scan of wp-content started 23 days ago and ran for 24 minutes. That seems to suggest that it was working at that time. How long have you waited to see if there is a change in the percentage after you start the scan?

    Maybe you could post a screenshot of your Scan results after waiting about 5 minutes so that I can see what it looks like on your end and then maybe I’ll have more helpful suggestions too.

    I have a screenshot of the very first scan that I did and have just done a second showing the current problem but I do not know how to add them to this post. I also do not know how to use a JavaScript debugger.

    Although the scan appears to be stalled there is some movement in the description of what is being scanned e.g. Scanning …/wp-content/backup-1409048505-plugins/jetpack/_inc/images …..and although it still says 0% – 2 Folders Checked
    9 Seconds Elapsed and is still showing – 692 Folders Remaining
    24 Minutes Remaining
    the description is changing e.g. – Scanning …/wp-content/backup-1409048505-plugins/jetpack/modules/after-the-deadline
    It has now been running for about 30 minutes

    Plugin Author Eli

    (@scheeeli)

    You can paste your screenshots to snag.gy and then post the links here.

    Firefox has and Error Console in the Tools menu that will show you any error generated on the page. Chrome has a Console tab in the Element Inspector that does the same.

    This is a screenshot showing the plugin has worked the first time I tried it. This is a more recent screenshot after I contacted you.
    And this is a screenshot showing the element inspection in Chrome.
    I left the plugin running all night but when I checked it still said 0% but when I ‘inspected the element’ there were loads of error messages about insufficient resources
    I am out of my depth here!
    The latest line in the element inspection is – GET https://www.richardemills.co.uk/wp-admin/admin-ajax.php?action=sns_state_get_status net::ERR_CONNECTION_REFUSED

    Plugin Author Eli

    (@scheeeli)

    The screenshots are helpful, mostly the last one that shows there are errors on the page, but there would be more data if you wait at least two minutes into the scan before taking a screenshot so that there s more data (also it would have been more helpful to see those errors expanded).

    At this point I am almost certain that there is an error being dumped into the JavaScript output that is causing your issue. Without direct access to your WP Admin it’s hard to say exactly what is causing it but if you can get one more screenshot then I think I can help you fix it. This time have the Element Inspector in Chome open to the Network tab, then start a Complete Scan. There will be a lot of files listed right after the page loads, then scroll down to the bottom of the list and wait for some named admin.php?page=GOTMLS… (you may need to wait at least 30 seconds, maybe even 60 would be better). Then Click on one of those files and switch from the Headers tab to the Response tab. This should just contain javaScript but I believe we may find some HTML of PHP Warnings mixed in here that are causing this problem. Eee if you can make the Response window big enough on your screen to see the entire contents before taking a screenshot (or at least any non-javascript contents).

    There is something wrong with my website (the backend) as I am having problems accessing my media library, and I am now not sure what came first – this problem or the scanning problem, but here are three more screenshots –
    When I went to the response tab there was nothing in it –
    Screenshot 1
    Screenshot 2
    Screenshot 3

    Plugin Author Eli

    (@scheeeli)

    ok, I did not really expect the response tab to be blank. But I think Screenshot 2 holds the clue to that. Am I right in assuming that the line for admin.php?page=GOTMLS… that says “pending” would eventually load or does it just stays on pending?

    It seems like it should either load or fail to load after a time. I am not sure what could cause it to stay on pending forever. I would think that it should have to load eventually or timeout or throw an error. How long did it sit on that page before you took that screenshot?

    One more thing you could try is to copy the URL to that pending file and paste it into a new browser window and see if it ever loads anything or if Chrome will at least give you some kind of timeout error message.

    I think it must have been about 5 or 10 minutes – there was no ‘time-out’ or error message that I was aware of. I am running it again to check. It has been running for about 15 minutes and is still ‘pending’.
    This is what I get if I put the URL in a new tab in Chrome.
    Does that make any sense?

    Still showing as pending after 90 minutes+

    Plugin Author Eli

    (@scheeeli)

    That’s weird that you get the JavaScript to come up when you load that URL manually but it does not ever load when called from inside the results page. Have you tried other browsers just to see if it is any different?

    You also mentioned you were having problems accessing my media library there could be something else that is causing both problems on your site. Do you know what other changes may have been made to your site since the last time that my plugin was working on your site? Any new plugins added or upgraded?

    I added “All-in-One-Buttons” plugin from the WordPress plugin page, but that is the only new element that I can think of. Is it worth me un-installing it as it didn’t do what I wanted it to do?

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘2 hours and scan at 0%’ is closed to new replies.