Building block to help understand developing sites
Permalink
I am following the basic_test example. It has worked twice and then nothing seems to make the 4th block install into C5!
When I open the block type to show the 4th block to install I receive this message:
Warning: require_once(/home2/mudpiesc/public_html/blocktest/concrete/blocks/member_test2/controller.php): failed to open stream: No such file or directory in /home2/mudpiesc/public_html/blocktest/concrete/core/models/block_types.php on line 824
Fatal error: require_once(): Failed opening required '/home2/mudpiesc/public_html/blocktest/concrete/blocks/member_test2/controller.php' (include_path='/home2/mudpiesc/public_html/blocktest/libraries/3rdparty:/home2/mudpiesc/public_html/blocktest/concrete/libraries/3rdparty:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home2/mudpiesc/public_html/blocktest/concrete/core/models/block_types.php on line 824
I have attached 2 pictures of the structure and error screens. Please Help
When I open the block type to show the 4th block to install I receive this message:
Warning: require_once(/home2/mudpiesc/public_html/blocktest/concrete/blocks/member_test2/controller.php): failed to open stream: No such file or directory in /home2/mudpiesc/public_html/blocktest/concrete/core/models/block_types.php on line 824
Fatal error: require_once(): Failed opening required '/home2/mudpiesc/public_html/blocktest/concrete/blocks/member_test2/controller.php' (include_path='/home2/mudpiesc/public_html/blocktest/libraries/3rdparty:/home2/mudpiesc/public_html/blocktest/concrete/libraries/3rdparty:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home2/mudpiesc/public_html/blocktest/concrete/core/models/block_types.php on line 824
I have attached 2 pictures of the structure and error screens. Please Help
I have had several instances of that myself. On this last example I copies member_test and added 2 after test everywhere it occurred. (I think.) How many places must be changed and where? Look at directory attached. In addition I only see changes in controller and DB. any more? I'm at a lose!
test works. test2 does not?
test works. test2 does not?
I have just tried a test.
I have created a subdomain, installed C5, Moved the exact code to the new site and it installed without error! I think we have a bug?
Could it have to do with four blocks added. Has anyone looking added 4 custom blocks to the block directory in a current version of C5?
I have created a subdomain, installed C5, Moved the exact code to the new site and it installed without error! I think we have a bug?
Could it have to do with four blocks added. Has anyone looking added 4 custom blocks to the block directory in a current version of C5?
Thank you John and Thanks to everyone who looked at this and thought about it. Please read the comments take to heart. My test site with the error turns out to have been a previous release level and my last test subdomain was current. The current version did not have a problem. I updated my test site to the current level and the problem did not occur.
The fix is to double check the release level of any problem - don't rely on memory.
The fix is to double check the release level of any problem - don't rely on memory.
So check the naming in the minutest detail. There will probably be a typo or something you forgot about when copying a previous block.