I have been working on a fairly complex php driven site that involves user accounts, login, uploading files, etc.
Everything was working fine, until last night. I was playing with an upload script (this may or may not be relevant), but I went to one page of the site and it showed an internal server error. After that, most of the pages started showing errors.
I undid the changes to the upload script (like I said, I don't know if it is relevant), but the errors continued.
Now, I get errors occasionally, plus the permissions are all messed up. Any scripts that write to files, upload files, or create files (or directories) come up with a permission denied error....
Any thoughts?
The web hosting company has not been much help...
internal server errors, etc.
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: internal server errors, etc.
It sounds like you need to fix the permissions. The webserver does not seem to have read or write access where necessary. You can change file/directory permissions via an admin panel sometimes, also via FTP sometimes, and if you have shell access then use "chmod".jkashu wrote:Any thoughts?
(#10850)
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US