PHP / XML Problem

Discussion in 'Server Operation' started by blackice, Mar 10, 2009.

  1. blackice

    blackice New Member

    Hello!

    I'm having a problem with reading xml files from php. I am using ISPConfig-2.2.29 on a FC6 server.

    The error i get is:

    Code:
    XML error: XML declaration not finished at line 1
    
    And line 1 of the xml file is

    Code:
    
    <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    
    Has anybody experienced this problem?

    I googled and found out that i could be a short_tag problem, but it didnt fix my problem.
     
  2. blackice

    blackice New Member

    Never min guys.

    i fixed it with setting :

    php_flag magic_quotes_runtime Off

    Because php added \ before " at the xml file.

    Thanx
     

Share This Page