TOPIC: Add product

Add product 9 years 11 months ago #4661

  • dmzinin
  • dmzinin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hello! When i try update or add product, i get this "An error occurred while updating object. product ()" What's happen and how i can fix it?
Thanks, Dm
Last Edit: 9 years 11 months ago by dmzinin.
The administrator has disabled public write access.

Re: Add product 9 years 11 months ago #4662

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
Hello,
Yes, use MyPHPAdmin, go to your database, choose SQL tab and paste this:
alter table ps_product add column redirect_type enum ('404','301','302') charset 'utf8' not null;
alter table ps_product add column id_product_redirected int(10) unsigned not null default 0;

alter table ps_product_shop add column redirect_type enum ('404','301','302') charset 'utf8' not null;
alter table ps_product_shop add column id_product_redirected int(10) unsigned not null default 0; 
then click GO button on the bottom right.
The administrator has disabled public write access.
Time to create page: 0.097 seconds