• Resolved portupat

    (@portupat)


    Hi,

    the scanner does not finish the scan. In the Log of the Plugin I have the following informtaion after checking Debug:
    DEBUG Using sha1 algo
    DEBUG woocommerce 7.1.1
    DEBUG Attempting to download it from www.ads-software.com
    DEBUG Building files list from ZIP archive

    When I cancel the scan I receive the message “missing lock file”.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter portupat

    (@portupat)

    The debug information are the Las entries. Before that there is no error message. What can I do to finish the scan?

    Plugin Author nintechnet

    (@nintechnet)

    Maybe there’s a memory or timeout issue.
    Can you enable debugging in WordPress and see if there’s anything written to the PHP error log:
    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 );

    Run a scan (it if hangs, stop it after one minute). The log, if any, will be saved to “/wp-content/debug.log”.`

    Thread Starter portupat

    (@portupat)

    Hi,

    I followed your instructions. I can not find any memory or timeout issue. I have increased both parameters:

    max_input_vars = 3000
    post_max_size = 512M
    upload_max_filesize = 512M
    memory_limit = 512M
    max_execution_time = 180
    max_input_time = 60

    I am running php 8.1 and received a lot of php deprecated messages in the debug mode. But no message mentioned the ninjascanner. Could there be a relation to this messages?

    Thread Starter portupat

    (@portupat)

    I just downgraded to php 7.4. Same issue, scan does not finish. After canceling the process I receive the message missing lock file. No messsages in the debug.log

    Plugin Author nintechnet

    (@nintechnet)

    It is unlikely related to your PHP version because NinjaScanner was tested with PHP 8.2.
    But if there’s nothing in the PHP error log, it could be due to your HTTP server closing the connection. Can you check the HTTP server error log?

    Thread Starter portupat

    (@portupat)

    Hi,

    I receive the following message: End of script output before headers: admin-ajax.php

    Plugin Author nintechnet

    (@nintechnet)

    That seems to be the problem: It looks like your server timed out before the script completed. The scanner sends several requests to the admin-ajax.php script.
    Can you increase the HTTP server time-out? Do you have root access?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Missing Lock File | Scan does not finish’ is closed to new replies.