View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024408 | mantisbt | upgrade | public | 2018-05-08 06:21 | 2018-05-20 07:45 |
Reporter | LucVD | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Xamp | OS | Windows | ||
Product Version | 2.14.0 | ||||
Summary | 0024408: SYSTEM NOTICE: 'Undefined variable: t_sqlarray' in 'C:\xampp\htdocs\mantisbt\admin\install.php' line 977 | ||||
Description | While executing: After disabling this part of the code the error disapears:
EDIT (dregad): fix layout | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
This section of the code generates a SQL script to assist in manual creation of the DB schema, so I assume you have checked Print SQL Queries instead of Writing to the Database. Commenting out the foreach loop will prevent any output, which kind of defeats the whole purpose of logging the SQL in the first place, so it's not clear what your intent is. Can you specify at which schema step the error is triggered (or the last one before that), as well as what settings you entered in the form to launch the installation. |
|
I was indeed Printing the SQL Queries, to have an idea of what database changes to expect. I have attached a screenshot with the same problem on Windosws IIS with db_type: mssqlnative |
|
As per your comments i concluded it would work if i did not: "Print SQL Queries instead of Writing to the Database". |
|
Thanks for the feedback. It would still be interesting to know what part of the upgrade script is triggering the PHP notice, as I believe that should be fixed. Unfortuntely, I was not able to reproduce the error locally.
just before the offending |
|
I am so sorry, I am unable to reproduce the error. |
|
OK, I'll close this then. Feel free to reopen and provide the requested info if you see the error again. |
|