slywalker / cakephp-plugin-boost_cake

Bootstrap Plugin for CakePHP
http://slywalker.github.io/cakephp-plugin-boost_cake/
277 stars 92 forks source link

Installation didn't work #78

Closed geoidesic closed 9 years ago

geoidesic commented 9 years ago

After composer install and bootstrap.php and AppController additions, I just get this error:

Fatal error: Unsupported operand types in /htdocs/lib/Cake/Core/CakePlugin.php on line 77

The reason seems to be that the $config argument is receiving a string value of "BoostCake" instead of an array.

geoidesic commented 9 years ago

Actually there were two problems:

  1. I was doing this (which is wrong):

    CakePlugin::load('AclExtras','BoostCake);

    ... this is what works:

    CakePlugin::load('AclExtras'); CakePlugin::load('BoostCake'); 
  2. Installation via composer seemed to leave me with only the folder structure for this plugin. Cloning via git into app/Plugins worked for me.