XML data failed to load

Asked By 30 points N/A Posted on -
qa-featured

Hi,

When I try to initialize eWebEditPro the following error message appears showing ‘The XML data failed to load due to the following Error’. Do you have any idea to fix this problem? Any help would be greatly appreciated. I am using Windows XP Sp2 Operating System. Thanks in advance.

Error

The XML data failed to load due to the following Error.

Error #: -1: Invalid xml declaration.

Line #: 2 Position: 3

Position in document: 4

Source Text: <?xml version-“1.0” encoding=”iso-8859-1”?>

Document URL: http://localhost/ewebeditpro5/config.xml

SHARE
Answered By 0 points N/A #169153

XML data failed to load

qa-featured

This error message appearing while initializing eWebEditpro is due to a space or blank line comes before the XML declaration in the XML file. This problem commonly occurs when you are using an adobe application coldFusion that has the habit of inserting space or blank line. To solve this problem you have to remove all the spaces and blank lines that come before XML declaration.

PHP also uses a similar notation: <?php … ?>.

Note that the final php ?> should be omitted from all PHP code files, modules and includes. The closing delimiter is optional in PHP and removing it helps prevent unwanted white space at the end of files which can cause problems.

Check wp-rss2.php and wp-atom.php files for blank lines outside of <? and ?> bracketed sections.

Check wp-config.php file for blank lines outside of <? and ?> bracketed sections.

Disable these plugins and revalidate, until you isolate the one causing the problem.

 

Login/Register to Answer

Related Questions