jordanlev / c5_designer_content

Content block creator for the Concrete5 CMS
http://www.concrete5.org/marketplace/addons/designer-content
40 stars 16 forks source link

Concrete 5.6.0 Issue #7

Open JohnTeague opened 12 years ago

JohnTeague commented 12 years ago

Hi, I've installed a fresh copy Concrete 5.6.0 and aded Content Designer. When I create a new block I receive the below error

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

Troubleshooting :

After the error, I can see the folder and its files have been created, however nothing appears in the Blocks list thru the Dashboard.

jordanlev commented 12 years ago

I talked to Andrew and apparently there's a bug in 5.6.0 that doesn't properly clear one of the new caches. To fix the problem, you can temporarily turn off the "Overrides Cache" in Dashboard -> System & Settings -> OPTIMIZATION -> Cache & Speed Settings. Then after you've created your blocks you can turn it back on. The next point release of C5 will fix this issue, so you won't need to do this after 5.6.0.1 (or whatever the next version will be) is released.