[FX.php List] Problem with web app
Bob Patin
bob at patin.com
Wed Apr 30 11:07:53 MDT 2008
I'm trying to fix a web app that someone else wrote, and when I tried
a simple test query
include_once("FX/FX.php");
include_once("FX/server_data.php");
$find=new FX($serverIP,$webCompanionPort);
$find->setDBData('database.fp7','web');
$find->SetDBPassword("xxxxx","xxxxx");
$findResult=$find->FMFindAll();
print_r($findResult);
I get this when I use print_r():
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/dbraid/
WebServer/Documents/php8/lga/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/x98ndd/
WebServer/Documents/client/FX/FX.php [line] => 1347 [function] =>
retrievefm7data [class] => fx [type] => -> [args] => Array ( [0] => -
findall ) ) [2] => Array ( [file] => /Volumes/x98ndd/WebServer/
Documents/client/FX/FX.php [line] => 1529 [function] => executequery
[class] => fx [type] => -> [args] => Array ( [0] => -findall ) ) [3]
=> Array ( [file] => /Volumes/x98ndd/WebServer/Documents/client/FX/
FX.php [line] => 1758 [function] => fmaction [class] => fx [type] => -
> [args] => Array ( [0] => -findall [1] => 1 [2] => full [3] => 1 ) )
[4] => Array ( [file] => /Volumes/x98ndd/WebServer/Documents/client/
test.php [line] => 8 [function] => fmfindall [class] => fx [type] => -
> [args] => Array ( ) ) ) [callback] => )
This client is using SSL now and their problems started when they
switched over; the IP address specified in their server_data file is
"127.0.0.1", port 80; these are the same settings they're using on
another web app, which uses a different database on the same server.
So I can't figure out why this isn't working... it's not the code,
since this little query is so simple--is there something else I could
look to for the answer?
Thanks,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: tech at longtermsolutions.com
ICQ: 159333060
--------------------------
Contact us for FileMaker hosting and programming for all versions of
FileMaker
PHP • CDML • Full email services • Free DNS hosting • Colocation •
Consulting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080430/e4d62661/attachment-0001.html
More information about the FX.php_List
mailing list