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.

Installing SilverStripe /

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

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

Stumped after previous successes with install


Reply


25 Posts   5055 Views

Avatar
OwenW

Community Member, 45 Posts

19 October 2009 at 12:32pm

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.

Avatar
yurigoul

Community Member, 202 Posts

20 October 2009 at 12:05am

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.

Avatar
frodeaux

Community Member, 15 Posts

20 October 2009 at 1:32am

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.

Avatar
yurigoul

Community Member, 202 Posts

20 October 2009 at 11:25pm

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.

Avatar
Frankie

Community Member, 1 Post

24 October 2009 at 2:11am

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?

Avatar
yurigoul

Community Member, 202 Posts

24 October 2009 at 2:22am

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.

Avatar
mathiasmex

Community Member, 28 Posts

7 December 2009 at 1:01pm

Edited: 07/12/2009 1:02pm

@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

Avatar
yurigoul

Community Member, 202 Posts

7 December 2009 at 1:24pm

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