ssct
November 25, 2009, 11:37am
1
Hi, i tryedto install Oxid on my webspace, but in step 1 the following error ocurred:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/vhosts/opal-trends.de/subdomains/shop/httpdocs/core/oxsysrequirements.php on line 36
What does it mean, did I do something wrong? I just unpacked the zip file and uploaded it to my subdomain. I created a mysql database an tried to run the setup.
Please help.
Thanks
ssct
It seems, that on your server is php4 installed.
You need to contact your provider. Have a look on the system requirements .
Wegen mangelhafter Dokumentation haben viele dieses Installationsproblem.
LOESUNG
Nach dem Entpacken der Software auf lokalem System die Datei ,htaccess z.B. mit Notpad wie folgt editieren:
Installations-Verzeichnis/Ordner so eintragen wie auf dem Server eingerichtet:
z.B. RewriteBase / oder RewriteBase /shop/ usw.
Die aktuell erforderliche PHP-Version laut Oxid-Systemvoraussetzunggen eingeben:
z.B. AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /shop/
RewriteCond %{REQUEST_URI} !(\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteRule admin/test\.php$ admin/test.php?mod_rewrite=1
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js)$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php
</IfModule>
# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$)">
order allow,deny
deny from all
</FilesMatch>
Options -Indexes
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
Dann sollte das Ergebnis direkt zu “Setup beginnen” führen (s. Anhang unten).