[FX.php List] FX_Error in iis only RESOLVED

Bob Patin bob at patin.com
Fri Jul 10 14:17:48 MDT 2009


John,

Glad you solved it (I've been lurking); it's also good to know that it  
wasn't any sort of FileMaker speed issue. I say this because, in 6 or  
7 years doing PHP with FX and the API, I've yet to have a problem that  
was due to FileMaker choking...

Best,

Bob Patin






Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat: bobpatin
FileMaker 10 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

On Jul 10, 2009, at 3:09 PM, John Funk wrote:

> I found an upper case letter in a FileMaker Field name in the prod  
> server when on my dev version there was a lower case. It threw  
> everything off...
> Sorry Bill Gates and iis for wrongful blame, (I still prefer Apache).
> John Funk
>
>
> On 7/10/09 2:55 PM, "Jonathan Schwartz" <jschwartz at exit445.com> wrote:
>
>> Hmmm...
>>
>> What do you get when you echo Fx.php error code, if any:  
>> $result['errorCode'] (put just after FMFIND line.
>>
>> What do you see if you print the resulting array to screen:  
>> print_r($result)?
>>
>> J
>>
>> At 2:42 PM -0500 7/10/09, John Funk wrote:
>>> Thanks for all your input on this, there is an interesting note I  
>>> did not mention, the resulting web page from this code DOES show  
>>> the data from FileMaker, infact when dubug is used the xml data  
>>> will show.
>>> Also why and error on iis and not apache?
>>> John
>>>
>>>
>>> On 7/10/09 1:09 PM, "Jonathan Schwartz" <jschwartz at exit445.com>  
>>> wrote:
>>>> John,
>>>>
>>>> Isn't this the standard error that displays if no records are  
>>>> found and the script is allowed to continue?  Error checking at  
>>>> line 19 would catch the error...probably 401.
>>>>
>>>> ...unless I'm wrong. ;-)
>>>>
>>>> jonathan
>>>>
>>>>
>>>>
>>>> At 12:54 PM -0500 7/10/09, John Funk wrote:
>>>>> I am getting this error when running my solution on my clients  
>>>>> iis web server. My development server is Windows / Apache and  
>>>>> everything works fine.
>>>>> Any ideas how to patch for iis? Or do I wait for the whole world  
>>>>> to switch to Apache :)
>>>>>
>>>>> Thanks,
>>>>> John Funk
>>>>>
>>>>> Fatal error: Cannot use object of type FX_Error as array in C: 
>>>>> \Inetpub\wwwroot\CargoTRK\loginvalidate.php on line 20
>>>>>
>>>>> The first 20 lines of loginvalidate.php are listed here:
>>>>> <?php
>>>>> require_once ('FX/FX.php');
>>>>> require_once ('includes/server.php');
>>>>> require_once ('includes/includes.php');
>>>>> $stime=time();
>>>>> //define('DEBUG', True);
>>>>> //display_post_get();
>>>>>
>>>>> $Submit=$_REQUEST["Submit"];
>>>>>
>>>>> //Query Account Number and Pass for login
>>>>> $AccountNumber=$_REQUEST["AccountNumber"];
>>>>> $Pass=$_REQUEST["Pass"];
>>>>> $request = new FX($ServerIP, $port, 'FMPro7');
>>>>> $request->SetDBData($db, 'web_shippers','1');
>>>>> $request->SetDBUserPass($fmAccount, $fmPass);
>>>>> $request->AddDBParam('AccountNumber', "==".$AccountNumber);
>>>>> $request->AddDBParam('Pass',"==".$Pass);
>>>>> $result =$request->FMFind();
>>>>> $records =$result['data'];
>>>>>
>>>>> _______________________________________________
>>>>> 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

-------------- next part --------------
Skipped content of type multipart/related


More information about the FX.php_List mailing list