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.

Archive

Our old forums are still available as a read-only archive.

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

SOLVED Silverstripe Installation Install.php Timeout Issue


Reply

5 Posts   1504 Views

Avatar
AndrewK

17 November 2008 at 2:51am (Last edited: 19 November 2008 5:02am), Community Member, 7 Posts

Hey Everyone,

My System: Fedora 9 / Apache 2 / Latest MySQL/PHP / Firefox & Opera

I am in the process of installing the new SilverStripe RC on my local machine, want to play around with it to see if it can be used for our company website. After solving my initial [url=http://www.silverstripe.com/site-builders-forum/flat/230226]silverstripe mod_rewrite issue[/url] the install script was able to continue.

However now it seems to timeout, it simply sits there and does nothing, tried with 2 browsers in case it was a browser issue.

Installing SilverStripe...

I am now running through the installation steps (this should take about 30 seconds).

If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating /var/www/html/mysite/_config.php
# Creating '.htaccess' file...
# Creating /var/www/html/.htaccess

Reloading the page does not change anything, re-doing the install does not change anything. It does seem to create a proper .htaccess though.

### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

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

Even though I know I missed the "SilverStripe successfully installed" notice. FYI http://localhost/ simply shows a blank page, ?flush=1 (though a bit too hopeful) does not do anything either.

As always the solution is probably very simple, but could find very little about it so far. Any help is appreciated.

Andrew

Avatar
AndrewK

17 November 2008 at 3:29am (Last edited: 17 November 2008 4:13am), Community Member, 7 Posts

I went over common problems:

- db flush, site flush done
- cleared browser cache
- checked php info, all looks good
- file permissions triple checked
- mod_rewrite works (and tested)

... :|

I just tried installing SilverStripe on our web hosting account.

Installing SilverStripe...

I am now running through the installation steps (this should take about 30 seconds)

If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating /usr/local/psa/home/vhosts/ourdomain.com/httpdocs/silverstripe-v2.3.0-rc1/mysite/_config.php
# Creating '.htaccess' file...
# Creating /usr/local/psa/home/vhosts/ourdomain.com/httpdocs/silverstripe-v2.3.0-rc1/.htaccess

Same issue.

Avatar
AndrewK

18 November 2008 at 8:46am (Last edited: 18 November 2008 8:57am), Community Member, 7 Posts

No disrespect to the dev team, but if you guys want to beat Drupal (who partially won due to its large user base) you will definitely need to step it up in these forums. I cannot count the posts (even going back a few years) that where never answered. Lack of (free) support will stop many from adapting SilverStripe. Answer noob questions once, create a FAQ from it, YES... but not answering any questions... *

* suffering debug frustration

Avatar
simon_w

18 November 2008 at 9:07am Forum Moderator, 474 Posts

You need to remember that they are only a small company. Give them time.

Anyways, do you have display_errors On? It seems to be breaking when trying to include core/Core.php.

Avatar
AndrewK

19 November 2008 at 5:07am Community Member, 7 Posts

And another one bytes the dust...

Permissions are always curious, despite spending many years on the command line of linux. Fedora runs SELinux and as well all know, this keeps track of which user/program is allowed to do what. I disabled the annoying (popup) notifications when something got blocked. Turns out my Apache was running as my user account, versus apache:apache, switching it back solved the issue.

(anyone looking for a secure linux, fedora has full drive encryption, proper firewall, selinux all pre-configured... fedora 10 is coming up at the end of this month - for all you ubuntu users wanting to switch ;)