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 site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to