View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04127 | Bug reports | Installation | public | 2010-02-11 13:21 | 2010-02-23 20:55 |
Reporter | aoliveira | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.87+ | ||||
Summary | 04127: Upgrade to 1.87+ returns sql error and PHP Notice in index.php | ||||
Description | When upgrading from version 1.85 to 1.87+ (or 1.87RC5, also tried out) I get an sql error regaring two updates to the question_attributes table. | ||||
Additional Information | Machine has the following configuration:
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 7670 | ||||
I will donate to the project if issue is resolved | |||||
Browser | ie8 | ||||
Database type & version | MS SQL 2008 | ||||
Server OS (if known) | MS Windows Server 2003 | ||||
Webserver software & version (if known) | iis | ||||
PHP Version | 5.5 | ||||
@ aoliveira: which build of LimeSurvey v1.87+ did you use for upgrade? ==> The latest stable plus release is build 8374 ==> can you reproduce the problem with this build? |
|
I tried with build 8243 and 8366. |
|
HI, |
|
I think I have the solution ;-) In file comon.php, the access to the variable updatelastcheck should be preceded by a '@' instead of a '$' which I suppose in PHP results in not raising an error if the variable is null... So, I just replaced $updatelastcheck by @updatelastcheck and managed to access the admin area of the site and, in the globalseeting page, manage to check for updates... Do you agree? |
|
I am sorry, but your fix is bogus. The notices are caused by an incorrect update - you did not replace config- |
|
Thanks for your feedback. |
|
Insert the line $debug=0; in your config.php. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-02-11 13:21 | aoliveira | New Issue | |
2010-02-11 13:21 | aoliveira | Status | new => assigned |
2010-02-11 13:21 | aoliveira | Assigned To | => user372 |
2010-02-11 13:21 | aoliveira | File Added: error upgrade limesurvey.docx | |
2010-02-11 13:21 | aoliveira | LimeSurvey build number | => 7670 |
2010-02-11 13:21 | aoliveira | Browser | => ie8 |
2010-02-11 13:21 | aoliveira | Database & DB-Version | => MS SQL 2008 |
2010-02-11 13:21 | aoliveira | Operating System (Server) | => MS Windows Server 2003 |
2010-02-11 13:21 | aoliveira | Webserver | => iis |
2010-02-11 13:21 | aoliveira | PHP Version | => 5.5 |
2010-02-12 07:18 |
|
Note Added: 11054 | |
2010-02-12 07:18 |
|
Status | assigned => feedback |
2010-02-12 10:23 | aoliveira | Note Added: 11062 | |
2010-02-12 15:44 | aoliveira | Note Added: 11065 | |
2010-02-12 15:58 | aoliveira | Note Added: 11066 | |
2010-02-13 01:41 | c_schmitz | Note Added: 11076 | |
2010-02-13 01:41 | c_schmitz | Status | feedback => assigned |
2010-02-13 01:41 | c_schmitz | Assigned To | user372 => c_schmitz |
2010-02-13 11:38 | c_schmitz | Status | assigned => resolved |
2010-02-13 11:38 | c_schmitz | Fixed in Version | => 1.87+ |
2010-02-13 11:38 | c_schmitz | Resolution | open => fixed |
2010-02-18 18:19 | c_schmitz | Status | resolved => closed |
2010-02-22 11:11 | aoliveira | Note Added: 11144 | |
2010-02-22 11:11 | aoliveira | Status | closed => feedback |
2010-02-22 11:11 | aoliveira | Resolution | fixed => reopened |
2010-02-23 20:55 | c_schmitz | Note Added: 11161 | |
2010-02-23 20:55 | c_schmitz | Status | feedback => closed |
2010-02-23 20:55 | c_schmitz | Resolution | reopened => fixed |