batonac
Member
While installing the latest Fabrik 3.1 on the latest Joomla 3.1, all the plugins/modules install without a hitch except for the fabrik component. When trying to run that install, i get a '502 Bad Gateway' error, which corresponds to this line in my nginx error.log:
For whatever reason the component still installs and seems to run fine, but it's weird and unsettling when you get an error on install.
Here's my nginx site config:
Here's my nginx.conf:
I'll be glad to attach and config and/or log files that you'd like to study.
Code:
2013/07/11 15:29:08 [error] 1782#0: *821 upstream sent invalid status "-1 Source folder not found" while reading response header from upstream, client: 174.49.214.254, server: ft.3cordinc.com, request: "POST /administrator/index.php?option=com_installer&view=discover HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "ft.3cordinc.com", referrer: "http://ft.3cordinc.com/administrator/index.php?option=com_installer&view=discover"
Here's my nginx site config:
Code:
server {
listen 80;
server_name ft.3cordinc.com;
root /srv/www/fabrik_test;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
# deny running scripts inside writable directories
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
return 403;
error_page 403 /403_error.html;
}
location ~ \.php$ {
try_files $uri $uri/ /index.php?q=$uri&$args;
fastcgi_split_path_info ^(.+.php)(.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
# caching of files
location ~* \.(ico|pdf|flv)$ {
expires 1y;
}
#location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
# expires 14d;
#}
}
Here's my nginx.conf:
Code:
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# enable large file uploads
client_max_body_size 8M;
client_body_buffer_size 256k;
# server_tokens off;
server_names_hash_bucket_size 64;
server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
##
# nginx-naxsi config
##
# Uncomment it if you installed nginx-naxsi
##
include /etc/nginx/naxsi_core.rules;
##
# nginx-passenger config
##
# Uncomment it if you installed nginx-passenger
##
#passenger_root /usr;
#passenger_ruby /usr/bin/ruby;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
I'll be glad to attach and config and/or log files that you'd like to study.