The server returns erroronline19atcolumn1: Extracontentattheendofthedocument.

Source: Internet
Author: User
: This article mainly introduces the server response: erroronline19atcolumn1: Extracontentattheendofthedocument. For more information about PHP tutorials, see. The following error occurs when the php app interface interacts with the server during development and data is returned.

Return data in JSON format. if the Firefox browser displays

Display the returned data in XML format and Firefox browser

Returned data in JSON and XML format, which is displayed in the Cheetah Browser


The reasons may include the following:

(1) in this case, the server has returned a response, but the returned format is incorrect.

Check whether the returned data is in the required format, such as JSON format and header ("Content-Type: text/json ");

(2) If an output occurs during normal return, the returned result is incorrect.


(3) it should be noted that the XML document declaration can only appear at the beginning of the document.


The above introduces the server response: error on line 19 at column 1: Extra content at the end of the document, including the content, if you are interested in PHP tutorials.

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.