vrosas_03
asked on
Internal Server Error when saving document unchanged
I edit a file in filezilla and when I upload it i get:
Internal Server Error
What could cause this? The website works perfectly. I
I open the file locally and make no changes to it
I save it and filezilla saves the unchanged file to the server.
I go to that same url and it's not working.
Is there anything that might cause this?
Internal Server Error
What could cause this? The website works perfectly. I
I open the file locally and make no changes to it
I save it and filezilla saves the unchanged file to the server.
I go to that same url and it's not working.
Is there anything that might cause this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think it's caused by being the wrong owner. The files i upload have a different owner than the ones that are there already.
Yes. Thank you for your points. Then try to change the umask and/or the standard user of the ftp-user logging in.
Also add the user to the group-file under /etc/group
After that begin with umask 022 and the new ownership delivery in the group and all should be fine.
Also add the user to the group-file under /etc/group
After that begin with umask 022 and the new ownership delivery in the group and all should be fine.
ASKER
there are php pages on there already though but they only work if they remain on the server. I can change the name and change it back and they will still work.
I checked the permissions and they are the same for pages that work as for pages that don't.
What directory would the log file be in?
Would it be in the site folder in a multisite website.
Which directory:
var
usr
tmp
sys
srv
sbin
bin
mnt
?
There are other directories it could be in but if you know a common directory where the log file would be located that would help a lot.