Hello

I have added a path to my plugins paths at the top of my bootstrap
file like this:
App::build(array(
      'Plugin' => array(ROOT . '/tractor/Plugin')
  ));

and put the glorious debugKit in that folder.  I get the error below.
Can anybody help me out here?   Seems like there isn't much to go
wrong, but i have managed to make a mistake somewhere...

Fatal error: Uncaught exception 'MissingPluginException' with message
'Plugin DebugKit could not be found.' in /Users/willbarker/Dropbox/
tractor2/lib/Cake/Core/CakePlugin.php:96
Stack trace:
#0 /Users/willbarker/Dropbox/tractor2/lib/Cake/Core/
CakePlugin.php(128): CakePlugin::load('DebugKit', Array)
#1 /Users/willbarker/Dropbox/tractor2/app/Config/bootstrap.php(73):
CakePlugin::loadAll()
#2 /Users/willbarker/Dropbox/tractor2/lib/Cake/Core/Configure.php(81):
include('/Users/willbark...')
#3 /Users/willbarker/Dropbox/tractor2/lib/Cake/bootstrap.php(137):
Configure::bootstrap(true)
#4 /Users/willbarker/Dropbox/tractor2/app/webroot/index.php(77):
include('/Users/willbark...')
#5 {main} thrown in /Users/willbarker/Dropbox/tractor2/lib/Cake/Core/
CakePlugin.php on line 96


doing this:   debug(App::path('Plugin'));   gives me this:

Array
(
    [0] => /Users/willbarker/Dropbox/tractor2/tractor/Plugin
    [1] => /Users/willbarker/Dropbox/tractor2/app/Plugin/
    [2] => /Users/willbarker/Dropbox/tractor2/app/plugins/
    [3] => /Users/willbarker/Dropbox/tractor2/plugins/
)

Ive double checked it is actually in that folder.  in fact i have
looked about 15 times.

i am loading my plugins like this:

 CakePlugin::loadAll();

Thanks,

will

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to