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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

SOLVED Silverstripe Installation Install.php Timeout Issue


Go to End


5 Posts   2506 Views

Avatar
AndrewK

Community Member, 7 Posts

17 November 2008 at 2:51am

Edited: 19/11/2008 5:02am

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 silverstripe mod_rewrite issue 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

Community Member, 7 Posts

17 November 2008 at 3:29am

Edited: 17/11/2008 4:13am

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

Community Member, 7 Posts

18 November 2008 at 8:46am

Edited: 18/11/2008 8:57am

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
(deleted)

Community Member, 473 Posts

18 November 2008 at 9:07am

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

Community Member, 7 Posts

19 November 2008 at 5:07am

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 ;)