Copy link to clipboard
Copied
We have been getting an error on our development server since 10/8/09.
Error is "WDDX packet parse error at line 1, column 1. Content is not allowed in prolog." Since this error has started, we have been unable to get the our development website to open. Has anyone seen this error and do you know how to fix it?
Copy link to clipboard
Copied
Your applicaiton is trying to read and parse a WDDX packet. This packet is not a properly formated XML WDDX data. That code can not parse it and is throwing that error.
That is all I can tell you, but that is what the error message has already been telling you.
Copy link to clipboard
Copied
The error message usually suggests that there is a character (which may be a space or byte order mark) before the line <?xml version="1.0" encoding='UTF-8'?>. Assuming your encoding is the default UTF-8, you could remove any space or BOM by starting with a line similar to the following,
<cfset trimmed_packet = replace(trim(packet),chr(65279),"")>
Copy link to clipboard
Copied
I had this problem as well, however my solution was a little more simple. Some where in the code is probably a line like so:
<cfwddx action="wddx2cfml" input="someVariable" output="anotherVariable">
My problem was that someVariable needed to be wrapped like so #someVariable#
<cfwddx action="wddx2cfml" input="#someVariable#" output="anotherVariable">
This solved my problem.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now