Aug
16

Proplayer: This playlist is not a valid XML file.

by Patriek Jeuriens · 4 Comments 

Since PHP 5 came into conception there is a new security warning for developers called E_Strict. Unfortunatly this can cause quite a lot of problems for code written in the old days. The code is fine but uses techniques that are no longer used and therefore PHP throws a deprecated warning. Proplayer uses some of these techniques in their XML writer. You can turn off E_Strict by setting the following in the error_reporting line.

error_reporting = E_ALL & ~E_DEPRECATED

Once the server reads the configuration it will no longer throw any E_Strict warning.

Comments

4 Responses to “Proplayer: This playlist is not a valid XML file.”
  1. Tad says:

    Where do i find that to edit?

  2. Patriek Jeuriens says:

    You can find it in the PHP.ini file, just look for error and you’ll see something similar looking.

  3. Danny says:

    Really useful, thank you so much!

  4. Huu Minh says:

    Thank you SO much Patriek Jeuriens. Took me a while to find your solution. One little note to newbies like me: after you make the change in the php.ini file, you have to do a “restart all services” (if you’re using WAMP) for server, then your ProPlayer will work. :)