Alrighty; this is getting annoying.
A while back, I checked up on my site, and lo and behold, I very suddenly couldn't write to any files. In the part of the code that did, in the past, successfully write to files, I got this lovely error message:
(Or something along those lines.) Now, this is especially confusing to me because the code I'm using used to work. I didn't change anything, I didn't do anything, I didn't crazilly mess with file permissions.
So what did I do? I went on Frihost and asked for help. The suggestion was to use chmod to change the file permissions. One quick PHP file later and a shoter test, and I got the following error message:
So, obviousely, changing file permissions didn't work. And thus, I am completely stumped. I have no idea what to do to fix this problem, and I suspect that it's higher-level stuff I can't access. I would really appreciate ANY help I can get on this.
I want my write permissions back... [sob]
A while back, I checked up on my site, and lo and behold, I very suddenly couldn't write to any files. In the part of the code that did, in the past, successfully write to files, I got this lovely error message:
| Quote: |
| Warning: fopen(visitors.txt) [function.fopen]: failed to open stream: Permission denied in /home/patthegr/public_html/index.php on line 79
Warning: fwrite(): supplied argument is not a valid stream resource in /home/patthegr/public_html/index.php on line 80 Warning: fclose(): supplied argument is not a valid stream resource in /home/patthegr/public_html/index.php on line 81 |
(Or something along those lines.) Now, this is especially confusing to me because the code I'm using used to work. I didn't change anything, I didn't do anything, I didn't crazilly mess with file permissions.
So what did I do? I went on Frihost and asked for help. The suggestion was to use chmod to change the file permissions. One quick PHP file later and a shoter test, and I got the following error message:
| Quote: |
| Warning: chmod() [function.chmod]: Operation not permitted in /home/patthegr/public_html/filefix.php on line 13 |
So, obviousely, changing file permissions didn't work. And thus, I am completely stumped. I have no idea what to do to fix this problem, and I suspect that it's higher-level stuff I can't access. I would really appreciate ANY help I can get on this.
I want my write permissions back... [sob]
