Unable to load Block controller on Install
Permalink
Hello. I am getting a weird issue an hoping the community can help diagnose it. New addon with multiple c5 "parts" includeing a few blocks. During install on our test server we get the error you see below. Testing this addon on a separate server, it installs just fine. Other Addons install just fine and the site has no other issues we are aware of. Files are present on server and we have tested deleting and reuploading as well, no luck. So my question is 'what could cause this'?
Thanks
Thanks
Warning: require_once(/usr/local/share/concrete5/concrete5.6.1/concrete/blocks/quiz_show/controller.php): failed to open stream: No such file or directory in /usr/local/share/concrete5/concrete5.6.1/concrete/core/models/block_types.php on line 826 Fatal error: require_once(): Failed opening required '/usr/local/share/concrete5/concrete5.6.1/concrete/blocks/quiz_show/controller.php' (include_path='/var/www/vhosts/my2feet.com/subdomains/dev/libraries/3rdparty:/usr/local/share/concrete5/concrete5.6.1/concrete/libraries/3rdparty:.:/usr/share/pear:/usr/share/php') in /usr/local/share/concrete5/concrete5.6.1/concrete/core/models/block_types.php on line 826
It is important to note that this install used a shared directory for the c5 core. All the sites on this server use it but this was the first site we were testing 5.6.1 on.
So moving on. I upgraded another site to 5.6.1 using the shared DIR and was able to install the same addons just fine. We then tested installing the blocks manually and they installed just fine. We also noticed this error was only occuring during an install and not during an update. I then replaced the shared symlink to the core in the problem site with a local copy, (the normal way). After that the install worked the way it should.