Thursday, January 26, 2012

Re: Problem with CakePlugin on shared server

Ubuntu 11.10 here.

On Jan 26, 2:14 pm, Jon Price <jonpr...@donet.com> wrote:
> Interesting..I've seen this as well but rare....and thought I had
> misconfigured something. They are 2.0.x installs on a debian style linux.
>
>
>
>
>
>
>
> On Thu, Jan 26, 2012 at 4:38 AM, Eric <eric.karls...@gmail.com> wrote:
> > Hi!
>
> > I have several CakePHP installations on a server, two of them are 2.0
> > (recent installs). I now notice that the 2.0 installations seem to
> > collide with eachother. Occationally when loading a page I get this
> > error message:
>
> > Fatal error: Uncaught exception 'MissingPluginException' with message
> > 'Plugin Email could not be found.' in /srv/www/BAR/lib/Cake/Core/
> > CakePlugin.php:97
> > Stack trace:
> > #0 /srv/www/BAR/lib/Cake/Core/CakePlugin.php(129):
> > CakePlugin::load('Email', Array)
> > #1 /srv/www/FOO/app/Config/bootstrap.php(68): CakePlugin::loadAll()
> > #2 /srv/www/FOO/lib/Cake/Core/Configure.php(81): include('/srv/www/
> > FOO...')
> > #3 /srv/www/FOO/lib/Cake/bootstrap.php(138):
> > Configure::bootstrap(true)
> > #4 /srv/www/FOO/app/webroot/index.php(77): include('/srv/www/FOO...')
> > #5 {main} thrown in /srv/www/BAR/lib/Cake/Core/CakePlugin.php on line
> > 97
>
> > The sites are installed in /srv/www/FOO and /srv/www/BAR respectively
> > (FOO and BAR are made up). The error above is from the FOO site. As
> > you can see it seems to be using the plugin loader from BAR. It in
> > turn tries to load the Email plugin (which exists in BAR, but not in
> > FOO) and fails horribly.
>
> > Why is this happening? Bug? Config problem? Is the class finder in
> > loadAll() going mad (i.e. outside the root)?
>
> > Both installs are fairly vanilla, both using it's own MySQL database.
> > Since it crashes in bootstrap, I'm not sure what I could do to stop
> > it. I tried changing the default cache to Memcache (with prefixes),
> > but to no avail. I also changed the session store to database just to
> > check, no change.
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > 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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: