View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000385 | WackoWiki | installer | public | 2011-06-03 15:01 | 2017-08-31 09:36 |
Reporter | pascalvmf | Assigned To | administrator | ||
Priority | high | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | synology | OS | linux | OS Version | DSM 2.1-0844 |
Product Version | 4.3.rc | ||||
Target Version | 5.5.0 | Fixed in Version | 5.5.0 | ||
Summary | 0000385: installer should show sql error when upgrading | ||||
Description | when upgrading and receiving error during sql upgrade, it is better for developper to get the exact error messages. Today only layman messages are issued by setup/database-installer.php | ||||
Steps To Reproduce | Just upgrade from R4.3rc to R5.0beta | ||||
Additional Information | Proposed patch to show sql errors : --- database-install.php.org +++ database-install.php @@ -11,7 +11,7 @@ { if($error_text) { - echo "<ul class=\"install_error\"> + echo "<ul class=\"install_error\"> ".mysql_error()." } echo "\n"; | ||||
Tags | mysql, Test | ||||
|
This is only the case for the mysql_legacy and mysqli_legacy driver, so we need this for both cases, the PDO driver catches and shows the errors. A patch addressing both cases would be helpful. -> 5.0 branch |
|
added support for mysql driver mysqli driver requires $dblink parameter in test function e.g. test($lang['InstallingConfigValues'], @mysqli_query($dblink, $insert_config), str_replace('%1', 'config values', $lang['ErrorAlreadyExists']), $dblink); http://wackowiki.hg.sourceforge.net/hgweb/wackowiki/dev/rev/badb93283d85 |
|
added support for mysqli driver http://wackowiki.hg.sourceforge.net/hgweb/wackowiki/dev/rev/5460c84cbcb2 |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-03 15:01 | pascalvmf | New Issue | |
2011-06-08 08:54 | administrator | Status | new => acknowledged |
2011-06-14 19:36 | administrator | Tag Attached: mysql | |
2011-06-14 19:37 | administrator | Tag Attached: Test | |
2011-10-13 08:02 | administrator | Target Version | 5.0.beta => 5.0.0 |
2011-10-18 14:54 | administrator | Note Added: 0000824 | |
2011-12-27 08:12 | administrator | Note Edited: 0000824 | |
2011-12-27 11:03 | administrator | Note Added: 0000833 | |
2011-12-27 11:05 | administrator | Status | acknowledged => assigned |
2011-12-27 11:07 | administrator | Note Edited: 0000833 | |
2011-12-27 11:08 | administrator | Assigned To | => administrator |
2011-12-27 11:35 | administrator | Severity | major => tweak |
2012-04-22 17:04 | administrator | Target Version | 5.0.0 => 5.4.0 |
2014-03-21 14:57 | administrator | Target Version | 5.4.0 => 5.5.0 |
2015-09-19 11:05 | administrator | Status | assigned => resolved |
2015-09-19 11:05 | administrator | Resolution | open => fixed |
2015-09-19 11:05 | administrator | Fixed in Version | => 5.5.0 |
2015-09-19 11:05 | administrator | Note Added: 0000952 | |
2016-09-21 09:18 | administrator | Fixed in Version | 5.5.0 => 5.5.rc2 |
2017-08-31 09:36 | administrator | Fixed in Version | 5.5.rc2 => 5.5.0 |