dimitribalzer Posted October 4, 2020 Share Posted October 4, 2020 Hi, I recently moved my PrestaShop installation to another subfolder. Everything works fine except for the "Alerts" and "Updates" menus at "Modules Manager". With the Debug-Mode enabled I get to following error message: Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/var/www/dimitribalzer.com/public_html/projects/hookah-dreamz/modules/psaddonsconnect/psaddonsconnect.php' (include_path='/var/www/hookah-dreamz.de/public_html/vendor/pear/pear_exception:/var/www/hookah-dreamz.de/public_html/vendor/pear/console_getopt:/var/www/hookah-dreamz.de/public_html/vendor/pear/pear-core-minimal/src:/var/www/hookah-dreamz.de/public_html/vendor/pear/archive_tar:.:/usr/share/php') With an Fatal Error Exception at src/Adapter/Module/Module.php (line 360): $path = $this->disk->get('path', ''); // Variable needed for empty() test if (empty($path)) { $this->disk->set('path', _PS_MODULE_DIR_ . DIRECTORY_SEPARATOR . $this->attributes->get('name')); } // End of temporary content require_once $this->disk->get('path') . DIRECTORY_SEPARATOR . $this->attributes->get('name') . '.php'; //<-- Here is the error $this->instance = LegacyModule::getInstanceByName($this->attributes->get('name')); } I noticed, that PrestaShop tries to open the psaddonsconnect.php file at the old path instead of the new one. I've tried to clear every possible cache, disabled friendly URL, removed .htaccess, still no luck. My Installation: PrestaShop 1.7.6.4 Apache/2.4.18 (Ubuntu) PHP-Version 7.3.22-1 Any ideas? Thank you! Link to comment Share on other sites More sharing options...
dimitribalzer Posted October 5, 2020 Author Share Posted October 5, 2020 By restoring the whole Modules directory from a Backup I could finally resolve the issue. Thank you very much for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now