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/estore.mydomain.com/admin/controller/startup/sass.php:9 Stack trace: #0 /home/www/estore.mydomain.com/system/engine/action.php(79): ControllerStartupSass->index() Solution Edit the config.php and admin/config.php Update the storage directory location to the […]
Blogs
OCMOD modification is not working in OpenCart 3.0.3.6
There is a bug in OpenCart 3.0.3.6 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 https://github.com/opencart/opencart/blob/3.0.x.x_Maintenance/upload/system/modification.xml After editing and saving the updated changes, click […]
SBOX_FATAL_MEMORY_EXCEEDED error on OpenCart
If you are facing this issue when you try to access Extensions > Modification or Extensions > Modification > Refresh Modification in OpenCart, it is because the log file of modification is too big for the chrome or any browser to load. To fix this, clear the log by clicking on the CLEAR button in […]
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))
Fixing OpenCart User Group Locked Permission
When you have knowingly or unknowingly unchecked the user/user_permission from the modify permission list of opencart Users > User Group > Administrator, you will not be able provide yourself the permission to check or uncheck any of the extensions or modules in the list. In such cases, to get back your access, you will have […]
Fixing missing eCommerce conversion of a Campaign URL
Campaign URL parameters like campaign source, campaign medium, campaign name are added to the URL in order to track how a particular URL or a campaign is performing. There’s 2 types of payments gateways: Direct Payment Gateways – User’s don’t leave the site to make the payment. Ex – Authorize.net, PayPal PayFlow Pro, SagePay, Stripe. […]
Using OpenCart Effectively
Do not rename admin folder Do not install 1.5.x.x or any lower opencart version. Use 2.3.0.2 or the latest stable version Do not install vqmod Do not install too many SEO extensions. Always use SEO extension from one particular developer Avoid using Nitro Cache if your website is frequently updated with products or price or […]