In this today tutorial I will tell you how to fix your old Opencart 1.4.x.x store when hosting company remove all php 5.x versions. In this example I will use Opencart 188.8.131.52 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:
In this case we 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 we can download Opencart 184.108.40.206 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 220.127.116.11 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.