Jump to content

Si è verificato un errore durante l'aggiornamento. product


lucatd

Recommended Posts

Ciao, attualmente ho un problema importante con la seguente versione di ps 1.6.0.8. Non riesco a caricare, modificare e duplicare i prodotti, a causa di questo errore:

Si è verificato un errore durante l'aggiornamento. product (INSERT command denied to user 'Sql194051'@'62.149.143.114' for table 'ps_layered_product_attribute')

Ho provato questa guida:

https://www.templatemonster.com/help/prestashop-1-6-x-how-to-fix-an-error-occurred-while-updating-an-object-product.html#gref
 

The issue is usually caused by the lack of columns in the products database.

You can check what exactly causes the issue by turning on the debug mode in config/defines.ini.php file on FTP.

Just replace define(‘_PS_MODE_DEV_’, false); with define(‘_PS_MODE_DEV_’, true); in order to switch on the errors on the frontend.

In order to fix the error, please follow the steps below:

 

  1. Log into your Hosting Cpanel with your Hosting Cpanel login credentials – the username and password.

  2. Navigate to PhpmyAdmin tool and open the database used for this installation.

  3. Click the SQL tab.

  4. Copy – paste the following piece of code into the SQL tab in the database:

    1
    2
    3
    4
    ALTER TABLE `ps_product` ADD `pack_stock_type` int(11) UNSIGNED DEFAULT '3';
    ALTER TABLE `ps_product_shop` ADD `pack_stock_type` int(11) UNSIGNED DEFAULT '3';
    ALTER TABLE `ps_pack` ADD `id_product_attribute_item` int(10) UNSIGNED NOT NULL AFTER `id_product_item`;
    ALTER TABLE `ps_pack` DROP PRIMARY KEY;

Click ‘Go’


Ma mi da fuori il seguente errore:

 

Errore

Query SQL:

ALTER TABLE `ps_product` ADD `pack_stock_type` INT( 11 ) UNSIGNED DEFAULT '3';
 

Messaggio di MySQL: b_help.png

#1142 - ALTER command denied to user 'Sql194051'@'62.149.150.254' for table 'ps_product' 

 


Qualcuno ha risolto? Potete aiutarmi?

Grazie in anticipo
Luca

 

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...