It probably has to do with file permissions.
I started getting this error after an upgrade. Most of the upgraded files had permissions changed to 666. Things worked ok once I change them back to 644.
I’ll suggest that you start with .htaccess. You should be able to find a complete list.
or try this