• Resolved Humaniza

    (@humaniza)


    Hi,
    I’ve installed this plugin in several websites, and I’ve encountered some error in only two cases. On this two websites, the “Check now” process always returns a general “Report not available” to all the items in the list (WordPress, plugins and themes)

    I suspect it could be related to some server configuration such as php execution, firewall, but I don’t know where to start to debug this.

    Can you give me some advice, some point I should check, in order to detect what is the nature of the problem here? maybe some exception in the PHP version, the wp version, the server configuration…

    I’m at your full disposal in order to debug this, if you want me to try anything I’ll be glad to help

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Some servers block the PHP function curl() for external requests and without this function the plugin can’t get the information from WPScan website. You can test using this script in your theme file function.php. You have to see a JSON returned, if an error appears, try to ask your server about using PHP curl() function.

    $response = wp_remote_get('https://wpvulndb.com/api/v2/wordpresses/48');
    echo '<p>Responde Code: ' . wp_remote_retrieve_response_code($response) . '</p>';
    $body = wp_remote_retrieve_body($response);
    echo '<pre>';
    print_r(json_decode($body));
    echo '</pre>';
    exit;

    Another thing to check, read the section “Block External URL Requests”.

    https://codex.www.ads-software.com/Editing_wp-config.php

    Thread Starter Humaniza

    (@humaniza)

    OK, I have tried your code in the two failing websites, and both return:

    “Response Code: ” with nothing more.

    No error, but blank response code.

    Is it the expected behavior in case of CURL problem? Any other piece of code you would like to try to get more info on the error? instead of the blank response.

    It should be something related to this, because we have not set any “Block External URL Requests” policy.

    Really looks like block from the server, we have opened a support ticket, will update on news. Thank you for your response.

    • This reply was modified 7 years, 7 months ago by Humaniza.

    For those sites, can you install plugins and update something? Does it work normally and just my plugin fails? Because those actions use the same method to retrieve external content.

    Thread Starter Humaniza

    (@humaniza)

    On those websites I get similar problems for instance with Jetpack, that sometimes it says it is not connected, needs to reconnect…

    Anyway, its clearly not your plugin’s fault, It is working flawlessly well on several others of my sites.

    I’m gonna mark it as resolved, thank you for your support and keep on the good work!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Report not available in some sites’ is closed to new replies.