View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07221 | Bug reports | Installation | public | 2013-01-23 16:00 | 2013-01-23 16:29 |
| Reporter | vladb | Assigned To | c_schmitz | ||
| Priority | low | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Summary | 07221: hash module is not checked during installation | ||||
| Description | The LimeSurvey installer checks some dependencies and blocks the installation if some of those are missing. However, hash php module is not one of those. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | I managed to find the requirement for hash module only after migrating from 1.9x and resolving the issue with the application returning blank window / error 500. After debugging it turned out that hash function in one of the files caused that behavior. I think it would be wise to add the verification for hash module as well. This has more importance in the light of the fact that LS 1.xx doesn't require the hash module to be enabled. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 130122 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 18.0.1 | ||||
| Database type & version | MySQL 5.1.41 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache 1.3.42 | ||||
| PHP Version | 5.3.13 | ||||
| Git branch / Pull Request URL | |||||
|
The hash() function is part of the PHP core as of 5.1.2 (see http://php.net/manual/en/book.hash.php ) and LimeSurvey requires 5.1.6. It can be explicitely disabled like most other libraries in PHP (like session or pcre) but we cannot check possibly for all of these libraries because we assume that they are available in general. Nevertheless I added a short note to the installation docs: http://docs.limesurvey.org/Installation#Make_sure_you_can_use_LimeSurvey_on_your_website |
|