Is basic_test still working on concrete5.6.0?

Permalink 1 user found helpful
Hi

I downloaded and installed basic_test fromhttp://www.concrete5.org/documentation/developers/blocks/understand... and encountered the following warning:

Warning: require_once(/var/www/concrete5.6.0/concrete/blocks/basic_test/controller.php): failed to open stream: No such file or directory in /var/www/concrete5.6.0/concrete/core/models/block_types.php on line 822 Fatal error: require_once(): Failed opening required '/var/www/concrete5.6.0/concrete/blocks/basic_test/controller.php' (include_path='/var/www/concrete5.6.0/libraries/3rdparty:/var/www/concrete5.6.0/concrete/libraries/3rdparty:.:/usr/share/php:/usr/share/pear') in /var/www/concrete5.6.0/concrete/core/models/block_types.php on line 822

Based on the warning, I moved basic_test under /concrete. The warning's gone but I don't see basic_test under Block Types.

Did I miss out anything? Hope someone could advise. Thanks!

 
yeetien replied on at Permalink Best Answer Reply
It's working after I disabled and cleared cache.
TorstenKelsch replied on at Permalink Reply
TorstenKelsch
This worked for me, too. I would not have guessed that it could have to do with the cache enabled, so thank you very much for posting your solution!
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
Same here .. same fix
Simen replied on at Permalink Reply
Also, if you have renamed the basic_test block, please remember to not include dashes "-" in your folder names. I am new to Concrete5 and was not aware that its autoloader does not permit this.