Thanks! Sadly, there is no such call on line 547 (2.0.5), but there are three calls to it on other lines. I chucked in $plugin on the two lines missing it (521, 539), and it hasn't exploded yet.
I assume this is a known/reported bug that will be fixed in upcoming versions? For the record, I cleared the cache earlier too. It had no effect then. /Eric On Jan 26, 7:00 pm, y2k_2000 <y2k2...@gmail.com> wrote: > This is a bug on Core/App.php, caused by a missing `Plugin` key on the > paths array on `file_map` cache. > To fix it, just find this line on App.php (line 547): > self::_map($file, $className); > and replace for this one: > self::_map($file, $className, $plugin); > > Then clear you persistent cache, and try again. > > --- > > Regards > Chris > > On Jan 26, 6:38 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote: > > > > > > > > > I have cake 1.3 & 2.0 setup on both win7 and ubuntu 11.10 > > > various projects bake as projects > > > sharing the cake lib is good also for dev setup > > > if you remake foo and/or bar I think the issue maybe resolved > > even if you don't find the cause to the spookiness > > > did you clear the cache? > > ie tmp/cache/persistent/cake_core_file_map > > > ceeram clear cache plugin > > > - S > > > On 26 January 2012 16:25, Eric <eric.karls...@gmail.com> wrote: > > > > I'm not using advanced setup (i.e. shared Cake lib, right?) since this > > > is a dev server (and production runs only one site per server). Most > > > classes are baked using "cake bake all". > > > > And yes, FOO is a copy of BAR (surprise, surprise). I thought about > > > that before, but there is no mentioning of BAR in the FOO source (I > > > did a grep -rn), so I can't find any culprit that way either. Also, > > > the cipherSeed and salt are different (if that matters). Do you think > > > the copying could be the problem anyway? > > > > /Eric > > > > On Jan 26, 2:34 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote: > > > > Odd. Have you tried setting up advanced setup with cake baked projects? > > > > > Also is foo a copy of bar? > > > > > - S > > > > On 26 Jan 2012 13:14, "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.organdhelp > > > > >> 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 > > > > >> 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 sitehttp://ask.cakephp.organdhelp > > > > > 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 > > > > > 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 sitehttp://ask.cakephp.organdhelp > > > 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 > > > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php