[FX.php List] no more error "missmatched tag at line 118", new problem

Chris Hansen chris at iViking.org
Thu Jan 13 14:58:26 MST 2005


Hmmmm...  Sorry about the date.  Like I said, it was a small update, 
and that's an easy thing to miss.  My bad.

No, a response layout is not required; it's a new feature of FM7.  
Could you send me a copy of the file in question back channel?  Also, 
when you access FileMaker directly via URL (using the DEBUG data), does 
everything come out okay?  Finally, some versions of cURL -- the 
default method of accessing FileMaker -- don't seem to get along with 
some versions of PHP.  You can check this with a line like the 
following before executing your find:

$query->FMUseCURL(false);

HTH

--Chris Hansen
   creator of FX.php
   "The best way from FileMaker to the Web."
   www.iViking.org

On Jan 13, 2005, at 2:39 PM, Jordan Sandford wrote:

> Chris,
>
> I was using August 1, 2004's version, but the following is using the 
> newest version. There didn't seem to be any difference with the new 
> version. When I opened the newest version of the file FX.php, the date 
> still said 1 Aug 2004. This should be updated.
>
> I opened FX.php (the new version) and the date still says 01 Aug 2004.
>
>
> It seems I can't run FMFindAll when the group size in SetDBData is set 
> to "all".
>
> It seems that if there is no AddDBParam lines and FMFind() is called, 
> it's the same as call FMFindAll() only if group size is not "all".
>
> I didn't have a response layout set. I set it to the same as my query 
> layout. I set it to the same as the query layout. Is the response 
> layout required for FM7? I guess so.
>
> -Jordan
>
> On Jan 13, 2005, at 3:48 PM, Chris Hansen wrote:
>
>> Jordan,
>>
>> A small, but important update to FX.php was released just a couple of 
>> weeks ago.  It only relates to people using FileMaker 7, and I'd be 
>> interested to see if it helps with your problem.  (In the last couple 
>> of days I've found that it fixes some unexpected things.)  Have you 
>> downloaded that already, or are you using the previous version?
>>
>> --Chris Hansen
>>   creator of FX.php
>>   "The best way from FileMaker to the Web."
>>   www.iViking.org
>>
>> On Jan 13, 2005, at 12:27 PM, Jordan Sandford wrote:
>>
>>> OK... here's the latest
>>>
>>> This input
>>> $FM->SetDBData('IDWweb.fp7', 'invoices', 'All');
>>> ...
>>> $ReturnedData = $FM->FMFindAll();
>>>
>>> Gives me foundCount = 0, but no error.
>>>
>>> If I change 'All' to 50, that is $FM->SetDBData('IDWweb.fp7', 
>>> 'invoices', 50);
>>> and keep
>>> $ReturnedData = $FM->FMFindAll();
>>>
>>> I get an fx_error object code: 100, Message:  FX: ExecuteQuery XML 
>>> error: no element found at line 1
>>>
>>> Changing the 50 to 10 gives me real data!!! It give me 10 records.
>>>
>>> If I change $FM->FMFindAll(); to $FM->FMFind();
>>> and add the line
>>> $FM->AddDBParam('JobNum', 30072);
>>> right before the FMFind() call
>>>
>>> That is
>>> $FM->SetDBData('IDWweb.fp7', 'invoices',10);
>>> $FM->SetDBUserPass($DBUser , $DBPassword);
>>> $FM->AddDBParam('JobNum', 30072);
>>> $ReturnedData = $FM->FMFind();
>>>
>>> I don't get an FX error, but I get a FileMaker error of 401, "Record 
>>> not found". FX says my foundCount is -1.
>>> This seems really weird to me. What do you all think?
>>>
>>> -Jordan
>>>
>>> _______________________________________________
>>> 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