View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 10519 | Bug reports | Installation | public | 2016-02-18 00:09 | 2016-02-18 09:53 |
| Reporter | FrancoisH | Assigned To | c_schmitz | ||
| Priority | urgent | Severity | crash | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.50.x | ||||
| Fixed in Version | 2.50.x | ||||
| Summary | 10519: Error when populating database on fresh install | ||||
| Description | When populating the database during standard and fresh installation process, I get this error : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; (see in other info for the complete error message) | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Please fix the following input errors: There were errors when trying to populate the database: | ||||
| Tags | No tags attached. | ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 160217 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | MySQL 5.5 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache 2.2.22 | ||||
| PHP Version | 5.6.17 | ||||
|
I had the same problem |
|
|
Here too... |
|
|
Very annoying and embarrassing bug! So I fixed it by myself. /var/www/html/limesurvey/installer/sql/create-mysql.sql
255 * 4 bytes > 1000 max key length. 200 is just a hotfix for now. I don't know what kind of values you prefer. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17486 |
|
|
2.50+ Build 160218 released |
|
|
LimeSurvey: master e025e451 2016-02-18 09:47 Details Diff |
Fixed issue 10519: Error when populating database on fresh install |
Affected Issues 10519 |
|
| mod - application/controllers/InstallerController.php | Diff File | ||
| mod - installer/sql/create-mysql.sql | Diff File | ||
| mod - installer/sql/create-pgsql.sql | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-02-18 00:09 | FrancoisH | New Issue | |
| 2016-02-18 01:23 | ecocitizen | Note Added: 35373 | |
| 2016-02-18 01:25 | jbeima | Note Added: 35374 | |
| 2016-02-18 01:56 | duemont | Note Added: 35375 | |
| 2016-02-18 09:47 | c_schmitz | Changeset attached | => LimeSurvey master e025e451 |
| 2016-02-18 09:47 | c_schmitz | Note Added: 35380 | |
| 2016-02-18 09:47 | c_schmitz | Assigned To | => c_schmitz |
| 2016-02-18 09:47 | c_schmitz | Resolution | open => fixed |
| 2016-02-18 09:47 | c_schmitz | Status | new => resolved |
| 2016-02-18 09:47 | c_schmitz | Fixed in Version | => 2.5 |
| 2016-02-18 09:53 | c_schmitz | Note Added: 35382 | |
| 2016-02-18 09:53 | c_schmitz | Status | resolved => closed |