Jump to content

Prestashopdatabaseexception


Recommended Posts

J'ai un souci sur mon presta local je c pas trop d'ou cela peut provenir 

 

Il me renvoi cette erreur 

Table 'prestashop.ps_smarty_lazy_cache' doesn't exist
SELECT UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
                            WHERE `template_hash`='7eec749961a07dc26a5bea84c00619f3' AND cache_id="productlist_colors|1|1|1" AND compile_id="" LIMIT 1

at line 791 in file classes/db/Db.php 

 

Je c pas trop pourqoi cette table a disparu 

 

version 1.6.1.4 sur wampserver

Link to comment
Share on other sites

Je peux pas te dire pourquoi elle a disparu mais tu peut la remettre avec cette requête

CREATE TABLE `ps_smarty_lazy_cache` (
  `template_hash` varchar(32) NOT NULL DEFAULT '',
  `cache_id` varchar(255) NOT NULL DEFAULT '',
  `compile_id` varchar(32) NOT NULL DEFAULT '',
  `filepath` varchar(255) NOT NULL DEFAULT '',
  `last_update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`template_hash`,`cache_id`,`compile_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Edited by Prestaspirit (see edit history)
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...