[FX.php List] Can't connect with manually installed php on Windows 2008 Server

jschwartz jschwartz at exit445.com
Thu Jul 24 12:30:18 MDT 2014


That was it. I removed the https scheme and it all started working.

Thanks Chris and Bob and everyone else who jumped in to help.

J

On Jul 24, 2014, at 9:57 AM, Fitzgerald, Theodore C <ted-fitzgerald at uiowa.edu> wrote:

> Bob might be on to something here.  
> 
> When I visit your https XML page and you say to "just ignore the error", well cURL can't ignore the error, unless you tell it to (by setting the CURLOPT_SSL_VERIFYPEER option to false).
> 
> Ted
> 
> Application Programmer/Analyst
> ITS-Enterprise Services
> 2800 UCC
> University of Iowa
> 
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Minteer
> Sent: Thursday, July 24, 2014 11:24 AM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server
> 
> Jonathan,
> 
> Maybe you have an issue with your SSL on the Filemaker Server ?   Note that I changed to port 80 and left off the protocol spec.
> 
> This works for me:
> 
> <?php
>        include_once ("FX/FX.php");
>        define('DEBUG', true);
> 
>        $log = new FX( '38.99.250.207', 80, 'FMPro7' );
> 
>        echo "I am using FX.php version: " . FX_VERSION_FULL . "<br>";
> 
>        $log->SetDBData( 'log.fp7', 'web' );
>        $log->SetDBPassword( 'test', 'test' );
> 
>        $logResult = $log->FMNew();
>        if (FX::isError($logResult)) {
>            print_r($logResult);
>        }
> 
>        $returnData = $log->FMFindAll();
> 
>        echo "<pre>";
>        print_r($returnData);
>        echo "</pre>";
> ?>
> 
> 
> On Jul 24, 2014, at 11:11 AM, jschwartz <jschwartz at exit445.com> wrote:
> 
>> Yes Just downloaded fresh copy yesterday.
>> 
>> New info:
>> 
>> Getting error 802 on the fx_tester.php page. tester.fp7 has been loaded.
>> 
>> https://38.99.250.207/d/FX/tutorials/fx_tester.php
>> 
>> 
>> J
>> 
>> On Jul 24, 2014, at 8:47 AM, Bob Minteer <bob at minteer.org> wrote:
>> 
>>> Hi Jonathan,
>>> 
>>> Which version of FX.php are you using ?   Most recent from GitHub ?
>>> 
>>> regards...
>>> 
>>> Bob
>>> 
>>> 
>>> On Jul 24, 2014, at 9:37 AM, jschwartz <jschwartz at exit445.com> wrote:
>>> 
>>>> Fx'ers...
>>>> 
>>>> OK. Back to the original problem of not being able to connect  to WEP on this new Windows Server 2008 with independent PHP.
>>>> 
>>>> The XML statement works (you have to click past the warning screen):
>>>> 
>>>> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7
>>>> &-lay=web&-max=50&-new
>>>> 
>>>> Calling the same log.php file doesn't:
>>>> 
>>>> https://38.99.250.207/d/log.php
>>>> 
>>>> I do see mention of invalid XML characters in the error result.  I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels.  Could this be the issue?  Would the Windows Guy know how to do this?
>>>> 
>>>> Here's the test script:
>>>> 
>>>> 		include_once ("FX/FX.php");	
>>>> 		define('DEBUG', true);
>>>> 	
>>>> 		$log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' );
>>>> 		$log->SetDBData( 'log.fp7', 'web' );
>>>> 		$log->SetDBPassword( 'test', 'test' );
>>>> 	
>>>> 		$logResult = $log->FMNew();
>>>> 		if (FX::isError($logResult)) {
>>>> 			print_r($logResult);
>>>> 		}
>>>> 
>>>> FYI, I get the same error whether http or https.
>>>> 
>>>> 
>>>> Jonathan
>>>> 
>>>> 
>>>> On Jul 23, 2014, at 6:53 AM, Bob Patin <bob at patin.com> wrote:
>>>> 
>>>>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it.  I think it also trashes their IIS prefs too.
>>>>> 
>>>>> Bob Patin
>>>>> Longterm Solutions
>>>>> bob at longtermsolutions.com
>>>>> 615-333-6858
>>>>> FileMaker 9, 10, 11, 12 & 13 Certified Developer 
>>>>> http://www.longtermsolutions.com
>>>>> -
>>>>> iChat: bobpatin at me.com
>>>>> Twitter: bobpatin
>>>>> -
>>>>> FileMaker Consulting
>>>>> FileMaker Hosting for all versions of FileMaker PHP * Full email 
>>>>> services * Free DNS hosting * Colocation * Consulting
>>>>> 
>>>>> 
>>>>> On Jul 23, 2014, at 8:33 AM, jschwartz <jschwartz at exit445.com> wrote:
>>>>> 
>>>>>> Good idea. Thx.
>>>>>> 
>>>>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test.  Apparently, WPE deploy in FMS seems to trash the user-installed php.
>>>>>> 
>>>>>> Does this rings any bells?
>>>>>> 
>>>>>> Jonathan
>>>>> 
>>>>> _______________________________________________
>>>>> 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
> 
> _______________________________________________
> 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