Hi,

I think you're missing an array level, should be
CakePlugin::loadAll(array(array('routes' => true, 'bootstrap' => true, 'ignoreMissing' => true)));

see http://book.cakephp.org/2.0/en/plugins.html#plugin-configuration

Best Regards
Jan

On 08.10.2013 08:41, Lucky1968 wrote:
Hi,
I use CakePHP 2.3.1 but CakePlugin::loadAll() doesn't seem to work although to me it seems I've done everything according to the book.

My plugin bootstrap is here:
app/Plugin/Slider/Config/bootstrap.php

And in app/Config/bootstrap.php I have:
CakePlugin::loadAll(array('routes' => true, 'bootstrap' => true, 'ignoreMissing' => true));


But it doesn't work.

What DOES WORK in app/Config/bootstrap.php is:
CakePlugin::load('Slider', array('bootstrap' => true, 'ignoreMissing' => true));

But I'd really should get it working with CakePlugin::loadAll.
Any ideas what might be wrong?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to