Jump to content

File system cache and module override problem


Recommended Posts

Hi everyone,

 

I'm having a strange problem. I have overriden the blocktopmenu module to change the structure the menu appears.

 

Everything is working absolutely great. But the moment that I turn on the cache and set it to File System, then the override loads for desktop version but when I change to mobile version, it isn't loaded and I even can't seem to be sure that the original class is being loaded as well (I'm trying to "echo" a string and I don't see it). AND this happens the opposite as well! If I clean the cache and load the mobile version first, then it loads correctly but the desktop version doesn't load.

 

AND if I change the type of cache to "mySQL" then it works correctly for both (as if the cache wasn't turned on at all). mySQL cache is much slower so I don't want to use it...

 

It seems like values of certain variables (that check if it's a mobile version or not)  are being saved in the cache and so the system doesn't check for mobile or not... 

 

Any ideas?!?

Edited by roroPrestashop (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...