[FX.php List] Error: Cannot use a scalar value as an array
Andy Gaunt
andy at fmpug.com
Fri Apr 29 11:40:02 MDT 2005
Andre,
I saw you do not have
$galeria_turmas->SetDBPassword('Passwordhere',Account Name here');
This may cause the 802 error as well.
Regards
Andy Gaunt
T: 407.810.4722
andy at fmpug.com
http://www.fmpug.com
April 28th 2005, 7pm Orlando FMPug
Register interest online at http://www.fmpug.com/rsvp
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Andre Rabha
Tozzini
Sent: Friday, April 29, 2005 11:38 AM
To: FX.php Discussion List
Subject: Re: [FX.php List] Error: Cannot use a scalar value as an array
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