View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09791 | Bug reports | Installation | public | 2015-07-23 09:56 | 2015-07-29 13:05 |
| Reporter | fvanderstarre | Assigned To | c_schmitz | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.06+ | ||||
| Fixed in Version | 2.06+ | ||||
| Summary | 09791: Upgrade from 2.05+ to 2.06+ breaks on Linux/mssql system | ||||
| Description | When upgrading from db version 178 to 181, SQL error occurs on line #1398 in updatedb_helper.php (function upgradeTokenTables179() ). | ||||
| Steps To Reproduce | See above | ||||
| Additional Information | current line #1398 in updatedb_helper.php: Suggested modification: | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 2.05+ 150310 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Any | ||||
| Database type & version | MS SQL server 2008 10.0.5500.0 (X64) | ||||
| Server OS (if known) | DB server: Windows NT 6.1 <X64> build 7601 SP1 | ||||
| Webserver software & version (if known) | Linux RHEL 7, Apache 2.4.6 | ||||
| PHP Version | 5.4.43 | ||||
|
Remind the break and pgsql ;) switch (Yii::app()->db->driverName) Maybe you can test and make a pull request ? |
|
|
Thank you Denis! I'll test with this code: |
|
|
mysqli : not needed A github account is free ;) PS : seems substring is know by all SQL server except SQLite :http://sql.sh/fonctions/substring . Maybe use substring directly ? |
|
|
updatedb_helper.php, line 1398 altered to: |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15612 |
|
|
Version 2.06+ Build 150729 released |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-07-23 09:56 | fvanderstarre | New Issue | |
| 2015-07-24 09:33 | DenisChenu | Note Added: 32771 | |
| 2015-07-24 09:51 | fvanderstarre | Note Added: 32773 | |
| 2015-07-24 10:07 | DenisChenu | Note Added: 32774 | |
| 2015-07-24 10:09 | DenisChenu | Note Edited: 32774 | |
| 2015-07-24 10:11 | DenisChenu | Note Edited: 32774 | |
| 2015-07-24 10:58 | fvanderstarre | Note Added: 32775 | |
| 2015-07-24 12:07 | c_schmitz | Assigned To | => c_schmitz |
| 2015-07-24 12:07 | c_schmitz | Status | new => assigned |
| 2015-07-24 12:07 | c_schmitz | Changeset attached | => LimeSurvey master 0306baf8 |
| 2015-07-24 12:07 | c_schmitz | Note Added: 32801 | |
| 2015-07-24 12:07 | c_schmitz | Resolution | open => fixed |
| 2015-07-24 12:07 | c_schmitz | Status | assigned => resolved |
| 2015-07-24 12:07 | c_schmitz | Fixed in Version | => 2.06+ |
| 2015-07-29 13:05 | c_schmitz | Note Added: 32828 | |
| 2015-07-29 13:05 | c_schmitz | Status | resolved => closed |