• Cannot start Ninjascanner…

    Error: Cannot start the scan. More details may be available in the scanner log.

    In the scanner log…

    20-Jan-18 09:31:33 INFO Scheduling a scanning process
    20-Jan-18 09:31:35 ERROR Fatal error: scheduled task failed (spawn_cron). More details may be available in your server HTTP log. Aborting
    20-Jan-18 09:31:35 INFO Cancelling scanning process

    In my server HTTP log…

    xxx.xxx.xxx.xxx – – [20/Jan/2018:17:37:10 +0800] “POST /wp-admin/admin.php?page=NinjaScanner&nscantab=summary HTTP/1.0” 200 29681 “https://domain.my/wp-admin/admin.php?page=NinjaScanner&nscantab=summary” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.58”
    xxx.xxx.xxx.xxx – – [20/Jan/2018:17:37:13 +0800] “GET /wp-admin/load-styles.php?c=0&dir=ltr&load%5B%5D=dashicons,admin-bar,wp-jquery-ui-dialog,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menu&load%5B%5D=s,wp-pointer,widgets,site-icon,l10n,buttons,wp-auth-check&ver=4.9.2 HTTP/1.0” 200 84787 “https://domain.my/wp-admin/admin.php?page=NinjaScanner&nscantab=summary” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.58”

    Any idea? Thanks

    • This topic was modified 6 years, 10 months ago by lcf.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Search for the line containing POST /wp-cron.php?doing_wp_cron... right before the POST /wp-admin/admin.php?page=NinjaScanner... request.
    Alternatively, download the new settings page from the trunk folder, it contains a diagnostics tool:
    1. Make sure you are running NinjaScanner 1.0.5, or update it.
    2. Download this file: https://plugins.trac.www.ads-software.com/export/HEAD/ninjascanner/trunk/lib/tab_settings.php
    3. Save it to your “/wp-content/plugins/ninjascanner/lib/” and replace the current one with it.
    4. Log in to WordPress and click on “NinjaScanner > Settings > Advanced Users Settings > Nerds Settings > Debugging > Run diagnostics”.

    It’s the same here, too. When running under the Nerds Setings the Diagnosic, I’ll get back the following: “Error: The server returned the following HTTP code: 401”, nothing more.
    Any advice?

    Plugin Author nintechnet

    (@nintechnet)

    “HTTP 401” is the “Unauthorized error” which means that you need authentication (login + password) to access a page. NinjaScanner calls the “wp-cron.php” script. Did you password-protect it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: Cannot start the scan’ is closed to new replies.