Jump to content

(SOLVED) 2 sql Errors...after upgrade??


Recommended Posts

I have tried to upgrade my test site from 1.1.0.5 to 1.2.5.0 and everything seems fine except when I was upgrading the translations and img files was still red and not changed to green although the permissions are set correct, so I continued and I had 2 sql errors as below

SET NAMES ‘utf8’

/* ##################################### / / STRUCTURE / / ##################################### */ DROP TABLE IF EXISTS ps_order_customization_return

ALTER TABLE ps_cart ADD id_guest INT UNSIGNED NULL AFTER id_customer

Is this serious for the running of the shop and what could I do to fix this please.

Regards,

Mark

Link to comment
Share on other sites

From the error message, it looks like Prestashop tried to remove a table and add a new column to another table. I can't see how failed to remove a table would cause a problem, but a missing column in a table will cause problems. You should use phpMyAdmin to check whether the column id_guest exists in ps_cart. If it doesn't, add a new column after id_customer called id_guest of type INT(10), attributes UNSIGNED and null "not null".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...