[FX.php List] This is driving me crazy

Bob Patin bob at patin.com
Fri Feb 8 13:35:46 MST 2008


I always forget to use that command... I use the errorCode so often...  
here's what I get:

fx_error Object ( [error_message_prefix] => [mode] => 1 [level] =>  
1024 [code] => 100 [message] => FX: cURL could not retrieve Post data  
in RetrieveFM7Data(). A bad URL is the most likely reason. [userinfo]  
=> [backtrace] => Array ( [0] => Array ( [file] => /Volumes/WebServer/ 
Documents/FX/FX.php [line] => 590 [function] => fx_error [class] =>  
fx_error [type] => -> [args] => Array ( [0] => cURL could not retrieve  
Post data in RetrieveFM7Data(). A bad URL is the most likely  
reason. ) ) [1] => Array ( [file] => /Volumes/WebServer/Documents/FX/ 
FX.php [line] => 1347 [function] => retrievefm7data [class] => fx  
[type] => -> [args] => Array ( [0] => -find ) ) [2] => Array ( [file]  
=> /Volumes/WebServer/Documents/FX/FX.php [line] => 1529 [function] =>  
executequery [class] => fx [type] => -> [args] => Array ( [0] => - 
find ) ) [3] => Array ( [file] => /Volumes/WebServer/Documents/FX/ 
FX.php [line] => 1753 [function] => fmaction [class] => fx [type] => - 
 > [args] => Array ( [0] => -find [1] => 1 [2] => full [3] => 1 ) )  
[4] => Array ( [file] => /Volumes/WebServer/Documents/test.php [line]  
=> 15 [function] => fmfind [class] => fx [type] => -> [args] => Array  
( ) ) ) [callback] => )


On Feb 8, 2008, at 2:26 PM, Alex Gates wrote:

> what do you get when you print_r($queryResult); ?
>
> Bob Patin wrote:
>> What's wrong with this picture? I get no errorCode:
>> $query=new FX($serverIP,$webCompanionPort, $dataType, $scheme);
>> $query->SetDBData($webDB,'web_InternAppl',1);
>> $query->SetDBPassword($webPW,$webUN);
>> $query->AddDBParam('webUsername',$username);
>> $queryResult=$query->FMFind();
>> echo 'Error code: '.$queryResult['errorCode'];
>> _______________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080208/55843589/attachment-0001.html


More information about the FX.php_List mailing list