Jump to:

4873 Posts in 7242 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Some issues with installation

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

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

Page: 1
Go to End
Author Topic: 2651 Views
  • hernanch
    Avatar
    Community Member
    1 Post

    Some issues with installation Link to this post

    Hi everyone. I am completely new to LAMP.
    I installed WAMP on my Vista, then installed all the SilverStripe files to its folder and when I opened it on the browser, I got the screen saying that there were some issues with the configuration.

    One of them was in the section that says "Check that the php.ini setting allow_call_time_pass_reference is on". I went to that file, set the parameter to On, restarted the services and reloaded the page, this issue turned to green, so it's OK now.

    The other one was in the section "mod_rewrite enabled", which was not enabled, so I went to httpd.conf and uncommented

    LoadModule rewrite_module modules/mod_rewrite.so


    I restarted the services and reloaded the page, this issue turned to green, so it's OK now.

    The only remaining issues now are

    Is the .htaccess file writeable?   
    Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/.htaccess is writable.

    Is the mysite/ folder writeable?   
    Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/mysite is writable.

    Is the tutorial/ folder writeable?   
    Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/tutorial is writable.

    Is the assets/ folder writeable?   
    Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/assets is writable.

    But none of them seemed to be critical or prevented me to continue with the installation, so I tried to move on.

    Then I get this error on the next screen:

    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 C:\wamp\www\SilverStripe/mysite/_config.php
    # Creating '.htaccess' file...
    # Creating C:\wamp\www\SilverStripe/.htaccess
    # Building database schema...
    # Checking mod_rewrite works
    # http://localhost/SilverStripe/InstallerTest/testrewrite Rewrite is DirectorySlash Off RewriteEngine On RewriteBase /SilverStripe RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* C:/wamp/www//sapphire/main.php?url=%1&%{QUERY_STRING} [L] Creating C:\wamp\www\SilverStripe/.htaccess http://localhost/SilverStripe/InstallerTest/testrewrite
    # ERROR: mod_rewrite not working, redirecting to mod_rewrite test page
    # Creating C:\wamp\www\SilverStripe/.htaccess I will now try and direct you to rewritetest to troubleshoot mod_rewrite

    and then it apparently tries to test rewrite unsuccessfully, because I get


    Warning: file_get_contents(http://localhost/SilverStripe/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\SilverStripe\rewritetest.php on line 47

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\SilverStripe\rewritetest.php on line 47

    Can anybody please help troubleshoot this?
    Thanks in advance

  • MonkeyBen
    Avatar
    Community Member
    25 Posts

    Re: Some issues with installation Link to this post

    The files the installation says need to be writeable need to be writeable, though by the installation output, it seems they probably may have been?

    Try going to:-

    http://localhost/SilverStripe/sapphire/main.php?url=home

    If that works, SS is installed and there is a rewrite error and you'll need to take a look at your .htaccess file and work out what it is doing.

    At a guess the install output line "C:/wamp/www//sapphire/main.php?url=%1&%{QUERY_STRING}" should have been more like: -
    "http://localhost/SilverStripe/main.php?url=%1&%{QUERY_STRING}".

    hth,

    Ben

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Some issues with installation Link to this post

    Hi hernanch,

    We have resolved a number of issues surrounding this in 2.3. Perhaps you want to try the 2.3 release candidate?

    http://www.silverstripe.org/release-candidate/

    2651 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.