Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

(solved) Can't install silverstripe on Webspace - Error 500


Reply

4 Posts   1639 Views

Avatar
Beppo98

13 January 2011 at 8:06am Community Member, 19 Posts

Hello,

today I tried to install silverstripe on my webspace which is hosted by funpic.de. I exactly followed the steps which were descriped on the tutorial homepage: http://doc.silverstripe.org/installation-on-webserver

1. I downloaded SilverStripe v2.4.4 for Linux
2. I unpacked this files on my desktop
3. I transfered the complete unpacked folder, which I have renamend from SilverStripe-v.2.4.4 to silverstripe in the root directory of my Webspace
4. Than I tried to access to domain.de/silverstripe, but I get a page with the error 500.

Up to now I tried to modify the htaccess file by inserting the line "RewriteBase /" but it also doesn't work.
I think there is a problem with the htaccess file, but I don't know this problem.

Has anybode an ideo to solve my problem?

Best regards,
Beppo

Avatar
apiening

13 January 2011 at 11:33am Community Member, 60 Posts

moin beppo,

not sure but if your silverstripe installation lives in a subdirectory of your web root (domain.de/silverstripe) your rewrite base should be '/silverstripe'.

is php running in cgi mode or as an apache module? most shared host run in cgi mode which is a bit bitchy in combination with .htaccess

my 1&1 host defaults to php4 (!) so i have to switch to php5 in the .htaccess:

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

### SILVERSTRIPE START ###
<Files *.ss>
   Order deny,allow
   Deny from all
   Allow from 127.0.0.1
</Files>

<Files web.config>
   Order deny,allow
   Deny from all
</Files>

ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /

   RewriteCond %{REQUEST_URI} ^(.*)$
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###

Avatar
apiening

13 January 2011 at 11:37am Community Member, 60 Posts

You might find this interesting:

https://github.com/halkyon/SilverStripe-Requirements-Checker

its a little script which tells you if your server is fit to power a silverstripe installation

Avatar
Beppo98

21 March 2011 at 12:18am Community Member, 19 Posts

Thanks for your help. I found a solution for my problem:

[url=http://www.funpic.de/board/htaccess-f109/silverstripe-und-fehler-500-t69716.html]Silverstripe und Fehler 500[/url]

Best regards, Beppo