How to install StrictStandards in ECshop in php5.4 environment
Source: Internet
Author: User
When ECshop is installed in php5.4, the StrictStandards solution appears. when ECshop is installed in php5.4, many StrictStandards errors and warnings occur. after searching, the solution has been found. 1. solutions for installing Strict Standards for ECshop in php5.4 environment when the software is installed in the software des/cls_template.phponline4 php5.4 environment
When ECshop is installed in php5.4, many Strict Standards errors and warnings may occur. after searching, the solution has been found.
1. when ECshop is installed in the php5.4 environment, the solution for installing node/cls_template.php on line 406 appears.
Split $ tag_sel = array_shift (explode ('', $ tag) into two sentences.
The array_shift () parameter is passed by reference. by default, more than 5.3 can only pass specific variables, but cannot return the end (& array) function, you also need to split it into two rows ).
2. when ECshop is installed in php5.4, the solution of using des/lib_base.php on line 346 appears.
Change function gd_version () in cls_image.php to static function gd_version.
3. click the solution of the shop opening Wizard warning in the background.
Several file constructors under admin/include/modules/payment are incorrect. delete them. (PHP constructor is not written in that way. it is estimated that the person who writes this constructor is C ++ .)
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