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.