I have read the ECSHOP code but cannot run it. what is the problem?

Source: Internet
Author: User
I have read the ECSHOP code but cannot run it. what is the problem? Deprecated: preg_replace (): The/e modifier is deprecated, use preg_replace_callback instead in C: \ wamp \ www \ des \ cls_template.php on line 300

PHP does not know at all. I checked it online: preg_replace is outdated and preg_replace_callback is used. Replace all the preg_replace values with preg_replace_callback. But it still does not work.

What's going on? Thank you!


Reply to discussion (solution)

Replace preg_replace_callback with the modifier e.

Attach a ^ E_DEPRECATED to error_reporting.
You do not have to modify the code (it is estimated that you cannot change the code)
Upgrade ECSHOP later.

I changed it once again and I can get something out. But there was a new mistake, and it was completely dizzy.
That is, there is a problem with its compatibility. Thank you.

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.