3 Replies Latest reply on Nov 26, 2012 11:16 AM by Miguel-F

    WDDX packet parse error at line 1, column 1. Content is not allowed in prolog..

    cover Level 1

      We have a CFC page that was working fine before moving to CF9 from CF8.  Any ideas on why it is no longer working?  It is not processing at all now - just giving us this error.

       

      <cfcomponent displayname="Checks For Email Address" output="true" hint="Checks for an Existing Email">

                     <cffunction access="remote" name="CheckInData" returntype="boolean" description="Checks Email and Returns True if Email Address Exists" hint="Checks Email and Returns True if Email Address Exists">

                     <cfargument name="Email_Check" type="string" required="true"/>

                     <cfquery name="data" datasource="datasource" dbtype="OLEDB">

                  SELECT                 

                                    Email

                  FROM                    

                                    EmailTable

                  WHERE

                                    Email=<cfqueryparam value="#Trim(arguments.Email_Check)#" cfsqltype="cf_sql_varchar" />

                  AND

                                    Company_ID='#company_ID#'

              </cfquery>

              <cfif data.RecordCount EQ 0>

                     <cfreturn false>

              <cfelse>

                     <cfreturn true>

              </cfif>

          </cffunction>