[FX.php List] What can possibly be wrong?

Bob Patin bob at patin.com
Thu Jul 27 10:26:31 MDT 2006


Chris,

Thanks for the reply; your line returns a parsing error though
On Jul 27, 2006, at 11:19 AM, Chris Hansen wrote:

> Bob,
>
> Nope, this isn't a traditional user name error.  Any time that you  
> see an XML error within the error object, it means that the data  
> returned was not valid.  This could be caused by a number of things  
> (the infamous related field without related records being one  
> possibility...)  The best was to troubleshoot an XML error is to  
> use the debug capability built into FX by adding a line like this  
> near the top of your page:
>
> define("DEBUG", true);
>
> Then, use the URL returned to directly access the XML.  Some things  
> to watch for:
>
> 1) Are the username and password in the URL correct?
>
> 2) Is XML returned when the URL is accessed?
>
> 3) Are all XML tags closed properly, or does the XML appear truncated?
>
> That should give you a start.  HTH
>
> --Chris Hansen
>   FileMaker 7 Certified Developer
>   Creator of FX.php
>   "The best way from FileMaker to the Web."
>   www.iViking.org
>
>
> On Jul 27, 2006, at 10:11 AM, Bob Patin wrote:
>
>> Dale,
>>
>> Thanks for the reply; I keep forgetting about that. I get this:
>>
>> fx_error Object ( [error_message_prefix] => [mode] => 1 [level] =>  
>> 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: syntax  
>> error at line 1 [userinfo] => [backtrace] => Array ( [0] => Array  
>> ( [file] => /Library/WebServer/Documents/newvisions/FX/FX.php  
>> [line] => 879 [function] => fx_error [class] => fx_error [type] =>  
>> -> [args] => Array ( [0] => ExecuteQuery XML error: syntax error  
>> at line 1 ) ) [1] => Array ( [file] => /Library/WebServer/ 
>> Documents/newvisions/FX/FX.php [line] => 1041 [function] =>  
>> executequery [class] => fx [type] => -> [args] => Array ( [0] => - 
>> new ) ) [2] => Array ( [file] => /Library/WebServer/Documents/ 
>> newvisions/FX/FX.php [line] => 1106 [function] => fmaction [class]  
>> => fx [type] => -> [args] => Array ( [0] => -new [1] => 1 [2] =>  
>> full ) ) [3] => Array ( [file] => /Library/WebServer/Documents/ 
>> newvisions/request_process.php [line] => 17 [function] => fmnew  
>> [class] => fx [type] => -> [args] => Array ( ) ) ) [callback] => )
>>
>> Does the first part of this mean that i have a username error?  
>> That's so odd, since it's my name and normal password that I use  
>> for web apps.
>>
>>
>> _______________________________________________
>> 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