Vee.K727 Posted August 26, 2019 Share Posted August 26, 2019 Hi, I've recently moved my website to another domain and I started having this issue with Back Office > Payment > Preference page. When I click on it, I get HTTP 500 error. I enabled the debug mode and got this error Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/home/olddomain/public_html/presta/modules/ps_wirepayment/ps_wirepayment.php' (include_path='/home/newdomain/public_html/presta/vendor/pear/pear_exception:/home/newdomain/public_html/presta/vendor/pear/console_getopt:/home/newdomain/public_html/presta/vendor/pear/pear-core-minimal/src:/home/newdomain/public_html/presta/vendor/pear/archive_tar:.:/usr/share/php') It seems this page is still looking for the old location. How do I update this? PS - To move the site, I cleaned the cache, updated domain in ps_configuration and ps_shop_url, changed database details in app/config/parameters.php, regenerated htaccess file from back office. Link to comment Share on other sites More sharing options...
musicmaster Posted August 26, 2019 Share Posted August 26, 2019 Try searching on the disk and in the database for "olddomain". Link to comment Share on other sites More sharing options...
Vee.K727 Posted August 27, 2019 Author Share Posted August 27, 2019 @musicmaster THanks a lot mate. That solved the problem. I found the olddomain in files in var/cache/ directory. I deleted the folders and Prestashop created new ones. The page opens now. Weirdly, no tutorial on the internet says to delete this folder. 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