[FX.php List] Undeclared entity

Gareth Evans gareth.evans at schawk.com
Thu Sep 24 08:20:44 MDT 2009


Undeclared entity is an XML parsing error. My first thought would be you
have an un-escaped character somewhere on line 104.  When you click on that
link, what's on line 104 of the XML?
-- 
GARETH EVANS


> From: Anders Monsen <andersm at alamark.com>
> Reply-To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Date: Thu, 24 Sep 2009 08:53:47 -0500
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Subject: Re: [FX.php List] Undeclared entity
> 
> Switched the IP to the local 192.168 IP and still get the same error.
> Here's the query URL, with db specific info removed.
> 
> Using FileMaker URL:
> http://username:password@hostIP:80/fmi/xml/FMPXMLRESULT.xml?-db=db.fp7&-lay=la
> yout&-max=all&-lop=or&fieldName=1&-find
> 
> Would the PHP version or php.ini location have any affect on this? I
> know it's caused issues with the PHP API in the past for some of our
> WIN installs, but we used FX.php.
> 
> Thanks,
> Anders
> 
> On Sep 24, 2009, at 8:41 AM, Anders Monsen wrote:
> 
>> Where do you see the IIS workaround? I mainly handle servers running
>> Apache and the configuration on the remote machine was handled by
>> someone else. From the error it appears FX is not seeing the
>> FileMaker db. The connection host is set to 127.0.0.1 - is this an
>> issue?
>> 
>> Thanks,
>> Anders
>> 
>> On Sep 23, 2009, at 7:05 PM, Gjermund Gusland Thorsen wrote:
>> 
>>> There is an IIS workaround in the sample....
>>> 
>>> Might be just that?
>>> 
>>> ggt667
>>> 
>>> 2009/9/23 Anders Monsen <andersm at alamark.com>:
>>>> Moving code that works on one server over to production, and
>>>> getting error.
>>>> Any ideas as to possible causes to research? The working server is
>>>> on linux
>>>> with Apache. The failing server is Win2008 Service Pack2 running
>>>> IIS. I can
>>>> post the rest of the code to pastebin.com if  necessary.
>>>> 
>>>> The FMPS version is 10, and the FMP file is identical on both the
>>>> server
>>>> that works and the one that doesn't.
>>>> 
>>>> Thanks,
>>>> Anders Monsen
>>>> 
>>>> 
>>>> FX_Error Object
>>>> (
>>>>   [error_message_prefix] =>
>>>>   [mode] => 1
>>>>   [level] => 1024
>>>>   [code] => 100
>>>>   [message] => FX: ExecuteQuery XML error: Undeclared entity
>>>> warning at
>>>> line 104
>>>>   [userinfo] =>
>>>>   [backtrace] => Array
>>>>       (
>>>>           [0] => Array
>>>>               (
>>>>                   [file] => C:\inetpub\wwwroot\DIRECTORY\FX\FX.php
>>>>                   [line] => 1473
>>>>                   [function] => FX_Error
>>>>                   [class] => FX_Error
>>>>                   [object] => FX_Error Object
>>>> *RECURSION*
>>>>                   [type] => ->
>>>>                   [args] => Array
>>>>                       (
>>>>                           [0] => ExecuteQuery XML error:
>>>> Undeclared entity
>>>> warning at line 104
>>>>                       )
>>>> 
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>> 
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> 
>>> 
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> 
>> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list