I receive "An unexpected error occurred.: ACCESS DENIED" errors (formatted) when editing or adding a block, which the error is due to /ccm/system/dialogs/block/edit not loading.
The user is uID=1 / admin and in the Administrator group.
Cache is cleared, logged out logged in. Public site works fine.
Nginx:
server {
listen 80 default_server;
listen [::]:80 default_server;# SSL configuration## listen 443 ssl default_server;# listen [::]:443 ssl default_server;## Note: You should disable gzip for SSL traffic.# See:http://bugs.debian.org/773332## Read up on ssl_ciphers to ensure a secure configuration.# See:http://bugs.debian.org/765782## Self signed certs generated by the ssl-cert package
server {
listen 80 default_server;
listen [::]:80 default_server;# SSL configuration## listen 443 ssl default_server;# listen [::]:443 ssl default_server;## Note: You should disable gzip for SSL traffic.# See:http://bugs.debian.org/773332## Read up on ssl_ciphers to ensure a secure configuration.# See:http://bugs.debian.org/765782## Self signed certs generated by the ssl-cert package# Don't use them in a production server!## include snippets/snakeoil.conf;
root /home/sites/dmadelivers.com/www-dev;# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;
server_name staging.dmadelivers.com;error_log/var/log/nginx/error.log warn;
access_log /var/log/nginx/access.log combined;
location /{# First attempt to serve request as file, then# as directory, then fall back to displaying a 404.# if (!-e $request_filename){# rewrite ^(.*)$ /index.php break;# }# try_files $uri $uri/ =404;
try_files $uri$uri//index.php$request_uri/index.php;}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000#
location ~ \.php$ {include snippets/fastcgi-php.conf;
set $script$uri;
set $path_info"";if($uri ~ "^(.+\.php)(/.+)"){
set $script $1;
set $path_info $2;}
fastcgi_param URI $uri;
fastcgi_param PATH_INFO $path_info;
fastcgi_param SCRIPT_NAME $script;
fastcgi_param SCRIPT_FILENAME $document_root$script;# fastcgi_param PATH_TRANSLATED $document_root$path_info;# # With php7.0-cgi alone:# fastcgi_pass 127.0.0.1:9000;# # With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;}# deny access to .htaccess files, if Apache's document root# concurs with nginx's one#
location ~ /\.ht {
deny all;}}
Have a look at the below configuration. It has been used for Debian 8, NGinx with PHP-FPM 7.1
For me the issues were related with "Access denied" on dashboard and several editing blocks that were not working anymore (development has been carried on a Apache 2.4 with PHP 5.6, using mod-apache)
Focus was creating a working "location /"
try_files $uri $uri/ /index.php?q=$uri&$args;
This website stores cookies on your computer. These cookies are used to improve
your website experience and provide more personalized services to you, both on this website and through
other media. To find out more about the cookies we use, see our Privacy Policy.