Block now looking for files in updates directory after update from 5.5 to 5.6.0.2 "require_once" errors
Permalink
Hi There,
I've just upgraded a site to 5.6.0.2 (from 5.5) and upgraded stack modal to 1.2.1 for local testing.
But it looks like Stack Modal is trying to find its files in the /updates directory and not in the /packages directory - this is the error we see on the front end whenever the block is used:
I don't really understand what is going on sorry - has anyone else seen this?
Cheers
Ben
I've just upgraded a site to 5.6.0.2 (from 5.5) and upgraded stack modal to 1.2.1 for local testing.
But it looks like Stack Modal is trying to find its files in the /updates directory and not in the /packages directory - this is the error we see on the front end whenever the block is used:
Warning: require_once(/path/to/site/root/updates/concrete5.6.0.2/concrete/models/stack.php): failed to open stream: No such file or directory in /path/to/site/root/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 40 Fatal error: require_once(): Failed opening required '/path/to/site/root/updates/concrete5.6.0.2/concrete/models/stack.php' (include_path='/path/to/site/root/libraries/3rdparty:/path/to/site/root/updates/concrete5.6.0.2/concrete/libraries/3rdparty:.:/Applications/MAMP/bin/php/php5.4.4/lib/php') in/path/to/site/root/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 40
I don't really understand what is going on sorry - has anyone else seen this?
Cheers
Ben
Note to self, only duplicate the /templates directory (and nothing else) when making custom templates for packaged blocks.