OpenCart Office 365 SMTP Settings

Mail Engine SMTP SMTP Hostname tls:// SMTP Username Microsoft 365 email address (example SMTP Password Microsoft 365 user password SMTP Port 587 SMTP Timeout 5 Disable the Azure Security Defaults by toggling the “Enable Security Defaults” to “No” Sign in to the Azure portal as a security administrator, Conditional Access administrator, or global administrator. Browse to Azure […]

Priority Support

Sometimes responses to the ticket may get delayed depending on the support tickets queue. However, I do offer priority support to all customers where you can get a resolution within 24 hours from the time of payment. Payment Priority support is offered for a non-refundable amount of $50 (USD). The validity ends in 24 hours […]

Scssc not found error in OpenCart

If you are getting error like the one mentioned below when you attempted to clear cache, it is mostly because the storage folder location is not setup properly. Fatal error: Uncaught Error: Class ‘Scssc’ not found in /home/www/ Stack trace: #0 /home/www/ ControllerStartupSass->index() Solution Edit the config.php and admin/config.php Update the storage directory location to the […]

OCMOD modification is not working in OpenCart

There is a bug in OpenCart where the OCMOD modification is partially working or not working at all. To fix this issue, you need to access the file system/modification.xml Edit the file and copy-paste code as mentioned below or you can get the code from After editing and saving the updated changes, click […]

How to find Fatal Error / Error 500 / Server error in opencart

To find what is causing the error 500/ internal server error / this page isn’t working, try the following The issue could be related to htaccess file or some broken code in the program Try adding this code to your index.php file, just after the opening php tag <?php ini_set(‘display_errors’, 1);ini_set(‘display_startup_errors’, 1);error_reporting(E_ALL); Now you should […]

Passing decoded Cyrillic Characters in json_encode

To decode the encoded cyrillic characters like \u041D in an array and to pass it to json_encode, follow the below technique json_encode($array, JSON_UNESCAPED_UNICODE); or $json = defined(‘JSON_UNESCAPED_UNICODE’) ? json_encode($array, JSON_UNESCAPED_UNICODE) : json_encode($str); or if PHP 5.4 and below preg_replace_callback(‘/\\\u([01-9a-fA-F]{4})/’, ‘prepareUTF8’, json_encode($array))