Welcome, Guest
Username: Password: Remember me

TOPIC: Add product

Add product 3 years 5 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: 3 years 5 months ago by dmzinin.
The administrator has disabled public write access.

Re: Add product 3 years 5 months ago #4662

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • 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.163 seconds