[FX.php List] Error: Cannot use a scalar value as an array

Dale Bengston dbengston at preservationstudio.com
Fri Apr 29 10:07:55 MDT 2005


What do you get if you put...
	print_r($galeria_turmasResult);
...just under the FMFindall line? Anything?

Dale

On Apr 29, 2005, at 10:37 AM, Andre Rabha Tozzini wrote:

> Thanx for the Reply Dale
>
> Mac OSX Server 10.3.4
> FMS 7 v3 and Advanced v1
>
>
> The Code is
>
> <?php
> include_once('FX/FX.php');
> include_once('FX/FMErrors.php');
> include_once('FX/server_data.php');
>
>
>
> if(isset($_GET['skip'])){ $skipSize=$_GET['skip'];}else{$skipSize='0';}
> $groupSize='all';
>
>
> $galeria_turmas=new FX($serverIP,$webCompanionPort,'FMPro7');
> $galeria_turmas->SetDBData('turmas.fp7','web',$groupSize);
>
>
> $galeria_turmasResult=$galeria_turmas->FMFindall();
> $returnedCount=$galeria_turmasResult['foundCount'];
>
> echo $galeria_turmasResult['errorCode'];
> foreach($galeria_turmasResult['data'] as $key=>$galeria_turmasData);
>
>
>
> ?>
>
> I Read something about that i problem with macs HTTPD and FMSA but i 
> really dont know what it is all about.
>
> can you help  me?
>
> Thanx
>
> Andre Tozzini
>
>
> On 29/04/2005, at 12:32, Dale Bengston wrote:
>
>> Hi Andre,
>>
>> You're getting an error from PHP because PHP doesn't have any data 
>> from FX.PHP to act upon. What is the FX.PHP code you are using to 
>> query FileMaker? What version of FileMaker are you using?
>>
>> Dale
>>
>> On Apr 29, 2005, at 8:25 AM, Andre Rabha Tozzini wrote:
>>
>>> HI Folks,
>>>
>>> I'm new in FX and i'm very happy what i can do with FX and FMP.
>>>
>>> Well i'm having a problem with one page, i try a simple findall and 
>>> it cames this error message:
>>>
>>> "Cannot use a scalar value as an array in Line 88"
>>>
>>> Is there something that i can do???
>>>
>>> Thanx a lot Guys
>>>
>>> Andre Tozzini
>>>
>>> _______________________________________________
>>> 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