Ecshop website Construction Mobile version WAP version appears lib.debug.php on line 303

Source: Internet
Author: User

First we can see the error in the page prompting \includes\lib.debug.php on line 303, then we should first find the low 303 lines of this file. The code is:
$pa = &new Print_a_class;
First of all, there is no problem, many friends think that is what method out of the wrong, not actually.

If you have any knowledge of PHP versions of your friends, you know:

After the 5.3 version has not been allowed to use the "=&" symbol in the program, but we look at the top of the code, just appeared "=&", this means that your PHP version must be php5.3 version.

Shenzhen website Construction Solution

It is easy to find the reason, we just need to change "=&" to "=" on the line, namely:

$pa = new Print_a_class;

Ecshop website Construction Mobile version WAP version appears lib.debug.php on line 303

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.