Helper class could not be found
When loading helpers in View\AppView I get the following error: Fatal error: [Cake\View\Exception\MissingHelperException] Helper class HtmlHelper could not be found
Can you gist your AppView class?
https://gist.github.com/sdanko/f46714ff050bae793e91
Sure you loaded the plugin correctly?
I addes this line to my bootstrap.php:
Plugin::load('BootstrapUI');
Did you install the plugin using composer?
Yes, I used the command :
composer require friendsofcake/bootstrap-ui:~0.3
in the root folder of my app.
Any ideas?
Hi, I have the same problemen, did u get it working ?
Hi @sillentkil for testing your issue I have tried a fresh copy as following:
composer create-project --prefer-dist cakephp/app bookmarker
cd bookmarker
composer require friendsofcake/bootstrap-ui
"bin/cake" server
update the src\View\AppView.php as in https://gist.github.com/sdanko/f46714ff050bae793e91
go to http://localhost:8765/
every thing is OK
Weird, i did the following: composer create-project --prefer-dist cakephp/app composer require friendsofcake/bootstrap-ui update the src\View\AppView.php
and getting the following error: http://cosmicancestors.ritepro.nl/
What is the "bin/cake" server part?
Many thanks, Ricardo
bin\cake server is just to run a local testing server
@sillentkil What's your PHP version?
i'm using PHP 5.5.9-1 ubuntu 4.11
Ok i think i got it working, i used composer create-project --prefer-dist cakephp/app bookmarker and that is working.
when i use it without bookmarker it is not working. and i get the errors
Ok just to confirm when i do the following: composer create-project --prefer-dist cakephp/app {project name} It is working when i do composer create-project --prefer-dist cakephp/app it is not, maby its a bug in cake but thanks helping me out.
I'm facing the same issue in recent Cakephp & this library version.
@YuvPrime how did you install? Using composer or download? Did you load the plugin in config/bootstrap.php? Have you followed the instructions in README?
Eu estava com mesmo o problema e era porque no windows funcionava com $this->html->script mas como o linux é casesensitive não funcionava.
tive que alterar na view de $this->html->script para $this->Html->script
Sorry, english please.
Thank you @martinslae. I don't understand his language, but as he says, I changed all "$this->html->script" to "$this->Html->script" in all .ctp files and the error disappeared.