In this today tutorial I will tell you How to partially fix your old opencart 1.4.x store when PHP 5.x is removed from your hosting. In this example I will use Opencart 126.96.36.199 installed first using php 5.6 then switch to php 7.3
When you load the website using php 7.x, in this case 7.3 you will get some errors:
To fix this warning you need to change from both config’s file this line:
After above changes when website is load a error will be shown. Error: Could not load database file mysqli!. For this you can download Opencart 188.8.131.52 and upload on server the file mysqli.php in system/database.
After mysqli file is uploaded and refresh again the website, the bellow errors will shown.
To fix this, as prevision error we need to upload db.php file from Opencart 184.108.40.206 to the server in this location: system/library. If we refresh again, website will load and is time to upgrade old version to new one.