Creating A New Block Type
Permalink 1 user found helpful
I've just made a new installation of concrete (5.6), and all of a sudden I'm failing Concrete 101's.
I created a new block type, when I went to install it I got this...
Warning: require_once(/...[concrete root].../concrete/blocks/basic_test/controller.php) [function.require-once]: failed to open stream: No such file or directory in /...[concrete root].../concrete/core/models/block_types.php on line 824
I eventually deleted my block and copied across the basic_test block
(http://www.concrete5.org/documentation/developers/blocks/understanding-and-building-blocks-in-concrete5).
To my surprise the error persisted.
I'm placing my blocks where I always have concrete root /blocks yet for some reason its looking for resources under concrete root /concrete/blocks.
Now I'm just confused at having failed so completely at such a simple task.
Thanks in advance.
I created a new block type, when I went to install it I got this...
Warning: require_once(/...[concrete root].../concrete/blocks/basic_test/controller.php) [function.require-once]: failed to open stream: No such file or directory in /...[concrete root].../concrete/core/models/block_types.php on line 824
I eventually deleted my block and copied across the basic_test block
(http://www.concrete5.org/documentation/developers/blocks/understanding-and-building-blocks-in-concrete5).
To my surprise the error persisted.
I'm placing my blocks where I always have concrete root /blocks yet for some reason its looking for resources under concrete root /concrete/blocks.
Now I'm just confused at having failed so completely at such a simple task.
Thanks in advance.
The issue was resolved by turning off overrides cache.