View Issue Details

IDProjectCategoryView StatusLast Update
1253RackTablesdefaultpublic2015-01-09 23:41
Reporterwfaulk Assigned Toandriyanov  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.20.8 
Target Version0.20.9Fixed in Version0.20.9 
Summary1253: installer module fails to check for PHP module session
DescriptionThe installer doesn't check to see if the PHP module "session" is installed. If it is not installed, loading the front page after completing the installation results in a blank page with no error message on the page or in any log files. There is no error message because calls to session_start() are prepended with an '@' to explicitly throw errors away.
TagsNo tags attached.

Activities

wfaulk

wfaulk

2014-06-21 00:11

reporter   ~0002361

In FreeBSD, php5-session is a separate package that is not installed automatically with installation of php5. It took me a long time to figure out what was going on.

I'd say throwing away errors is probably a bad idea. If you know that there are certain errors that you don't care about (in this case, I'm assuming "session already exists"), you should handle that case and not mask real errors.
andriyanov

andriyanov

2015-01-09 21:14

reporter   ~0002623

The case when the session module is missing is not common, so I decided not to add an additional check to setup process.

Instead, the call to session_start is now made such a way that does not hide error messages. This should be enough.

Thank you very much for digging into this issue and reporing it.

Issue History

Date Modified Username Field Change
2014-06-21 00:09 wfaulk New Issue
2014-06-21 00:11 wfaulk Note Added: 0002361
2015-01-09 21:14 andriyanov Note Added: 0002623
2015-01-09 21:14 andriyanov Status new => closed
2015-01-09 21:14 andriyanov Assigned To => andriyanov
2015-01-09 21:14 andriyanov Resolution open => fixed
2015-01-09 21:14 andriyanov Fixed in Version => 0.20.9
2015-01-09 23:41 infrastation Target Version => 0.20.9