From 83b444edfcd084359012b779151797d37b80a0f3 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 26 Sep 2012 12:17:51 +0000 Subject: [PATCH] // Added debug information to the installer #PSCFV-4195 --- install-dev/models/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-dev/models/install.php b/install-dev/models/install.php index 4378eb19a..a1fb674b3 100644 --- a/install-dev/models/install.php +++ b/install-dev/models/install.php @@ -254,7 +254,7 @@ class InstallModelInstall extends InstallAbstractModel $shop_group->active = true; if (!$shop_group->add()) { - $this->setError($this->language->l('Cannot create group shop')); + $this->setError($this->language->l('Cannot create group shop').' / '.Db::getInstance()->getMsgError()); return false; } @@ -267,7 +267,7 @@ class InstallModelInstall extends InstallAbstractModel $shop->name = $shop_name; if (!$shop->add()) { - $this->setError($this->language->l('Cannot create shop')); + $this->setError($this->language->l('Cannot create shop').' / '.Db::getInstance()->getMsgError()); return false; } Context::getContext()->shop = $shop; @@ -282,7 +282,7 @@ class InstallModelInstall extends InstallAbstractModel $shop_url->active = true; if (!$shop_url->add()) { - $this->setError($this->language->l('Cannot create shop URL')); + $this->setError($this->language->l('Cannot create shop URL').' / '.Db::getInstance()->getMsgError()); return false; }