Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2015-10-09 10:44:37

sbrodriguez
Membre
Inscription : 2015-10-08

The system doesn't find photos uploaded and it doesn't apply any theme

Hello guys.


I have some problems with my Dotclear installation.
After resolved some Web server configuration problems, I've obtained these problems.
First of all, I have a Ubuntu Server with Dotclear and Nginx configured.

1- The system doesn't apply any theme. I choose any theme but none of them are applied in the system. All of my entries haven't any style, as I show you in the next screenshot:

[img=FluxBB1]https://owncloud.tiraquelibras.com/index.php/apps/galleryplus/s/QMAm3aUkFeiSuyX/3210.JPG[/img]

I can install all themes, but it doesn't apply any CSS style on my Website when I use the previo option in admin console, or when I visit the public blog.

2- When I upload images to the server while I write an new entry, I can't see this imagen in my entry. I can find the file in the server with other copies with differents sizes, and all folder and files permissions are ok (www-data: ). I only can put imgs from an URL, but never uploading a file. If I try to see the img in the admin console I always get a web server error message:

[img=FluxBB2]https://owncloud.tiraquelibras.com/index.php/apps/galleryplus/s/d9Xn4iJSXcVWwjv/3229.JPG[/img]
[img=FluxBB3]https://owncloud.tiraquelibras.com/index.php/apps/galleryplus/s/6uoR6kGoSLDwUZ8/3224.JPG[/img]

My NGINX config is:

server {
       listen 80;
       server_name blog.tiraquelibras.com;
       root /var/www/tiraquelibras/blog/dotclear;
       access_log /var/log/nginx/blog_acess.log;
       error_log /var/log/nginx/blog_error.log;

       index index.html index.htm index.php;

#       location / {
#               try_files $uri $uri/ =404;
#       }
#       location ~* \.(gif|jpg|png)$ {
#               expires 30d;
#        }
#       location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|txt|htm|html|xsl|zip)$ {
#             expires 30d;
#       }
        client_max_body_size 1500M;
  # rewrite query
#  if (!-e $request_filename) {
#          rewrite ^/(.*)$ /index.php?$1 last;
#  }

  # redirection pour  la page d'erreur
##  error_page   500 502 503 504  /50x.html;

        location ~ \.php$ {
            try_files $uri $uri/ /index.php?$args;
            fastcgi_pass unix:/var/run/php5-fpm.sock;
            include fastcgi_params;
            fastcgi_intercept_errors on;
            fastcgi_param   SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        }
}


Hello guys.
Any idea about what could happends?
Thanks for your time.
Regards

Dernière modification par sbrodriguez (2015-10-09 16:39:29)

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map