New Zenner
- Join Date:
- Jan 2013
- Posts:
- 7
- Plugin Contributions:
- 0
[Done v1.6.0] Installer database upgrade db-error fails
From zc_install/includes/classes/installer.php:686
$this->db->Execute($sql) or die("Error in query: $sql".$this->db->ErrorMsg());
But in /includes/classes/db/mysql/query_factory.php no function ErrorMsg() is defined (just checked in 1.54). Apparently ErrorMsg() is only called in the installer-script.
This makes it difficult to debug why Zc_install -> Database Upgrade fails, since it crashes the whole script, and no error messages is displayed.
Tested with 1.53, just checked that 1.54 seems to suffer from same bug.
For reference:
http://www.zen-cart.com/showthread.php?213976-Install-ZC-1-5-3-Call-to-undefined-method-queryFactory