Scott at Code of Conduct
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Problem with mailtoGood to know. Thanks for the update, Pierre!
Best,
ScottForum: Plugins
In reply to: [Simply Static - The Static Site Generator] Generation hangs on the last fileHi antilimit,
From that error message it looks like you’re running out of memory allocated for PHP when trying to generate the ZIP. It looks like there are nearly 4000 files, so I could see how that could happen.
When you try the non-zip method, do you get any error message when it fails to complete?
Best,
ScottHi Dave,
Thanks for reporting this issue. I’ll take a look and get back to you soon.
Best,
ScottForum: Plugins
In reply to: [Simply Static - The Static Site Generator] Version 1.7 -> 1.8 -> Back to 1.7Hmm, sorry for the trouble guys. I’ll take a look and try to get this resolved for you as soon as I can.
Uninstalling and reinstalling should get Simply Static working for you again. Though you’ll need to update the settings again.
Best,
ScottForum: Plugins
In reply to: [Simply Static - The Static Site Generator] I hope it can run on windowsHi fghhfg,
I’ve heard from a few folks that it wasn’t working for them on Windows. You’re welcome to try it, of course. I haven’t had the time to test it to ensure it works on Windows though.
Best,
ScottForum: Plugins
In reply to: [Simply Static - The Static Site Generator] Problem with mailtoHi Pierre,
I’ll take a look. I actually hadn’t tried to implement the spambot function, so if there’s an issue it’s because of something else.
Best,
ScottHi Manuel,
That helps a lot, thanks. A couple more questions that might help me narrow this down a bit:
– Are there any rows in your wp_simply_static_pages (or similarly named) MySQL table?
– Is there anything in your Apache/PHP/MySQL logs that would indicate an issue? (I know you mentioned there were no logs, I wasn’t sure if you were referring to what Simply Static provides or otherwise)Best,
ScottForum: Plugins
In reply to: [Simply Static - The Static Site Generator] Only two pages found, both 403Hi,
Quick update, I’ve tried out Simply Static with PHP 7.0 on both on my local dev machine as well as shared hosting and everything worked fine.
Best,
ScottHi Jon,
This was fixed in v1.8.0 of Simply Static.
Two notes:
– You’ll need to use absolute URLs, because RSS feeds need absolute URLs
– You may need to add aDirectoryIndexline in Apache with index.xml for your static site, like this:<Directory /home/example/www/static_site>
DirectoryIndex index.html index.xml
</Directory>- This reply was modified 9 years, 6 months ago by Scott at Code of Conduct.
This was fixed in v1.8.0 of Simply Static.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Cancel -> Cancelled changeThis was fixed in v1.8.0.
Sounds good! Let me know.
Best,
ScottAnother option is to copy whatever the permissions were for the temporary file, e.g.:
copy( $temp_file, $save_file_as );
chmod( $save_file_as, fileperms( $temp_file ) );- This reply was modified 9 years, 6 months ago by Scott at Code of Conduct.
Hi Pierre,
Regarding point #1, I’m trying to think of a good fix for that. I could add a setting in Simply Static for which permissions to use for files/directories, though I haven’t heard any requests for that yet.
Another short term option for you, may be to create a subdirectory within that 750 directory, and set whatever permissions you want on the subdirectory, and then serve your files out of that subdirectory, if possible?
Or you could just manually change the permissions of the files afterward, of course, but that’s a fair bit of work every time you want to deploy your static files.
I’m open to other ideas?
Best,
ScottHi Manuel5cc,
That’s pretty strange behavior. What version of PHP and WordPress are you using? Does the Diagnostic page list everything as being green? When you hit the button, does anything happen at all?
Best,
Scott