4579 Posts in 1388 Topics by 1378 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1146 Views |
-
Internal Server Error when installing 2.4.3

3 December 2010 at 11:43pm
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! -
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 11:23am
Just curious... What hosting service are you using?
-
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 11:29am
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
-
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 12:08pm Last edited: 4 December 2010 12:19pm
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 -
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 3:15pm
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
-
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 9:53pm
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. -
Re: Internal Server Error when installing 2.4.3

4 December 2010 at 10:03pm
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.
| 1146 Views | ||
|
Page:
1
|
Go to Top |




