Internal Server Error bei Erstinstallation

Hallo alle zusammen, [color=red]HAB ES ZWAR INSTALLIERT BEKOMMEN, ABER DAS BACKEND WIRD NICHT RICHTIG GELADEN. HAT DA JEMAND EINEN TIPP?[/color] leider hab ich es noch nicht geschaft, Shopware auf den Server zu installieren. Ich weis, dass ich etwas an der .htacces ändern muss, aber was genau? Ich bekomme immer folgende Fehlermeldung: [quote]Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.[/quote] Meine .htacces sieht so aus: [code]
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)/)
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]
# Staging-Rules start #SetEnvIf Host “staging.test.shopware.in” ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration
Deny from all
# Enable gzip compression
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/json


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_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 [/code] Den oberen Befehl habe ich schon mehrmals erfolglos geändert: #RewriteBase /shopware/ Ich habe natürlich auch im Forum nachgeschaut, da habe ich folgende Datei gefunden: Da wird mir zwar die Installation angezeigt, aber angeblich existieren die ganzen Dateien/Verzeichnisse nicht. Kann mir da jemand weiterhelfen? [code]
RewriteEngine on

RewriteBase /shopware/

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

RewriteCond %{REQUEST_URI} !(/(engine|files|templates)/)
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]
# Staging-Rules start #SetEnvIf Host “staging.test.shopware.in” ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration #

Deny from all

## Enable gzip compression #

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

##
#

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_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 # [/code] Vielen Dank schonmal im Vorraus :slight_smile:

Mit diesem Code hat die Installation funktioniert: [code]
RewriteEngine on

RewriteBase /shopware/

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

RewriteCond %{REQUEST_URI} !(/(engine|files|templates)/)
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]
# Staging-Rules start #SetEnvIf Host „staging.test.shopware.in“ ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration #

Deny from all

# # Enable gzip compression #

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

# #
#

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_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 #[/code] Das Backend wird irgendwie nicht geladen. Da steht nur Shopware wird geladen, passiert aber nichts. Im Frontend wird der Fehler angezeigt: [quote] Fatal error: require() [function.require]: Failed opening required ‚/var/www/web42/html/shopware/cache/doctrine/proxies/201404291539/__CG__ShopwareModelsShopTemplate.php‘ (include_path=’/var/www/web42/html/shopware:/var/www/web42/html/shopware/engine/Library/:/var/www/web42/html/shopware/templates/’) in /var/www/web42/html/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 207[/quote] Kann doch eigendlich nur an der Änderung an der htacces liegen, bzw. musste ich die Rechte von mehreren Ordnern auf 777 Stellen, bei der Instalation.

Mit folgenden Code hat es funktioniert: [code]
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)/)
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]
# Staging-Rules start #SetEnvIf Host „staging.test.shopware.in“ ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration
Deny from all
# Enable gzip compression
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/json


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_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 [/code]