• Resolved lsmullen

    (@lsmullen)


    Hello,

    This plugin is working great locally but on my server it fails to generate the files. Please see ‘Activity Log’ below:

    [2022-09-30 11:19:46] Setting up
    [2022-09-30 11:19:46] An error occurred:
    [2022-09-30 11:19:46] Cancelling job
    [2022-09-30 11:19:46] Wrapping up
    [2022-09-30 11:19:46] Done! Finished in 00:00:00

    I checked the WP logs and switched Debugging Mode on for this plugin but it doesn’t show any errors.

    In Diagnostics I was failing the Filesystem checks for reading/writing to static-files/ but I fixed that by creating the file and setting the correct permissions (766). Unfortunately I still get the same error in the Activity Log with no debug log to understand what is failing.

    Any help would be much appreciated.

    • This topic was modified 2 years, 2 months ago by lsmullen.
    • This topic was modified 2 years, 2 months ago by lsmullen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lsmullen

    (@lsmullen)

    Think I’ve fixed it now. I had to change the plugin permissions to 777.

    Plugin Author patrickposner

    (@patrickposner)

    Hey @lsmullen,

    I’m glad you found the problem!

    Simply Static needs writing access (755 is fine) to write into the temporary files directory located in wp-content/plugins/simply-static/static-files/

    You can also configure another directory in Simply Static -> Settings -> Advanced to set it to /wp-content/uploads/static/ for example.

    Best regards,
    Patrick

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t generate static files’ is closed to new replies.