Jump to:

4938 Posts in 16602 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Internal Server Error when installing 2.4.3

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: 1568 Views
  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Internal Server Error when installing 2.4.3 Link to this post

    I have just downloaded a fresh copy of 2.4.3 and uploaded everything to my server. When trying to access the install.php with browser, I get Internal Server Error.
    Can someone help me out?
    Thanks in advance!

  • cruzer45
    Avatar
    Community Member
    9 Posts

    Re: Internal Server Error when installing 2.4.3 Link to this post

    Just curious... What hosting service are you using?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Internal Server Error when installing 2.4.3 Link to this post

    You'll have to find out more information from the host, as it could be a number of different things.

    Apache does log more details for 500 server errors, but you'll need to get access to the logs somehow.

    It may also be one of the directives in .htaccess which is causing the issue.

    Does the install screen appear when you truncate the contents of the .htaccess file?

    Sean

  • allclone
    Avatar
    Community Member
    1 Post

    Re: Internal Server Error when installing 2.4.3 Link to this post

    I am new to SilverStripe and wanted to test it out and am having the same issue.

    Running Ubuntu Server, Apache 2.2.12.

    The SilverStripe folder is under the main site which is setup as a virtual host in the Apache config, I commented out these lines in the main .htaccess and was able to get the installation script to sorta load.
    #<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>

    any help or suggestions would be great.

    UPDATE:
    Looking threw the error logs of Apache with <Files> tag turned on in the main .htaccess file, it shows
    [Fri Dec 03 18:13:02 2010] [alert] /sites/www/silverstripe/sapphire/.htaccess: deny not allowed here

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Internal Server Error when installing 2.4.3 Link to this post

    The code that it doesn't like is here, in sapphire/.htaccess:

    <FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
       Deny from all
    </FilesMatch>

    In your virtual host configuration, have you set AllowOverride All ?

    Sean

  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Re: Internal Server Error when installing 2.4.3 Link to this post

    My server is running on Apache with PHP 5.2.
    I can realize that the problem is somehow caused by the .htaccess file but I am not able to view the server error log.
    I used to use Silverstripe 2.4.0 on the same server but have never had this kind of installation error.

  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Re: Internal Server Error when installing 2.4.3 Link to this post

    I found that if I comment out this line "SetEnv HTTP_MOD_REWRITE On" in .htacess, the error will go but I just end up with a blank page.

    1568 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.