Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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.


Thread View

Thread Author Date
v1.4 - Catalog module works only on first usewade guidry2010-03-11 17:00
      RE: v1.4 - Catalog module works only on first useAdmin Admin2010-03-16 01:13
            RE: v1.4 - Catalog module works only on first usewade guidry2010-07-07 19:05
                  RE: v1.4 - Catalog module works only on first usewade guidry2010-07-08 00:24
                        RE: v1.4 - Catalog module works only on first usewade guidry2010-07-08 00:25

Post a followup to this message