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

SilverStripe 3.1 Requirements - "display_errors" Option


Reply


4 Posts   983 Views

Avatar
B00mtastik™

Community Member, 18 Posts

3 October 2013 at 12:14pm

Hey guys,

I've been getting this warning from the requirements page during the install of SS 3.1 from 3 different Ubuntu 13.04 installations now. I did some searching and I don't think anyone else has come across it, or they have and haven't said anything so far.

The problem I'm getting is that even though in php.ini the setting is "display_errors = off" the requirements page still continues to claim that it is "display_errors = On" and it continues to stay on there as a warning. I know its just a warning and I've gone ahead and installed through it and it works all right. But I'm also extremely OCD regarding those things as well as really curious.

Can anyone shed some light as to why this might be happening? I've restart the apache2 service as well as rebooted the server to make sure the php.ini got loaded properly, but still during installation the requirements still claimed it was set at "On". All servers I've tested on were Ubuntu Server 13.04 running a LAMP Stack, 2 from DigitalOcean VPS and one local VPS at my current work place and one Dreamhost Dedicated Server.

Thanks in advanced.

-b00mer

Avatar
Sean

Forum Moderator, 922 Posts

3 October 2013 at 5:02pm

Edited: 03/10/2013 5:05pm

This is a bug in the installer. It actually sets display_errors to "On" dynamically to avoid a blank screen during installation. However, the installer will check this and think errors are actually on even though they only were turned on during installation: https://github.com/silverstripe/silverstripe-framework/blob/3.1/dev/install/install.php5#L22

Avatar
Sean

Forum Moderator, 922 Posts

4 October 2013 at 1:14pm

Edited: 04/10/2013 1:15pm

This has been fixed in version control, will be in a 3.0/3.1 point release hopefully not too far in the future! :)

https://github.com/silverstripe/silverstripe-framework/pull/2487

Avatar
B00mtastik™

Community Member, 18 Posts

4 October 2013 at 10:34pm

Awesome. Good to know and thanks. =)