Post by sfaragy » Thu Sep 02, 2021 2:20 pm

If you want to display errors of your OpenCart project for better development then please follow any one the methods:
1. Please open php.ini file in the root folder then find
;display_errors = 1
replace with
display_errors = 1
Similarly find ;error_reporting = E_ALL
replace with:
error_reporting = E_ALL

2. Login to admin

Please visit: system->setting and edit store
Please go to server tab and enable Display Errors options to yes.

3. Open your index.php file from root folder or in admin folder
place these lines of codes at the very top after <?php

ini_set('display_errors', 1);
ini_set('display_startup_errors',1);
error_reporting(E_ALL);

Please contact us for any kind of module / extension/ theme development or customization, any kind of API integration, payment gateway integration, shipping method integration.

Thanks & regards
Md Soliman Faragy (sfaragy)
Skype: solimanbd4321
email: solimankhulna@gmail.com
https://www.bangloss.com
Image


User avatar
Newbie

Posts

Joined
Tue Jul 16, 2013 2:41 pm
Location - Bangladesh

Post by straightlight » Fri Sep 03, 2021 2:02 am

If the above suggestion must be used, ensure to run these on a development environment. Not for development purposes on a live server.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 1 guest