Jump to content

[Solved] Smarty cache problem


Recommended Posts

Hello,

 

I have a big problem with my shop (prestashop 1.6.9) when I browse the section module, I change a module setting or another, some modules are no longer visible in the front office. 

 

I have to empty the cache Smarty for the store appears normally. 

 

I tried to replace the files / tools / smarty with those of a fresh installation, but it's even worse. 

 

So I sent my backup to put everything in place. 

 

The problem remains the same, I do not know what to do, you have an idea?

 

prestashop 1.6.9

 

thank you in advance

Edited by Myskin (see edit history)
Link to comment
Share on other sites

Hi ,

try this :

 

regenerate your .htaccess
goto your server , 
rename your .htaccess to -----htaccess
upload an empty .htaccess
log in your BO
check with ftp if the new htaccess is generated 
if not then give the .htaccess 777 rights and go back again in your BO
check if it is generated , if yes , set the rights back into 644
Edited by maconl (see edit history)
Link to comment
Share on other sites

ok ,

i see you have an backup ?

does it contains the database and folders ?

 

 

or try the Debug mode to see if you get an error  :
Go to the folder /config
Look for the file defines.inc.php
in this file look for :
 
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);
 
And change in :
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', true);
Edited by maconl (see edit history)
Link to comment
Share on other sites

yes I have a backup every 12 hours with the database and records, when I tried to replace / smarty/ tools  with files from a fresh install the front office not displayed the theme properly, this is why I was forced use a backup, so that the store will display normally. 

 

But the problem persists, as soon as I touch the setting of a module, the entire front office is defective

Link to comment
Share on other sites

hi ok ,,

when you have a complete backup from your shop and database

delete all the files from your server (check if everything is gone , cause when the GID is apache, these files will stay)

remove your database 

 

if this is done 

replace your backup

 

after we gonna see if you change a setting what happens

 

btw how did you clear your cache ?

like this :

In your BO -> Go To ADVANCED PARAMETERS --> PERFORMANCE
then at Template compilation Choose : Force compilation
Then you turn Cache to NO
Press : Clear Cache
Edited by maconl (see edit history)
Link to comment
Share on other sites

the problem is that my backup already contains the problem, I do not have older backup that does not contain the problem. 

 

as I do not touch the module parameters everything works well on the front office, but as soon as I change a setting I am always forced to clear the cache so that the store operates normally

Link to comment
Share on other sites

Lol thanks El Patron, my problem is solved by El Patron 

 

 

Disable modules not developed by PrestaShop  :  on...

 

Disable all surcharges : on...

 

everything had to be off.

 

thank you again El Patron and others who sought the problem with me :)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...