Re: using App::build in cakephp 2.0 to specify a path for plugins

2011-10-20 Thread #2Will
Thank you jose! i am gonna literally run home and try that now!



On Oct 20, 1:41 pm, José Lorenzo jose@gmail.com wrote:
 You are missing a trailing slash in you App::build() path

-- 
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


Re: using App::build in cakephp 2.0 to specify a path for plugins

2011-10-20 Thread #2Will
Yep, that fixed it,  thank you very much,  it was simple but i was
stuck.

will

On Oct 20, 5:11 pm, #2Will willjbar...@gmail.com wrote:
 Thank you jose! i am gonna literally run home and try that now!

 On Oct 20, 1:41 pm, José Lorenzo jose@gmail.com wrote:







  You are missing a trailing slash in you App::build() path

-- 
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


using App::build in cakephp 2.0 to specify a path for plugins

2011-10-19 Thread #2Will
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: using App::build in cakephp 2.0 to specify a path for plugins

2011-10-19 Thread José Lorenzo
You are missing a trailing slash in you App::build() path

-- 
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