Suraj Posted October 27, 2009 Share Posted October 27, 2009 i m gettting this error when i update the product and stocks.when i edit or udpate the product or stock i got this: Quote Table 'sosd_shop.ps_mailalert_customer_oos' doesn't exist SELECT id_customer, customer_email FROM `ps_mailalert_customer_oos` WHERE `id_product` = 100 when i try to repair the database i got this: Quote sosd_shop.ps_mailalert_customer_oosError : Table 'sosd_shop.ps_mailalert_customer_oos' doesn't existstatus : Operation failed Link to comment Share on other sites More sharing options...
Harshal Posted October 27, 2009 Share Posted October 27, 2009 Suraj,Question for you, could you implement shipping price based on percentage of total order. I was reviewing your conversation but it seems am unable to do as per the instructions. can you help Link to comment Share on other sites More sharing options...
TropischBruin Posted October 27, 2009 Share Posted October 27, 2009 I just did an upgrade without any issues.Read what the error says: Table ‘sosd_shop.ps_mailalert_customer_oos’ doesn’t existWhy do your tables have the prefix sosd_shop?Before upgrading you should always:Switch to the Default theme.Disable Friendly urls. (only on live shops)Copy a blank (empty) .htaccess in the root of your shop. (only on live shops)Disable ALL non-default PS modules.Check wich versions are in between your current version and the one you want to go to (ignore the beta releases).Upgrade from you version to the next and then first check if you shop still works and make a backup before moving on to the next version.Did I mention that you should always: BACKUP - BACKUP- BACKUP Link to comment Share on other sites More sharing options...
Suraj Posted October 27, 2009 Author Share Posted October 27, 2009 Quote Suraj,Question for you, could you implement shipping price based on percentage of total order. I was reviewing your conversation but it seems am unable to do as per the instructions. can you help i never got this working, but still trying to figure it out. maybe some other good coders can find this easily lol. Link to comment Share on other sites More sharing options...
Suraj Posted October 27, 2009 Author Share Posted October 27, 2009 Quote I just did an upgrade without any issues.Read what the error says: Table ‘sosd_shop.ps_mailalert_customer_oos’ doesn’t existWhy do your tables have the prefix sosd_shop?Before upgrading you should always:Switch to the Default theme.Disable Friendly urls. (only on live shops)Copy a blank (empty) .htaccess in the root of your shop. (only on live shops)Disable ALL non-default PS modules.Check wich versions are in between your current version and the one you want to go to (ignore the beta releases).Upgrade from you version to the next and then first check if you shop still works and make a backup before moving on to the next version.Did I mention that you should always: BACKUP - BACKUP- BACKUP I did the same as you mention, but i am getting the error not sure why.for your information, sosd_shop is the database name but this table is missing after upgrade " Quote ps_mailalert_customer_oos" Link to comment Share on other sites More sharing options...
TropischBruin Posted October 27, 2009 Share Posted October 27, 2009 Did you use a third party module for mailalerts? Link to comment Share on other sites More sharing options...
Suraj Posted October 27, 2009 Author Share Posted October 27, 2009 No, I am using the default alert.Mail alerts v2.2Sends e-mails notifications to customers and merchants Link to comment Share on other sites More sharing options...
Suraj Posted October 27, 2009 Author Share Posted October 27, 2009 I manually create a new table and the problem is solver: Quote CREATE TABLE `ps_mailalert_customer_oos` ( `id_customer` int(10) unsigned NOT NULL, `customer_email` varchar(128) NOT NULL, `id_product` int(10) unsigned NOT NULL, `id_product_attribute` int(10) unsigned NOT NULL, PRIMARY KEY (`id_customer`,`customer_email`,`id_product`,`id_product_attribute`)) ENGINE=MyISAM DEFAULT CHARSET=utf8; Link to comment Share on other sites More sharing options...
Texar Posted May 17, 2010 Share Posted May 17, 2010 Well, for some reason this table is working with innodb engine. So maybe you copied the database by using the files and not with a mysqldump. so you corrupted your database and that is why you have got this error.Anyway, by recreating the table you solved the proble. To prestashop programmer: why this table is using innodb engine? Is it an error or something you really wanted to do?Regards,Denis Link to comment Share on other sites More sharing options...
bulono Posted August 31, 2011 Share Posted August 31, 2011 hi, i heva the same problem can you explain me how you resolved it, i mean how do yo creat the new table and where, thanks Link to comment Share on other sites More sharing options...
Recommended Posts