1。 Opening debug mode in ectouch includes finding debug in Convention.php = debug = move including adding defined () to EcTouch.php. Debug mode) or definition (debug mode, 2);
2// Disable caching 4// Write error log (mobile data Log.txt)8// Write SQL query log.
2. Start debugging mode in ecshop.
Add/Data/Configuration. PHP (debug mode, 7); , the parameters are as follows:
0// Disable1/Show all errors in the page 2// Disable Smarty template caching 4// Write SQL query log using lib.debug.php class 8//.
When the above parameter is 7, 7=42 1, that is, the page displays all errors, disables caching, and uses the debug class.
It is possible to encounter a situation that is not recommended: it is not recommended to refer to the return value of allocation new in D:; * * * * includes the lib.debug.phplonline303 error, that is, the code found according to line 303 contained in the lib.debug.phplonline303 file:
$ pa =&new printing _a_class
Delete &; And change it to the following code:
$pa=newPrint_a_class
The reason is that php5.3 abolished =&; Instead, use = assignment directly (default is reference assignment).
How to display "recently viewed" products on the home page of ecshop? Urgent?
Step 1: Open themes/mytemplatefile/index.dwt Step 2: Just reference the browsing history library file in the corresponding position. Add this code where you want to add it.
PS: If you haven't browsed the goods. Then there is no commodity in this module.
How does ecshop modify the buttons on the member login page?
Thank you for using our template. The following is the most official answer: 1. The head login registration button is in the background template management-library project management-select "page _ header.lbi-top of page" {insert _ scripts files =' transport.js, utils.js'}.
{*ECSHOP reminds you: Call member_info.lbi according to user id to display different interfaces *}{insertname='member_info'}
2. In the shopping cart part, what code has been removed from page_header.lbi 3? Open the Buy button on the product details page. If the pages of Themes/MyTemplate Name/Goods.dwt are found and deleted, the product details page of ECShop will open slowly. How to solve it? Is the mobile phone version normal?
There must be some slow processing. Do breakpoints or use developer tools to analyze what is slow and then correct it.