Monday, April 26, 2010

Re: Problems with $persistModel and cache

I have to clear those to make the site work.

It seems something is being serialized and cached wrong.

On Apr 26, 10:19 pm, Jeremy Burns <jeremybu...@me.com> wrote:
> Have you cleared down the contents of /app/tmp/cache/persist and /app/tmp/cache/models?
>
> Jeremy Burns
> jeremybu...@me.com
>
> On 27 Apr 2010, at 06:13, Miles J wrote:
>
>
>
> > I have been upgradingwww.sc2armory.comto 1.3 and have been having a
> > terrible cache problem. I have many tables with extreme relations to
> > get the game guide working. When I enable $persistModel, all the game
> > pages go to a white page and I get this in my error logs:
>
> > Just a heads up as I dont know how to fix this problem. I had to
> > disable persist for now.
>
> > 2010-04-26 21:49:11 Notice: Notice (8): Model::resetAssociations() [<a
> > href='http://php.net/model.resetassociations'>model.resetassociations</
> > a>]: The script tried to execute a method or access a property of an
> > incomplete object. Please ensure that the class definition
> > &quot;Weapon&quot; of the object you are trying to operate on was
> > loaded _before_ unserialize() gets called or provide a __autoload()
> > function to load the class definition  in [/home/mileswj/cake_1.3/cake/
> > libs/model/model.php, line 2357]
>
> > Im looking into the problem within the Weapon model, but no luck yet.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: