Jump to:

4891 Posts in 7260 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Stumped after previous successes with install

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

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

Page: 1 2 3 4
Go to End
Author Topic: 4526 Views
  • OwenW
    Avatar
    Community Member
    45 Posts

    Re: Stumped after previous successes with install Link to this post

    For the date error, there is the following information about the setup of 5.3 on Mac

    http://www.macosxhints.com/article.php?story=20090831101932728

    It appears that you need the explicitly set the timezone.

  • yurigoul
    Avatar
    Community Member
    202 Posts

    Re: Stumped after previous successes with install Link to this post

    The info for my system is slighly different: I am running 10.5.8, and use entropy php 5.3.0-3, the link you gave me gives the info for 10.6 running the php that comes with the os (on 10.5 the php that comes with the os does not provide GD, therefor I installed the entropy php module)

    I have changed the date.timezone in all the php.ini files I could find among them the one mentioned in the list phpinfo() returns, but did not get the desired result, so I have posted a question about it at the entropy forums. I have to wait and see what they say.

    Regarding the original problem: I am fairly certain that dropping all the tables manually before re-installing silverstripe solves the problem this all started with.

  • frodeaux
    Avatar
    Community Member
    15 Posts

    Re: Stumped after previous successes with install Link to this post

    Re: dropping all the tables. That's what worked for me, but only after the date
    (and other) problems were resolved. Apparently certain failures during the
    installation process's setting up of the database leave it in an invalid state.
    Dropping the tables and reinstalling after those problems have been fixed
    seems to do the trick, at least in my environment.

  • yurigoul
    Avatar
    Community Member
    202 Posts

    Re: Stumped after previous successes with install Link to this post

    I did not get a reply just yet from the entropy boards, but I added the folowing to my .htaccess file:

    <IfModule mod_php5.c>
    php_value date.timezone "Europe/Berlin"
    </IfModule>

    That + dropping the tables manualy did the trick, the error is gone, I get the 'Installation Successful' message in silverstripe.

    A side not about the current entropy apache php module: I tested changing settings and then checking them with php.ini and my conclusion is that all the settings in the php.ini file at /usr/local/php5/lib/php.ini are ignored in Entropy PHP 5.3.0-3 (changing safe_mode to safe_mode=Off did not show in phpinfo() for example). But I am still waiting for a reply of course.

  • Frankie
    Avatar
    Community Member
    1 Post

    Re: Stumped after previous successes with install Link to this post

    I've just finished installing MAMP on my OS X 10.4.11 - it all works exactly as the installation guide says.

    Followed the installation guide for Silverstripe - go to the local site and get "The requested URL /silverstripe/ was not found on this server."

    I'm no programmer, so can anyone help?

  • yurigoul
    Avatar
    Community Member
    202 Posts

    Re: Stumped after previous successes with install Link to this post

    There probably were some errors during the install that forced you to install again, am I right?

    Anyway: use phpmyadmin that comes with mamp - follow the link in the mamp start page that opens in your browser when you start mamp (if you do not know what I am talking about there should be a link in your mamp startup application in the mamp folder or you can have a look at the mamp website to find out about it)

    Use phpmyadmin to select the database that was created during the silverstripe install and delete all the tables in it. You can leave the database as it is just delete the tables. Check your phpmyadmin documentation if you are not sure how to do it.

    Then go back to your silverstripe/install.php - go there directly, do NOT go into the silverstripe folder because that will recreate the tables and you wil have to delete them again - and do a reinstall.

  • mathiasmex
    Avatar
    Community Member
    28 Posts

    Re: Stumped after previous successes with install Link to this post

    @yurigoul, @frodeaux

    had the same problem today on Mac 10.6, PHP 5.3. (Silverstripe 2.3.4)
    Followed your suggestion by deleting tabels and return to silverstripe/install.php and - yes, it works.

    Would like to know what the problem is, at it seems to be a Database problem after several intents of trying to install.

    Did you guys get any further with this, as this might be a bug ?

    Thanks for enlighten me

    mathiasmex

  • yurigoul
    Avatar
    Community Member
    202 Posts

    Re: Stumped after previous successes with install Link to this post

    I do not know what causes it, reported it as a bug here: http://open.silverstripe.org/ticket/4673 - still unasigned.

    4526 Views
Page: 1 2 3 4
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.