Check your Drupal file or folder permissions. Permissions means read and write accesses. They are maybe misconfigured. This is one of the most likely cause of this error.

You can read more in the Modifying Linux, Unix, and Mac file permissions page of the installation guide. This Administration guide page contains more information about securing file permissions and ownership.

Also read the INSTALL.txt file that comes with Drupal. There is a section in there about permissions.

Comments

worldon’s picture

Hi everybody!!

I've trying to fix a problem with my Drupal 7.15 with Access to blocks and modules.

I've triyed with:

1.- Rename htacces to phtacces

2.- Changing codes into web.config

3.- Changing codes in index.php

And don't works. I still searching the solution, but I don't have any idea of php...
Any suggestions please!!!

Thank's in advanced!!

If not... there are any possibilities to acces blocks by another way...???

drugan’s picture

On some hosting environments server does not allow to execute .php files AT ALL if they have "write" permission for a "group" or "others".

Solution:

chmod -R go-w /path/where/your/drupal/live

After that all your files will have 0644 mode (except settings.php which is 0444) and folders 0755. Make some test.php file with 0664 mode and try to see it in a browser. If you'll get 500 error than it was the reason.

Some quotation from the link above:

The server file system should be configured so that the web server (e.g. Apache) does not have permission to edit or write the files which it then executes. That is, all of your files should be 'read only' for the Apache process, and owned with write permissions by a separate user.