Kindeditor Vice Text editor upload function PHP language error problem

Source: Internet
Author: User
Tags php language

Problem generation Process: The project was originally using the Ueditor editor, because the JS code has the use of parentnode to get HTML nodes, ie browser kernel does not support parentnode, there will be two times loaded Rich text editor does not render the problem, So change the editor to Kindeditor, where uploading the file has a problem:

After troubleshooting, the constructor in json.php is the same as the class name, and it is found that after the PHP version is updated, the constructor name with the same class name is not supported, and the constructor with the same name as the class name is modified in three places as __construct:

133 Line: Services_json method, instead of __construct783, 797 lines: Services_json_error method, instead of __construct

Successfully solve the problem;

Kindeditor Vice Text editor upload function PHP language error problem

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.