Support » Plugin: NinjaScanner - Virus & Malware scan » The scanning process doesn’t seem to be able to start.

  • Resolved crbull

    (@crbull)


    Hi, after the update, the plugin is asking for

    The scanning process doesn’t seem to be able to start. If your website is password-protected using HTTP basic authentication.

    No sure what do I have to do.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 32 total)
  • Plugin Author nintechnet

    (@nintechnet)

    That means that it sends an AJAX request to start the scan, but that failed.
    Can you try the following:
    1. Open your browser’s console (CTRL + shift + j) and start a scan. Do you see any error in the console?
    2. Change the fork method: “NinjaScanner > Settings > Advanced Users Settings > Scanning process”. Which one are you currently using, WP-CRON or AJAX?

    Thread Starter crbull

    (@crbull)

    Hi,

    It was using AJAX, but even if I change it to WP-CRON same error comes up.

    The scanning process doesn’t seem to be able to start. If your website is password-protected using HTTP basic authentication, you can enter your username and password in the “Settings > Advanced Settings” section.

    I don’t see any error in the console.

    Plugin Author nintechnet

    (@nintechnet)

    Do you have any security plugin installed? Or security rules in your .htaccess that could potentially prevent the scanner from running?

    Thread Starter crbull

    (@crbull)

    All in one security Plugin, but even if I deactivate it, NinjaScanner still not working. It was working fine with last version.

    Thread Starter crbull

    (@crbull)

    ninjascanner.2.0.10 works fine for me!

    Plugin Author nintechnet

    (@nintechnet)

    When you disable the “All in one security” Plugin, does it remove its rules from the .htaccess file or does it keep them?

    You can keep using the old 2.0.10 if you want (https://downloads.wordpress.org/plugin/ninjascanner.2.0.10.zip ).

    Plugin Author nintechnet

    (@nintechnet)

    What is your PHP version? Is it <7.3?

    I’m experiencing the same issue as original poster. Started to happen after recent update to 3.0.1. I was working fine before with 2.0.10. No JS errors. I do have NinjaFirewall installed but it was working fine with it before so it couldn’t be the reason. Had to rollback to ver 2.0.10 to make it work again. I’m using PHP 7.4.

    Plugin Author nintechnet

    (@nintechnet)

    @dimsal : enable debugging in WordPress:
    1. Edit your wp-config.php
    2. Search for:
    define('WP_DEBUG', false);
    3. Replace with:
    define('WP_DEBUG', true);
    4. Add this line below:
    define( 'WP_DEBUG_LOG', true );
    5. Run a scan.

    The log (if any) will be located in “/wp-content/debug.log”.
    Open it, search for any line that has the “ninjascanner” substring and paste it here.

    I’m getting this error multiple times:

    PHP Warning: chmod(): Operation not permitted in /var/www/mydomain.com/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173

    Plugin Author nintechnet

    (@nintechnet)

    I fixed a similar issue in the scanner, but that should affect only older PHP versions <=7.2.
    Try it anyway:
    1. Make sure you’re running 3.0.1.
    2. Download this file: https://plugins.trac.wordpress.org/export/HEAD/ninjascanner/trunk/lib/scan.php
    3. Over FTP, save it to your wp-content/plugins/ninjascanner/lib/ folder to replace the existing one.
    4. Try to start a scan.

    When I try to run the scan it shows me this error and stops:

    Fatal error: NinjaScanner files integrity check: Decoded hashes seem corrupted. Aborting.

    Plugin Author nintechnet

    (@nintechnet)

    That’s normal, it detects there was a change in the file.
    Disable this option: Settings > Advanced Users Settings > Always verify NinjaScanner’s files integrity before starting a scan.

    Yes, with this new scan.php file the scanning is back to normal. Confirmed.

    Thank you.

    Plugin Author nintechnet

    (@nintechnet)

    That’s odd, because what was fixed is supposed to affect PHP 7.2 and below, not 7.4.
    I’ll release version 3.0.2 today with the new patch.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘The scanning process doesn’t seem to be able to start.’ is closed to new replies.