Error on line 2 at column 1: Extra content at the end of the document

前端 未结 4 1626
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 11:03

When I use the below code and parse the xml locally it works fine but when upload the same script at the server it shows error.

Note: I retrieved the $lng

4条回答
  •  有刺的猬
    2020-12-10 11:23

    The problem is database connection string, one of your MySQL database connection function parameter is not correct ,so there is an error message in the browser output, Just right click output webpage and view html source code you will see error line followed by correct XML output data(file). I had same problem and the above solution worked perfectly.

提交回复
热议问题