[gelöst] SW4 bei Domainfactory

Hi, ich versuche bei Domainfactory SW4 zum Laufen zu bekommen. Bei Frontend & Backend erscheint dieser Fehler: Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /kunden/XXX_XXX/webseiten/XXX/engine/Shopware/Bootstrap.php on line 32 Wie schaut es eig. mit einer .htaccess aus? Ich habe die “alte” benutzt: RewriteEngine on RewriteBase / RewriteRule shopware.dll shopware.php RewriteRule files/documents/.* engine [NC,L] RewriteRule application.yaml engine [NC,L] RewriteRule images/ayww/(.*) images/banner/1 RewriteRule sitemap.xml(.\*) shopware.php?controller=SitemapXml RewriteRule templates/.\*(css|js) engine/backend/php/sCacheTemplate.php?file=0 [NC,L] RewriteRule engine/core/php/sAjaxSearch.php engine/backend/php/sAjaxSearch.php [NC,L] RewriteRule engine/core/php/campaigns.php$ engine/backend/php/campaigns.php [NC,L] RewriteCond %{REQUEST_URI} !(engine/|images/|files/|templates/|.js$|.css$|.jpg$|.png$) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ shopware.php [PT,L,QSA] DirectoryIndex index.php DirectoryIndex shopware.php
Deny from all
Options -Indexes

Ahhh, ich glaube ich habe die falsche PHP Version.

Hallo, berichte doch bitte mal über die Performance SW4 bei DF (welches Produkt). Vielen Dank. Gruß Rainer

Okay, nun habe ich auf PHP 5.3.8 gewechselt. Jetzt erscheint folgenden Meldung: Fatal error: Uncaught exception 'Enlight\_Exception' with message 'Class Enlight\_Controller\_Front does not exist and could not be loaded' in /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Class.php:98 Stack trace: #0 /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Class.php(116): Enlight\_Class::getClassName('Enlight\_Control...') #1 /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Bootstrap.php(139): Enlight\_Class::Instance('Enlight\_Control...') #2 /kunden/117539\_78141/webseiten/xxx/engine/Shopware/Bootstrap.php(96): Enlight\_Bootstrap-\>initFront() #3 [internal function]: Shopware\_Bootstrap-\>initFront() #4 /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Bootstrap.php(298): call\_user\_func(Array) #5 /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Bootstrap.php(252): Enlight\_Bootstrap-\>loadResource('Front') #6 /kunden/117539\_78141/webseiten/xxx/engine/Shopware/Bootstrap.php(75): Enlight\_Bootstrap-\>getResource('Front') #7 /k in /kunden/117539\_78141/webseiten/xxx/engine/Library/Enlight/Class.php on line 98 Hat mir hierzu jemand einen Tipp?

Moin Moin , ich hatte das gleiche Problem vor der Version 4 musste ich per .htaccess alles auf eine Ältere Version php umstellen.Jetzt läuft die Version 4 nur noch auf der neuen Version ich habe auch die htaccess von der neuen Version drauf gespielt sonst guck hier mal mit Demo demo kommst du dort rein und kannst dir die Daten ja mal angucken. http://www.bellos24.de viele Spass Damit läuft es PHP Version 5.3.6 System Linux vm62.bln.vrmd.de 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 Build Date Jun 8 2011 23:20:24 Configure Command ‚./configure‘ ‚–prefix=/vrmd/webserver/php-5.3.6‘ ‚–with-libdir=lib64‘ ‚–enable-bcmath‘ ‚–enable-calendar‘ ‚–enable-exif‘ ‚–enable-ftp‘ ‚–enable-magic-quotes‘ ‚–enable-mbstring‘ ‚–enable-soap‘ ‚–enable-sockets‘ ‚–enable-wddx‘ ‚–enable-zip‘ ‚–with-bz2‘ ‚–with-cdb‘ ‚–with-curl‘ ‚–with-dom‘ ‚–with-gdbm‘ ‚–with-gettext‘ ‚–with-imagick‘ ‚–with-imap‘ ‚–with-imap-ssl‘ ‚–with-kerberos‘ ‚–with-ldap‘ ‚–with-mcrypt‘ ‚–with-mhash=/vrmd/webserver/mhash‘ ‚–with-mysql=/usr‘ ‚–with-pdo-mysql=mysqlnd‘ ‚–with-mysqli=mysqlnd‘ ‚–with-openssl‘ ‚–with-pdo-sqlite=/usr‘ ‚–without-sqlite‘ ‚–with-pspell‘ ‚–with-gd‘ ‚–with-jpeg-dir=/usr/include‘ ‚–with-freetype-dir=/usr/include‘ ‚–with-unixODBC=/usr‘ ‚–with-pdo-odbc=unixODBC,/usr‘ ‚–with-xsl‘ ‚–with-zlib‘ Server API CGI/FastCGI Virtual Directory Support disabled Configuration File (php.ini) Path /vrmd/webserver/php-5.3.6/lib Loaded Configuration File (none) Scan this dir for additional .ini files (none) Additional .ini files parsed (none)

Hi Ulli, danke für die Info. Ich habe nun die Domain auf PHP 5.3.6 gestellt. Die Fehlermeldung bleibt leider gleich. Wie schaut deine htaccess aus. Kannst du mir die mal kopieren falls du da Anpassungen drin hast. Was hast du sonst noch geändert. Ich kenne mich mit den Webservereinstellungen bei DF nicht so gut aus. Die PHP.Ini wäre noch super.

keine php.ini im Verzeichniss und hier der inhalt von der Htaccess ist aber die orginal shopware von 4.0
RewriteEngine on

#RewriteBase /shopware/

RewriteRule shopware.dll shopware.php
RewriteRule files/documents/.* engine [NC,L]
RewriteRule images/ayww/(.*) images/banner/$1

RewriteCond %{REQUEST_URI} !(/(engine|images/[a-z]+|files|templates)/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) shopware.php [PT,L,QSA] </ifmodule>DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration<files> Deny from all </files># Enable gzip compression<ifmodule mod_deflate.c> # disable compression on iconset due to loading problems in google chrome on windows SetEnvIfNoCase Request_URI icon-set.css no-gzip dont-vary

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

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE text/xml application/xml text/x-component

AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml



ExpiresActive on
ExpiresDefault „access plus 1 month“
FileETag None

Header append Cache-Control „public“
Header unset ETag


# Disables auto directory index
Options -Indexes

Options -MultiViews

php_value memory_limit 128M

php_value max_execution_time 120

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

ok, da gibt es keinen Unterschied. Dann weiß ich auch nicht weiter… Evtl. könnte sich ja mal Shopware zu diesem Thema melden. Wäre klasse :wink: :shopware:

Die Meldung sagt ja aus, dass die Klasse Enlight_Controller_Front nicht gefunden wird: Aber im Ordner Enlight/Controller gibt es die Datei Front.php Daran kann es eig. nicht liegen.

Es wäre sehr hilfreich, wenn mir Shopware hier kurz unter die Arme greifen könnte. Der Fehler kann nichts großes sein, wenn es bei anderen unter der Provider Domainfactory funktioniert. GELÖST: Proxies Ordner war Schuld!

In der Installationsanleitung zur Version 3.5 steht, dass man bei Domain Factory in der .htaccess “RewriteBase /” schreiben soll. Vielleicht bringt Dich das auch bei der Version 4.0 weiter.

danke für den Tipp. Das hatte ich aber schon beides probiert. Leider ohne Erfolg.