php5.4 installed Ecshop Strict standards solution on the environment

Source: Internet
Author: User
Strict standards solution for installing ecshop in php5.4 environment
Installing Ecshop in a php5.4 environment will cause many strict standards errors, warnings, and lookups to find a solution.

1, the php5.4 environment installs the Ecshop to appear the includes/cls_template.php on the line 406 solution.

Will $tag _sel = Array_shift (Explode (", $tag)); This sentence is split into two sentences.

Array_shift () argument is passed by reference, more than 5.3 by default can only pass specific variables, and not through the function return value end (&array) also the same (there will be a function of end, also need to split into two lines).

2, the php5.4 environment installs the Ecshop to appear the includes/lib_base.php on the line 346 solution.

Change the function gd_version () in cls_image.php to static function Gd_version ().

3, in the background click the Open Shop Wizard warning solution.

A few file constructor errors under Admin/include/modules/payment, delete can be. (The PHP constructor is not written like that, and it is estimated that the person writing this constructor is a C + + origin.) )
  • 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.