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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

Stumped after previous successes with install

Go to End

25 Posts   7180 Views


Community Member, 16 Posts

18 October 2009 at 4:18am

I've installed SilverStripe in the past without incident.
But I'm having problems with my (recently upgraded)
OS-X 10.6 (Snow Leopard) environment. It comes with
Apache and PHP 5.3 installed (with the GD extension)
and I've been using it for other PHP development,
so I expected no problems.

The install goes smoothly, but when it completes and
redirects to:
All I get is a page with:
The requested page couldn't be found.

I can see that the database is created and populated with
tables. I know that mod_rewrite is working (other apps use
it). Permissions look good: the entire DOCUMENT_ROOT tree
is owned by the webserver user (_www on OS-X). Nothing in
the error log.

Is there a problem with PHP 5.3 and Silverstripe? Any
advice for debugging this problem?


Community Member, 203 Posts

18 October 2009 at 9:40pm

Love to have an aswer to the same question - ad then there is also someone else here on the forum asking this question here:

Am on osx 10.5 btw, also running php 5.3. You also on the enthropy installer?


Community Member, 45 Posts

18 October 2009 at 10:42pm

Hi yurigoul,

Let me prefix this by saying that I don't run a Mac OS, and that I have no way of testing this, but there is a couple of suggestions that I found from the web that may be of use.

Look to the end of the article and check the .htaccess section. Not having a copy of the standard OSX apache conf, im not sure what the config change is, but I suspect that there may be a default block on allowing override by htaccess within the directory.

The other I found may also be useful.

Anyway, hope this is of some use .



Community Member, 203 Posts

18 October 2009 at 11:10pm

I have a drupal install running locally - among other things - with clean urls and everyhting so php, mysql and mod_rewrite are working just fine. The links you gave me seem to give a good intro to what has to be done though.

It is just that after the installation finishes I get: 'the requested page could not be found'. And right now there seem to be three people here - among them the pp - who have the same error and we are all on osx. We might even all be running php 5.3, the enthropy version perhaps?


Community Member, 45 Posts

19 October 2009 at 12:19am

Just another quick question, Is it an apache error that is telling you that you are not able to find the page, or a silverstripe error?

Following that it may be worth while to enable some rewrite logging to see what the system is attempting to rewrite to.

You can put the following in the vhost, or the main httpd.conf (just not the .htaccess) to set up the logging;

RewriteLog "/var/log/httpd/ss-rewrite.log"
RewriteLogLevel 4

Tail the log and remove all of the image, css, js crud, and you will get the rewrites as the apply to sapphire/main.php.

The other thing that may be interesting, and i am just guessing, is if there are any 404's being reported in the access logs for any sapphire components.

Anyway, just some more thoughts that may get a bit more info out to chase around.


Community Member, 203 Posts

19 October 2009 at 12:37am

Got it. Looking at the log now and posting it as an attachement.

Attached Files

Community Member, 203 Posts

19 October 2009 at 1:03am

404 errors for /_silverstripe/ in the access.log, but no errors related to silverstripe in the apache2 error.log.
Also a 404 error when I try to access /_silverstripe/sapphire/main.php directly - but it is there and all folders are there and I have given everything chmods between 755 and 777

There are some php errors when starting apache:
- session chache not configured
- using for ServerName
- unable to load dynamic libraries,,,

But php5 and mysql 5 are working fine with my local drupal install, so I guess it is entropy related (a php 5.3 apache module for osx that offers GD among other things, the only problem i have found so far is that it you have to use httpd instead of apachectl in terminal to get infos etc, and I guess that the remarks about the dynamic library could also be related to that.


Community Member, 203 Posts

19 October 2009 at 1:12am

[][rid#100997fa8/initial/redir#1] (4) [perdir /Users/yurigoul/Sites/_silverstripe/] RewriteCond: input='/Users/yurigoul/Sites/_silverstripe/sapphire/main.php' pattern='!-f' => not-matched

Go to Top