View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1253 | RackTables | default | public | 2014-06-21 00:09 | 2015-01-09 23:41 |
Reporter | wfaulk | Assigned To | andriyanov | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.20.8 | ||||
Target Version | 0.20.9 | Fixed in Version | 0.20.9 | ||
Summary | 1253: installer module fails to check for PHP module session | ||||
Description | The 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. | ||||
Tags | No tags attached. | ||||
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. |
|
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. |
|
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 |