[FX.php List] Problem with web app

Bob Patin bob at patin.com
Wed Apr 30 14:50:22 MDT 2008


Thanks, but I tried that too...

I used the specific IP of the machine (someone else had set it to  
127.0.0.1, which apparently *used* to work, according to my client)...

Strange thing is that the other web app on this machine works fine.

BP


On Apr 30, 2008, at 3:37 PM, Joel Shapiro wrote:

> Hey Bob
>
> Are their other web apps using SSL?
>
> I can't remember now where we saw the connection problem, but a few  
> years ago setting up an SSL site, we needed to enter the actual IP  
> (not 127.0.0.1) in the FileMaker Web config (what's that thing  
> called? where you have to configure FMS through a browser: localhost/ 
> fmi/config(?)).  Instead of checking the option for "this machine",  
> we needed to check the option for a "different machine" and then  
> manually enter the IP address, even though it really was *this*  
> machine.  That was specific to SSL use.  This was back in FMSA7.
>
> Don't know if that'll help, but worth a shot.
>
> -Joel
>
>
> On Apr 30, 2008, at 1:19 PM, Bob Patin wrote:
>
>> No, it works fine with their other web app...
>>
>> Same web server, same FM server... I'm totally stumped... :)
>>
>> BP
>>
>>
>> On Apr 30, 2008, at 1:57 PM, Gjermund Gusland Thorsen wrote:
>>
>>> Perhaps you have to sign the cert again?
>>>
>>> 2008/4/30 Bob Patin <bob at patin.com>:
>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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