I’ve been with my new host NearlyFreeSpeech.net for a few months now.
I am able to edit a template file in the control panel. But I am not able to save the file itself.
A quick search here on the forums revealed these two similar threads (search term = NearlyFreeSpeech):
PHP Fast Mode…
Template changes to file are not seen by EE until templates are synced
I KNOW IT’S NOT AN ISSUE WITH EE, that is not why I am posting.
I’m posting because I found an in-depth explanation about writing files in php on their blog.
I also found the two main steps to follow to set up successful file writing in their FAQ.
Set the parent directory you will be writing files in to group web with 775 permissions.
Set the top-level PHP script doing the writing to group web with 644 permissions.
I know that I don’t have the necessary permissions to change the ownership of the directory nor script, as described above. I’ll have to submit a ticket to NFS staff.
Here is what my site looks like:
/public_html/mywebsite.com/mytemplates/default_site/this.group
/public_html/mywebsite.com/mytemplates/default_site/that.group
/public_html/mywebsite.com/index.php
But my question for you all here is:
Which parent directory?
default_site?
this.group & that.group?
Which top-level PHP script?
index.php?
*******************************************
EDIT: I’ve edited this post to insert this:
v2.4.0 - Build: date 20120123