less - Theme Kompilierung

Hi,

ich versuche momentan den Umstieg von XTCommerce auf Shopware hinzubekommen.

Um das Design zu ändern, habe ich mich bereits intensiv mit Less und den anderen Dingen beschäftigt. Momentan hänge ich jedoch an dem kompilieren von einem vom Responsive-Theme abgeleiteten Theme.

Wenn ich in meinem Theme eine Less-Datei einstelle, so wie “https://shopwareianer.com/tutorials/shopware-eigene-less-datei-anlegen” hier vorgestellt, hängt sich die kompilierung auf.

Ich habe keine Plug-Ins installiert und der Shop ist in der Version 5.1.2.

Der Shop läuft bei All-Incl. unter PHP 5.5 als CGI-Module.

So sieht meine .htaccess aus:

AddHandler php55-cgi .php


RewriteEngine on


#RewriteBase /shopware/

# Https config for the backend
#RewriteCond %{HTTPS} !=on
#RewriteRule backend/(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteRule shopware.dll shopware.php
RewriteRule files/documents/.* engine [NC,L]
RewriteRule backend/media/(.*) media/$1 [NC,L]

RewriteCond %{REQUEST_URI} !(\/(engine|files|templates|themes|web)\/)
RewriteCond %{REQUEST_URI} !(\/media\/(archive|banner|image|music|pdf|unknown|video)\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ shopware.php [PT,L,QSA]

# Fix missing authorization-header on fast_cgi installations
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]



    # Block access to VCS directories
    RedirectMatch 404 /\\.(svn|git|hg|bzr|cvs)(/|$)

    # Restrict access to root folder files
    RedirectMatch 404 /(composer\.(json|lock)|README\.md|UPGRADE\.md)$


# Staging environment
#SetEnvIf Host "staging.test.shopware.in" SHOPWARE_ENV=staging

# Development environment
#SetEnvIf Host "dev.shopware.in" SHOPWARE_ENV=dev
#SetEnv SHOPWARE_ENV dev

DirectoryIndex index.html
DirectoryIndex index.php
DirectoryIndex shopware.php

# Disables download of configuration

    # Deny all requests from Apache 2.4+.
    
          Require all denied
    

    # Deny all requests from Apache 2.0-2.2.
    
        Deny from all
    


# Enable gzip compression

    AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/javascript application/json



    
        ExpiresActive on
        ExpiresDefault "access plus 1 month"
    

    
        Header append Cache-Control "public"
        Header unset ETag
    

    FileETag None


# Match generated files like:
# 1429684458_t22_s1.css
# 1429684458_t22_s1.js

    
        Header set Cache-Control "max-age=31536000, public"
    

    
        ExpiresActive on
        ExpiresDefault "access plus 1 year"
    


# Disables auto directory index

    Options -Indexes



    Options -MultiViews



#  php_value memory_limit 256M
#  php_value max_execution_time 120
#  php_value upload_max_filesize 20M
   php_flag phar.readonly off
   php_flag magic_quotes_gpc off
   php_flag session.auto_start off
   php_flag suhosin.session.cryptua off
   php_flag zend.ze1_compatibility_mode off


#   AddType x-mapp-php5 .php
#   AddHandler x-mapp-php5 .php


    Header append X-Frame-Options SAMEORIGIN

Lt. Hotline All-Incl. gibt es keine Fehler auf dem Server.

Ich bin langsam am verzweifeln und weiß nicht, wo ich noch ansetzen kann, dass die Kompilierung des Shops durchläuft.

Hat irgendjemand irgendwelche Ansatzpunkte um das Problem aus der Welt zu schaffen.

Danke schon mal

Jürgen

Hallo Jürgen,

wenn das Theme nicht kompilieren liegt es zu 90% an der less, da reicht es aus wenn eine geschweifte Klammer nicht geschlossen ist.

Falls du nicht weiterkommst könnte ich mal schauen, bin auch bei all Inkl und drauchte nur die Zugangsdaten für FTP.

Gruß Uwe

Edit: was ich noch gesehen habe in der .htaccess fast unten findest du die Einträge;
 

# php_value memory_limit 256M
# php_value max_execution_time 120
# php_value upload_max_filesize 20M
   php_flag phar.readonly off
   php_flag magic_quotes_gpc off
   php_flag session.auto_start off
   php_flag suhosin.session.cryptua off
   php_flag zend.ze1_compatibility_mode off

 ändere das mal auf :
 

   php_value memory_limit 256M
   php_value max_execution_time 120
# php_value upload_max_filesize 20M
   php_flag phar.readonly off
   php_flag magic_quotes_gpc off
   php_flag session.auto_start off
   php_flag suhosin.session.cryptua off
   php_flag zend.ze1_compatibility_mode off

 

1 „Gefällt mir“

Wenn man natürlich 1 Woche zu blöd ist, das Video richtig zu verfolgen, dann kann es auch nicht klappen.

Ich muss natürlich die “footer.less” in den Ordner “modules” ablegen, sonst stimmt der Verweis in der all.less nicht.

Danke dir nochmals “useg”