• Hi,

    I am running the plugin on a network subdomain for the first time.

    The message “Analyzing site” appears but the analysis never completes and the message never changes.

    Help appreciated.

    Steve

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Hi Steve,

    Please check your PHP error logs on the server.

    There may be a required extension for PHP missing or another error.

    Cheers,

    Leon

    Thread Starter insightdes

    (@insightdes)

    Hi Leon,

    I’ve checked the error logs, and there are no errors from my most recent use of WP2Static.

    Cheers,
    Steve

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Steve,

    OK, we’ll need to try a few more debugging steps…

    ### 1 ###

    In the plugin > Advanced > enable Debug Mode

    Save and reload plugin page

    Check if a log was created under Logs > Export Log

    Email that to me: [email protected]

    ### 2 (harder) ###

    Before running export, open your browser console to the Network tab.

    Reload page.

    Check the XHR request to admin ajax URL with ajax_action of generate_initial_filelist or such.

    ###

    There may not be enough logging enabled on the server to see errors. Could you please let me know some more details of where this WP site is hosted?

    Cheers,

    Leon

    Thread Starter insightdes

    (@insightdes)

    Hi Leon,

    When I try to enable Debug Mode, there is no save button: https://i.imgur.com/LMsJbQd.png

    I will look @ #2 now.

    Cheers,
    Steve

    Thread Starter insightdes

    (@insightdes)

    Hi Leon,

    I see a 403 error for admin ajax:

    View post on imgur.com

    Cheers,
    Steve

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Steve,

    Could you please expand the details on that 403 response?

    I’d like to confirm that it’s the generate_filelist request.

    Is there http basic authentication on this server? Any security plugins that could be blocking this?

    Windows/Mac/Linux/BSD hosting environment?

    Cheers,

    Leon

    Thread Starter insightdes

    (@insightdes)

    Hi Leon,

    We’re in a cPanel environment.

    I see:

    Request URL: https://example.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: 403
    Remote Address: 103.50.13.3:443
    Referrer Policy: strict-origin-when-cross-origin
    cache-control: no-cache, must-revalidate, private
    content-type: text/html; charset=UTF-8
    date: Wed, 20 Feb 2019 04:15:01 GMT
    expires: Sat, 26 Jul 1997 05:00:00 GMT
    pragma: no-cache
    server: Apache
    status: 403
    :authority: example.com
    :method: POST
    :path: /wp-admin/admin-ajax.php
    :scheme: https
    accept: text/html, */*; q=0.01
    accept-encoding: gzip, deflate, br
    accept-language: en-US,en;q=0.9
    cache-control: no-cache
    content-length: 867
    content-type: application/x-www-form-urlencoded; charset=UTF-8
    cookie: [deleted]
    wordpress_test_cookie: [deleted]
    origin: https://example.com
    pragma: no-cache
    referer: https://example.com/wp-admin/admin.php?page=wp2static
    user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
    x-requested-with: XMLHttpRequest
    selected_deployment_option: folder
    targetFolder: /home/user/example.com/mystaticsite
    detection_level: everything
    crawl_delay: 0
    removeConditionalHeadComments: 1
    removeWPMeta: 1
    removeWPLinks: 1
    removeHTMLComments: 1
    crawl_increment: 1
    deployBatchSize: 1
    delayBetweenAPICalls: 0
    _wpnonce: 3828b4a140
    _wp_http_referer: /wp-admin/admin.php?page=wp2static
    action: wp_static_html_output_ajax
    wp_site_url: https://example.com/
    wp_uploads_path: /home/user/example.com/wp-content/uploads
    wp_uploads_url: https://example.com/wp-content/uploads
    wp_site_path: /home/user/example.com/
    wp_inc: /wp-includes
    wp_active_theme: /wp-content/themes/Divi
    wp_uploads: /wp-content/uploads
    nonce: [deleted]
    ajax_action: generate_filelist_preview

    Thread Starter insightdes

    (@insightdes)

    There is an IP block in the site’s .htaccess, blocking India, China, Russia etc…

    There is no .htaccess authentication for /wp-admin

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi @insightdes,

    Your local machine may know to resolve example.com to your site, but does the server that you run the plugin on know this?

    You may need an /etc/hosts entry added for it…

    Cheers,

    Leon

    Thread Starter insightdes

    (@insightdes)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘“Analyzing site” never completes’ is closed to new replies.