• Resolved kanekosfaber

    (@kanekosfaber)


    Dear developers

    Thank you for developing and maintaining this valuable plugin.

    I selected this for generating static files of my site.

    This time, I ask one weird situation I faced.

    Even if I clicked “generate” button (『静的ファイルを生成する』 in Japanese), no actions made.

    When I click the button, browser’s network tab show me the following rows.

    ### Request
    
    Request URL: https://{domain}/wp-admin/admin-ajax.php
    
    Request method: POST
    
    Status code: 200
    
    Payload: _ajax_nonce=55925e2031&action=static_archive_action&perform=start&is_network_admin=0&settings_type=site
    
    ### Response
    
    action: "start"
    activity_log_html: {last activity's log}
    done: true
    pages_status: {remaining: 1, total: 19}
    ### Request
    
    Request URL: https://{domain}/wp-admin/admin-ajax.php
    
    Request method: POST
    
    Status code: 200
    
    Payload: _ajax_nonce=55925e2031&action=static_archive_action&perform=ping&is_network_admin=0&settings_type=site
    
    ### Response
    
    action: "ping"
    activity_log_html: {last activity's log}
    done: true
    pages_status: {remaining: 1, total: 19}

    The second response seems the process was done, but no files generated newly and the activity log shows the same one with last execution.

    I’m using Docker image (wordpress: latest) with Docker Compose for making the environment

    On configuration, it’s setting working_dir as /var/log/html.

    All diagnostics returns OK.

    I prepare other image setting working_dir as /var/log/html/aaa/.

    The diagnostics conditions are the same with the first one, and this plugin can generate static files normally on this image.

    Thank you for your support. I share you any details if you need.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kanekosfaber

    (@kanekosfaber)

    The debug log is stopping with this message

    [2023-03-13 02:29:21] [class-ss-plugin.php:305] Received request to start generating a static archive
    Plugin Author patrickposner

    (@patrickposner)

    Hey @kanekosfaber,

    thanks for your report.

    Please ensure that WP-Cron is active and running on your website.

    It looks like Simply Static tries to use it but doesn’t get a response from the cron job to proceed with the export.

    You can check for any problems with WP-Cron in Simply Static -> Diagnostics.

    Best regards,
    Patrick

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

The topic ‘Doesn’t work plugin well with unknown reasons’ is closed to new replies.