Open theexplosivegroup opened 3 years ago
Hi @theexplosivegroup,
Could you please try this build, it has additional support for Windows filepaths:
https://github.com/WP2Static/static-html-output-plugin/files/4943854/gulshanwinziptest.zip
That's likely the issue here, from the error you've sent (malformed file path).
Looks like that sorted it!
Will this be merged into the main build or should i only use that locally?
Will this work on my mac too?
Awesome! Yes, that will get merged in for next release.
I've successfully used static html output on my MAC MAMP environment for the last year or so. However today when I migrated over to windows - it's no longer working.
I'm running the latest version of everything - windows 10, php 7.4.1, wordpress, all plugins etc.
It says it successfully deploys, but then if i go to the website i see:
Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site.
If i export from my mac it works fine again.
In my php logs I see: file_put_contents(C:\Users[my filesystem]/wp-content/uploads/static-html-output/wp-json/wp/v2/posts/35/index.): failed to open stream: Permission denied in C:\Users[my filesystem]\wp-content\plugins\static-html-output-plugin\src\FileWriter.php on line 112
I've tried looking this up but i can't seem to find anything.