Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Installing SilverStripe
SilverStripe Forums » Installing SilverStripe » Couldn't install Silver Stripe 2.3 (branch and trunk) on Windows
Getting SilverStripe up and running on your computer and on your web server.
|
Page:
1
|
Go to End | |
| Author | Topic: Couldn't install Silver Stripe 2.3 (branch and trunk) on Windows | 947 Views |
-
Couldn't install Silver Stripe 2.3 (branch and trunk) on Windows

8 January 2009 at 9:02pm Last edited: 9 January 2009 2:58pm
Hello,
I tried installing Silver Stripe in the root directory of a virtual host on Windows machine and I got lots of errors, however when trying to install in a sub-directory, everything was fine.
The errors I think were caused by this code "$_SERVER['SCRIPT_NAME'])" which appears throughout the install file and the rewritetest.php file. When installing into a sub-directory (presume the sub-directory was called silverstripe) the value for $baseURL would be /silverstripe. All good.
But, if you install into the root directory, $baseURL returns a backalsh "\". So, the first major issue this causes is that it can't redirect to the install.php file because the path is \/install.php. The backslash just shouldn't be there.
More info about this behaviour at http://www.webmasterworld.com/php/3752500.htm
So I gave up on my Windows local development machine and installed it on my production Linux server and although it installed fine, I noticed that the redirect path to the install file was //install.php and even though Apache disregards the additional forward slash, it's not meant to be there either.
So unless I've done something wrong, there is a bug when trying on install into the root of a site.
-
Re: Couldn't install Silver Stripe 2.3 (branch and trunk) on Windows

9 January 2009 at 4:13pm
We've filed a bug for this here: http://open.silverstripe.com/ticket/3332
Are you trying to install on WAMPServer (ie, Apache) or IIS?
-
Re: Couldn't install Silver Stripe 2.3 (branch and trunk) on Windows

9 January 2009 at 5:42pm Last edited: 9 January 2009 5:43pm
I'm using XAMPP 1.70 and created a virtualhost so I could install in the root without mucking up the default webroot (/localhost/)
# Apache HTTPD 2.2.11
# PHP 5.2.8
| 947 Views | ||
|
Page:
1
|
Go to Top |


