Sign in to follow this  
nunogato

Magento 1 upgrade to last version "Unknown column 'cancellation_status'"

Recommended Posts

Hi,

After upgrading to the latest version following the instructions of replacing files I get the error below when going to Ebay->Orders.

Where should this column be created?

Quote

Fatal error occurred: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cancellation_status' in 'field list', query was: SELECT `main_table`.*, `second_table`.*, `mea`.`mode` AS `account_mode`, `so`.`increment_id` AS `magento_order_num`, IF ( `cancellation_status` = 1, 3, IF ( `shipping_status` = 2, 2, IF ( `payment_status` = 3, 1, 0 ) ) ) AS `status` FROM `m2epro_order` AS `main_table` INNER JOIN `m2epro_ebay_order` AS `second_table` ON `second_table`.`order_id` = `main_table`.`id` LEFT JOIN `m2epro_ebay_account` AS `mea` ON mea.account_id = `main_table`.account_id LEFT JOIN `sales_flat_order` AS `so` ON (so.entity_id = `main_table`.magento_order_id) WHERE (`main_table`.`component_mode` = 'ebay') ORDER BY purchase_create_date DESC LIMIT 20".

 

Edited by nunogato

Share this post


Link to post
Share on other sites

After checking on the installation files in the folder where it creates the tables found where the "cancelation_status" belongs to and added it to the table.

Btw, the table is the m2epro_ebay_order

Let's see if there are no other issues

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this