How can I debug and troubleshoot the Zen cart online store (a blank page is displayed )?

Source: Internet
Author: User

 

Http://www.zen-cart.cn/forum/topic5167.html

 

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:
Troubleshooting method for version v1.3.9
Error records in the/Cache/directory, foreground error records file name is "myDebug-xxxxxx.log", background error records file name is "myDebug-adm-xxxxxxx.log"
If you need to display the error information in the browser (note that the customer will also see the error information), perform the following operations:
If a foreground error occurs, open the file \ uplodes \ extra_configures \ enable_error_logging.php.
If a background error occurs, open the file \ admin \ mongodes \ extra_configures \ enable_error_logging.php.
Find @ ini_set ('display _ errors ', 0 );
Change to @ ini_set ('display _ errors ', 1 );
Troubleshooting method for version v1.3.8
Applicable to troubleshooting on the front-end interface
Open the file \ uplodes \ application_top.php 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 \ admin \ mongodes \ application_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.
2010.08.19 update:
If the above method still does not display an error, please refer to the following post. Thanks to vcboy.
Topic75694.html

 

 

 

In addition, when there are too many errors
In my opinion
Error_reporting (e_all );
Change
Error_reporting (e_error | e_warning | e_parse );
Better

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.