Jump to content

error al actualizar prestashop


Recommended Posts

Hola!

 

Ayer actualicé prestashop a su última versión y me dio estos errores:

 

SQL 1.6.1.0 145 in REPLACE INTO `ps_tag_count` (id_group, id_tag, id_lang, id_shop, counter) SELECT cg.id_group, t.id_tag, t.id_lang, ps.id_shop, COUNT(pt.id_tag) AS times FROM `ps_product_tag` pt LEFT JOIN `ps_tag` t ON (t.id_tag = pt.id_tag) LEFT JOIN `ps_product` p ON (p.id_product = pt.id_product) INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product = p.id_product) JOIN (SELECT DISTINCT id_group FROM `ps_category_group`) cg JOIN (SELECT DISTINCT id_shop FROM `ps_shop`) ps WHERE pt.`id_lang` = 1 AND product_shop.`active` = 1 AND EXISTS(SELECT 1 FROM `ps_category_product` cp LEFT JOIN `ps_category_group` cgo ON (cp.`id_category` = cgo.`id_category`) WHERE cgo.`id_group` = cg.id_group AND p.`id_product` = cp.`id_product`) AND product_shop.id_shop = ps.id_shop GROUP BY pt.id_tag, cg.id_group: Table './lenceria_ps/ps_category_product' is marked as crashed and should be repaired


SQL 1.6.1.2 145 in REPLACE INTO `ps_tag_count` (id_group, id_tag, id_lang, id_shop, counter) SELECT cg.id_group, pt.id_tag, pt.id_lang, id_shop, COUNT(pt.id_tag) AS times FROM `ps_product_tag` pt INNER JOIN `ps_product_shop` product_shop USING (id_product) JOIN (SELECT DISTINCT id_group FROM `ps_category_group`) cg WHERE product_shop.`active` = 1 AND EXISTS(SELECT 1 FROM `ps_category_product` cp LEFT JOIN `ps_category_group` cgo ON (cp.`id_category` = cgo.`id_category`) WHERE cgo.`id_group` = cg.id_group AND product_shop.`id_product` = cp.`id_product`) GROUP BY pt.id_tag, pt.id_lang, cg.id_group, id_shop ORDER BY NULL: Table './lenceria_ps/ps_category_product' is marked as crashed and should be repaired


SQL 1.6.1.2 145 in ALTER TABLE `ps_category_product` ADD INDEX(`id_category`, `position`): Table './lenceria_ps/ps_category_product' is marked as crashed and should be repaired


Alerta detectada durante la actualización.
 
¿Debo de hacer algo al respecto?
 
El caso es que prestashop no está funcionando bien, cuando accedo a la web no se muestra ningún producto, al entrar desde la vista previa de un producto desde la administración, me sale esto: 
 
Error 1
No tienes acceso a este producto.
« Atrás
 
¿Alguien podría indicarme los pasos a realizar?
Link to comment
Share on other sites

Parece que la base de datos está dañada. Todas las tablas mencionadas se deben reparar y yo recomiendo encarecidamente que lo haga por todas las tablas. Utilice phpMyAdmin.

 

seems the database is corrupted. All mentioned tables should be repaired and I strongly recomment to do it for all tables. Use phpMyAdmin.

Link to comment
Share on other sites

Ya las he reparado todas desde phpmyadmin.

 

La tienda sigue sin mostrarme los productos y me sigue mostrando el mensaje al entrar en uno desde la vista previsa de administracion: 

 

Error 1
No tienes acceso a este producto.
« Atrás
 
¿Se os ocurre que puede pasar?
 
Gracias!
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...