| Message: 94141 |
 |
BY: wade guidry (wadeguidry) DATE: 2010-07-07 19:05 SUBJECT: RE: v1.4 - Catalog module works only on first use Kim,
I finally tracked down the cause of this issue. (Also, just FYI, I am on the latest code base of 1.4.5).
When the mysql database is on a different server than alacarte (which is how I'm configured for my production environment), I can prevent the problem from occurring by setting:
config.cache_classes = false
So, that's a quick fix for now. But my understanding is that turning this caching off results in a slower application.
Since the issue is dependent upon whether mysql is on a remote server (issue occurs) or the local server (issue does not occur), I'm thinking maybe I could prevent just the caching of some specific class, rather than all classes.
Any hints on which class to block caching (book_controller, maybe)? And how to prevent its caching?
Or, am I on the wrong track here.
| |