Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

MODX - Errors in logs

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
labasus
Posts: 11
Joined: Mon Nov 23, 2015 9:07 pm

MODX - Errors in logs
  • Quote

Post by labasus » Mon Nov 23, 2015 9:17 pm

Site was started and worked perfect, but some errors in the logs, by the way - in web template misses CMS MODx profile

I've added addition include conf:

Code: Select all

location /manager {
    }
    location /assets {
    }
    location / {
    try_files       $uri $uri/ @rewrite;
    }
    location @rewrite {
    rewrite         ^/(.*)$ /index.php?q=$1;
    }
    location ~ \.php$ {
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
     fastcgi_pass    127.0.0.1:9001;
            fastcgi_index   index.php;
            include         /etc/nginx/fastcgi_params;

    }
    location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|bmp)$ {
    access_log       off;
    expires          10d;
    break;
    }
    location ~ /\.ht {
    deny all;
    }
Website errors logs:

Code: Select all

FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/var/lib/php5/sessions/sess_r1t00hqhrf7dnf2uia52dlj1n4, O_RDWR) failed: Permission denied (13) in /home/sr/web/domain.lt/public_html/manager/includes/config.inc.php on line 87" while reading response header from upstream, client: 8.8.8.8, server: domain.lt, request: "GET /lt/index.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "domain.lt"
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: MODX - Errors in logs
  • Quote

Post by skurudo » Tue Nov 24, 2015 7:04 am

How about this?

Code: Select all

chmod -R 1777 /var/lib/php5/sessions/
Top

labasus
Posts: 11
Joined: Mon Nov 23, 2015 9:07 pm

Re: MODX - Errors in logs
  • Quote

Post by labasus » Tue Nov 24, 2015 5:39 pm

Of cause this fixed the permission issue, but can be fixed in next release?
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password