cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Error 503 - exception printing is disabled

SOLVED

Magento Error 503 - exception printing is disabled

Hi,

i need some assistance and would be very thankful.

Im new to magento and have been threated to help with this problem

 

There has been an error processing your request
Error in file: "/homepages/22/XXXXXXXXX/htdocs/XXXXXXXXX/app/code/community/Dhl/Versenden/sql/dhl_versenden_setup/upgrade-1.2.0-1.3.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'aw4a_dhl_versenden_label_status' already exists, query was: CREATE TABLE `aw4a_dhl_versenden_label_status` (
  `order_id` int UNSIGNED NOT NULL COMMENT 'Entity Id' ,
  `status_code` smallint UNSIGNED NOT NULL default '0' COMMENT 'Status Code' ,
  PRIMARY KEY (`order_id`),
  INDEX `IDX_AW4A_DHL_VERSENDEN_LABEL_STATUS_STATUS_CODE` (`status_code`),
  CONSTRAINT `FK_CFXXXXXXXXXXXXXXXXX` FOREIGN KEY (`order_id`) REFERENCES `aw4a_sales_flat_order` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
) COMMENT='DHL Versenden Label Status' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
Trace: #0 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/Resource/Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...') #1 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.1.0', '1.3.1') #2 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.1.0', '1.3.1') #3 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates() #4 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates() #5 /homepages/22/XXX/htdocs/XXX/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Model_App->_initModules() #6 /homepages/22/XXX/htdocs/XXX/app/Mage.php(684): Mage_Core_Model_App->run(Array) #7 /homepages/22/XXX/htdocs/XXX/index.php(83): Mage::run('', 'store') #8 {main}
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento Error 503 - exception printing is disabled

Hi @none_none3,

 

It seems the module Dhl/Versenden is trying to install itself and create the table aw4a_dhl_versenden_label_status but that table already exists.

That's what the error means.

 

You should find a way to avoid that step, or delete the table (make a backup before) if you didn't use it yet. 

 

Or maybe you will need a little bit of help from qualified support to sole this issue. Isn't so hard but tricky.

View solution in original post

2 REPLIES 2

Re: Magento Error 503 - exception printing is disabled

Hi @none_none3,

 

It seems the module Dhl/Versenden is trying to install itself and create the table aw4a_dhl_versenden_label_status but that table already exists.

That's what the error means.

 

You should find a way to avoid that step, or delete the table (make a backup before) if you didn't use it yet. 

 

Or maybe you will need a little bit of help from qualified support to sole this issue. Isn't so hard but tricky.

Re: Magento Error 503 - exception printing is disabled

Exactly.

It was an update which somebody else started which got stuck writing the table in the mysql database because it was already there.

 

I stopped the actualization process, removed maintenance.flag and everythings working like a charme.

Next time i know, i just have to delete the given table in database in order to continue updating.