Jump to:

4873 Posts in 7260 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » (solved) Can't install silverstripe on Webspace - Error 500

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

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

Page: 1
Go to End
Author Topic: 1529 Views
  • Beppo98
    Avatar
    Community Member
    19 Posts

    (solved) Can't install silverstripe on Webspace - Error 500 Link to this post

    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

  • apiening
    Avatar
    Community Member
    55 Posts

    Re: (solved) Can't install silverstripe on Webspace - Error 500 Link to this post

    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 ###

  • apiening
    Avatar
    Community Member
    55 Posts

    Re: (solved) Can't install silverstripe on Webspace - Error 500 Link to this post

    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

  • Beppo98
    Avatar
    Community Member
    19 Posts

    Re: (solved) Can't install silverstripe on Webspace - Error 500 Link to this post

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

    Silverstripe und Fehler 500

    Best regards, Beppo

    1529 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.