View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08388 | Bug reports | Accessibility | public | 2013-11-19 15:39 | 2013-11-22 16:12 |
| Reporter | marcosCosta | Assigned To | c_schmitz | ||
| Priority | urgent | Severity | block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.00+ | ||||
| Summary | 08388: String or binary data truncated when CDbCommand try to execute a SQL statement | ||||
| Description | CDbCommand failed to execute the SQL statement: SQLSTATE[22001]: [Microsoft][SQL Server Native Client 11.0][SQL Server] I've getting the error above. I'm just trying to open the Control Panel, but the browser still block me. Since one week, I'm trying to solve this problem. I'm using SQL Server 2008 and any data of the base was changed by me. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | Inaccessible | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome | ||||
| Database type & version | SQL Server 2008 | ||||
| Server OS (if known) | Windows 7 Professional | ||||
| Webserver software & version (if known) | ISS7 with PHP Manager | ||||
| PHP Version | 5.2 | ||||
| Git branch / Pull Request URL | |||||
|
Please activate debug mode in /application/config/config.php and you should get a more detailed error. Please attach the result as HTML file. |
|
|
Before you'd reply my question I tried to solve the problem searching for the query that was causing the problem. I found the code at framework/db/CDbcommand.php and I've commented a try catch between the lines 327 and 356 replacing all this by return 1. So the problem was solved. Today I uncommented to see what would happen and nevertheless the crash don't happened again. What about this? |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-11-19 15:39 | marcosCosta | New Issue | |
| 2013-11-19 15:40 | marcosCosta | Issue Monitored: marcosCosta | |
| 2013-11-20 13:10 | marcosCosta | Issue End Monitor: marcosCosta | |
| 2013-11-21 11:28 | c_schmitz | Note Added: 27283 | |
| 2013-11-21 11:28 | c_schmitz | Assigned To | => c_schmitz |
| 2013-11-21 11:28 | c_schmitz | Status | new => feedback |
| 2013-11-22 16:09 | marcosCosta | Note Added: 27327 | |
| 2013-11-22 16:09 | marcosCosta | Status | feedback => assigned |
| 2013-11-22 16:12 | c_schmitz | Status | assigned => closed |
| 2013-11-22 16:12 | c_schmitz | Resolution | open => unable to reproduce |