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

5.3.3 Thread-safe Debug.php on line 671


Reply

7 Posts   1316 Views

Avatar
employboy

10 November 2010 at 10:14am (Last edited: 10 November 2010 11:11pm), Community Member, 9 Posts

I've tried this installation on a couple of machines and it's the same story. Full error reads:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\www\silverstripe\sapphire\dev\Debug.php on line 671

Any ideas will be appreciated and gladly tried out. I only just started using Silverstripe on Monday.

I'm using - Apache 2.2.17 on windows [edited post - for easy reading].

Thanks in advance for your help.

Rob.

Avatar
Sean

10 November 2010 at 10:50pm Forum Moderator, 921 Posts

Could you describe a bit more about the server software you're using?

Avatar
employboy

10 November 2010 at 11:09pm Community Member, 9 Posts

I thought that question might be on it's way. I'm kicking myself for not mentioning it.

Apache 2.2.17 on windows.

All relevant modules enabled. Hope that answers your question Sean.

Avatar
Sean

11 November 2010 at 1:51pm (Last edited: 11 November 2010 1:52pm), Forum Moderator, 921 Posts

Hello,

Try adding this to the .htaccess file in the location where you installed SilverStripe:

php_value max_execution_time 120

You may also want to change the server name to "127.0.0.1" instead of "localhost" if that's how you've set the database connection.
For whatever reason, Windows is slower to resolve localhost for MySQL, don't ask me why, it affects PHP, MySQL and Windows in general.

If you've already installed SilverStripe, simply change the mysite/_config.php "server" value in the $databaseConfig array to "127.0.0.1" if it's set to localhost.

Otherwise, specify "127.0.0.1" in the "Database server:" field on the SilverStripe installation screen to start from scratch.

Hope this helps!

Cheers,
Sean

Avatar
employboy

18 November 2010 at 11:11am Community Member, 9 Posts

That's taken care of business Sean. Thanks very much, whereabouts are you? I'll buy you a bear some time.

Seriously, really appreciate your help.

Avatar
Sean

18 November 2010 at 11:28am Forum Moderator, 921 Posts

I'm in New Zealand. If you're on this side of the world anytime soon, you can certainly buy me a beer. :-)

Sean

Avatar
employboy

18 November 2010 at 8:50pm Community Member, 9 Posts

It seems I've already committed to buying you a 'bear'!? Are they native to New Zealand? A beer would be far easier. Thanks again.