K.I
22. März 2016 um 17:32
1
Nach einem Serverumzug und Update von 4 auf 5 werden nun in der Produktübersicht keine Kategoriebilder mehr ausgegebn. Die Bilder werden normal in der Bannerverwaltung angezeigt und im jew. Templatefile findet sich auch die Ausgabe – {include file=‚frontend/listing/banner.tpl‘}. Im Frontend wird ein leerer Banner-Container ausgegeben.
Wo könnte der Fehler liegen?
K.I
24. März 2016 um 09:37
2
Beim Import der DB gab es einen SQL-Fehler, den ich aber mangels Anzeigefehlern bei den Umlauten ignoriert hatte. Könnte es damit zusammenhängen?
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
MySQL meldet: Dokumentation
#1231 - Variable 'character_set_client' can't be set to the value of 'NULL'
Hast du mal geschaut, ob das Bild vielleicht nicht geladen werden kann?
Was sagt denn Firebug oder der Chrome-Debugger beim Aufruf der Seite? Kann ja sein dass die Zugriffsrechte auf dem Server nicht passen oder irgendwelche Rewrite-Regeln.
K.I
24. März 2016 um 12:29
4
Laut Systeminfo gibt es keine Probleme mit SW Dateien oder Verzeichnissen. Die Bilder sind aufrufbar und werden auch alle im Backend angezeigt. Im Frontend wird lediglich der leere Banner-Container ausgegeben.
Die NGINX-Direktiven werden von meinem Hoster vorgekaut.
location /{FOLDER} {
client_max_body_size 100M;
location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
{FASTCGIPASS}
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_temp_file_write_size 10m;
fastcgi_busy_buffers_size 512k;
fastcgi_buffer_size 512k;
fastcgi_buffers 16 512k;
fastcgi_read_timeout 1200;
fastcgi_param HTTP_AUTHORIZATION $http_authorization;
# Staging/development environment
#fastcgi_param SHOPWARE_ENV $SHOPWARE_ENV;
error_page 500 501 502 503 = @phpfallback{FOLDERMD5};
}
location ~ ^/{FOLDER}(logs|media/temp|bin|cache|var|files/documents)/ {
deny all;
}
location ~ \.(tpl|yml|ini|log)$ {
deny all;
}
location = /{FOLDER}templates/_default/backend/_resources/resources/css/icon-set.css {
gzip off;
}
location ^~ /{FOLDER}media/ {
try_files $uri /{FOLDER}shopware.php?controller=Media&action=fallback&$args;
}
location ^~ /{FOLDER}files/552211cce724117c3178e3d22bec532ec/ {
internal;
}
location ~* "^/{FOLDER}themes/Frontend/Responsive/frontend/_public/vendors/fonts/open-sans-fontface/(?:.+)\.(?:ttf|eot|svg|woff)$" {
expires max;
add_header Cache-Control "public";
access_log off;
log_not_found off;
}
location ~* "^/{FOLDER}themes/Frontend/Responsive/frontend/_public/src/fonts/(?:.+)\.(?:ttf|eot|svg|woff)$" {
expires max;
add_header Cache-Control "public";
access_log off;
log_not_found off;
}
location ~* "^/{FOLDER}web/cache/(?:[0-9]{10})_(?:.+)\.(?:js|css)$" {
expires max;
add_header Cache-Control "public";
access_log off;
log_not_found off;
}
location ~ ^/{FOLDER}(engine|files|templates|themes|web)/ {
location ~ \.(jpe?g|png|gif|css|js)$ {
expires 1M;
}
}
index index.html index.php shopware.php;
rewrite shopware.dll /{FOLDER}shopware.php;
rewrite files/documents/.* /{FOLDER}engine last;
#rewrite images/ayww/(.*) /{FOLDER}images/banner/$1 last;
rewrite backend/media/(.*) /{FOLDER}media/$1 last;
if (!-e $request_filename){
rewrite . /{FOLDER}shopware.php last;
}
#try_files $uri /{FOLDER}shopware.php$is_args$args;
location ~ \.(jpe?g|png|gif|css|js)$ {
rewrite backend/media/(.*) /{FOLDER}media/$1 last;
expires 1M;
}
location /{FOLDER}install/ {
location /{FOLDER}install/assets {
}
if (!-e $request_filename){
rewrite . /{FOLDER}install/index.php last;
}
}
location /{FOLDER}update/ {
location /{FOLDER}update/assets {
}
location /{FOLDER}update/templates {
}
if (!-e $request_filename){
rewrite . /{FOLDER}update/index.php last;
}
}
location /{FOLDER}recovery/install/ {
location /{FOLDER}recovery/install/assets {
}
if (!-e $request_filename){
rewrite . /{FOLDER}recovery/install/index.php last;
}
}
location /{FOLDER}recovery/update/ {
location /{FOLDER}recovery/update/assets {
}
if (!-e $request_filename){
rewrite . /{FOLDER}recovery/update/index.php last;
}
}
# Staging environment
#if ($http_host ~ "staging.test.shopware.in"){
# set $SHOPWARE_ENV staging;
#}
# Development environment
#if ($http_host ~ "dev.shopware.in"){
# set $SHOPWARE_ENV dev;
#}
}
location @phpfallback{FOLDERMD5} {
client_max_body_size 100M;
try_files $uri =404;
include /etc/nginx/fastcgi_params;
{PHPFALLBACKFASTCGIPASS}
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_temp_file_write_size 10m;
fastcgi_busy_buffers_size 512k;
fastcgi_buffer_size 512k;
fastcgi_buffers 16 512k;
fastcgi_read_timeout 1200;
fastcgi_param HTTP_AUTHORIZATION $http_authorization;
# Staging/development environment
#fastcgi_param SHOPWARE_ENV $SHOPWARE_ENV;
}
K.I
31. März 2016 um 18:00
5
Okay, die Kategorie-Teaser wurden auch nicht angezeigt. Die Lösung: Fehlende Thumbnails für das responsive Theme.