typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

cannot delete folder or file, cannot save after typing #23

Closed hasu4p closed 4 years ago

hasu4p commented 5 years ago

delete cannot delete folder or file. cannot save after typing. the spinner keeps spinning. using php 7. have access to .htaccess and mod_rewrite. how to fix it?

trendschau commented 5 years ago

Did you make the folders on your server writable like described here: https://typemill.net/getting-started/installation ?

hasu4p commented 5 years ago

Yes 774 permission set to all folders and subfolders. But the problem remains. I am using hosting services of infinityfree, which offers php7. When I ran your program in a local server vertigo with PHP 7.1 it runs flawlessly. Please suggest tweak for running it on php7.

hasu4p commented 5 years ago

I can create folders and files, but I cannot save and delete.

trendschau commented 5 years ago

I will check it tomorrow with php7. Maybe you can check the response from the server when you save? open dev tools of browser (f12), go to network, then click the save button and check the response for the post-request. If there are errors then it helps fixing. Thank you

hasu4p commented 5 years ago

2 3

hasu4p commented 5 years ago

4

trendschau commented 5 years ago

sorry, I can't help here quickly, it is not visible what happens in the background. However, I never tested a subfolder installation with nginx, so maybe there are some errors. Should not be related to php7. Your server tries to return some error page that fails because of cors, but this is probably not the reason for the error initially. I will try to investigate more, but I don't have a quick solution for it now. Sorry....

hasu4p commented 5 years ago

Thanks for your response, and the wonderful software. I've tested many. Your software is probably the best right now! If you find some time, please test it on infinityfree.net. They provide free web hosting and php 7. In the meantime I will try to figure it out.

trendschau commented 5 years ago

Hi hasu4p, I tested typemill with php 7.0 now and it works, so this is probably a problem with nginx or the hoster. I am not a nginx-expert, so hopefully someone else of the github-followers can help here. I will keep this ticket open for now.

trendschau commented 4 years ago

I will close this ticket because it is one year old and not really related to typemill, but to the hosting environment. Please reopen if it is still relevant.