Jump to content

[solved] Account Name Error


Recommended Posts

i moved this topic to the correct forum section (not addons)

 

 

here is the solution:

 

Actually I solved it. I figured out that in the template that I was using, this block came from an overriden permanent links module by the template, which used the same code as user info block module. So since there was something wrong with the cache function of this module, I found the file /modules/blockpermanentlinks.php and saw that when it called the hooks, it called the cached files like this:

public function hookFooter($params)

{

return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl', $this->getCacheId('blockpermanentlinks-footer'));

}

 

so what I did was to remove the cache part so it will always call a new instance like this:

public function hookFooter($params)

{

return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl');

}

 

and VOILA!!!!

 

 

Probably you need to find in your template what module is called and disable this way its cache

source: http://www.prestashop.com/forums/topic/247284-user-info-block-caching/

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