News and articles
Removing viruses from a website: How to do it?

In this article, we will outline a step-by-step algorithm for detecting and removing viruses from a website, as well as provide recommendations for protection and preventing future incidents. By following these instructions, you will not only clean your site but also secure it for the future.

 
 
 
 
 
Modules from halfhope are now free.

Personalized templates, File System Monitoring, Extended Schemes, and other modules from the author halfhope are now free.

 
 
 
 
 
How to quickly add and fill tabs inside products in OpenCart 3 using IMTabs?

The "IMTabs (OC 3)" module allows you to easily create and fill additional tabs for products in OpenCart, including uniform information such as FAQs, with customization and automation options.

 
 
 
 
 
A selection of new modules for Opencart in November 2024

New products for November 2024: SDEK, Sberbank Installment Plan, Simple Reviews.

 
 
 
 
 
Best-selling templates and extensions in November 2024

Best-selling templates and extensions in November 2024: Dream Filter, Microdata, Frame template

 
 
 
 
 

Enabling the display of php errors in Opencart

 
Enabling the display of php errors in Opencart
  • 0

Often when encountering problems in Opencart, users face error 500, Internal Service Error, or simply a "white screen" (empty browser screen), which makes it difficult to determine the cause of the problem. To obtain more detailed information about the errors that have occurred, it is necessary to enable their display. There are several ways to activate the output of errors in Opencart:

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag output_buffering off

2) The php.ini file (at the end):

display_errors = On;
error_reporting = ~E_ALL;

3) The index.php file (after <?php):

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

After completing the debugging process and resolving the issue, do not forget to comment out or delete the added lines. This is important to prevent potential vulnerabilities and improve the security of your Opencart store.

Short URL of the article: liveopencart.ru/500

 


Рекомендуем посмотреть
Рекомендуем прочитать
 
 


Yet, no one has left a comment to the entry.