Zen cart on error message display debugging Switch

Source: Internet
Author: User
Tags blank page zen cart

When debugging zencart online stores, some files are sometimes modified, and the front-end display of online stores is incomplete or a blank page is displayed. You can use the following methods to open the error prompt:

Open the includesapplication_top.php file and find
If (defined ('strict _ error_reporting ') & strict_error_reporting = true ){

Add a line above
Define ('strict _ error_reporting ', true );

 

After saving and refresh the page, an error message is displayed.

Modify the preceding statement
Define ('strict _ error_reporting ', false );
You can close the error message.

 

========================================================== ======================

 

Applicable to troubleshooting on the front-end interface

Open the includesapplication_top.php file and find
If (defined ('strict _ error_reporting ') & strict_error_reporting = true ){

Add a line above
Define ('strict _ error_reporting ', true );

After saving and refresh the page, an error message is displayed.

Modify the preceding statement
Define ('strict _ error_reporting ', false );
You can close the error message.

Applicable to troubleshooting of background interface errors

Open the file adminincludesapplication_top.php and find
Error_reporting (e_all &~ E_notice );
Change
@ Ini_set ('display _ errors ', '1 ');
Error_reporting (e_all );

Find the error and modify it back to close the error prompt.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.