[FX.php List] Error: Cannot use a scalar value as an array
Andre Rabha Tozzini
andre at estudiosmega.com.br
Fri Apr 29 10:42:37 MDT 2005
Sorry Dale, the error is this one..
fx_error Object ( [error_message_prefix] => [mode] => 1 [level] =>
1024 [code] => 100 [message] => FX: ExecuteQuery XML error: no element
found at line 1 [userinfo] => [backtrace] => Array ( [0] => Array (
[file] => /Library/WebServer/Documents/gestao_escolar/FX/FX.php
[line] => 889 [function] => fx_error [class] => fx_error [type] =>
-> [args] => Array ( [0] => ExecuteQuery XML error: no element found
at line 1 ) ) [1] => Array ( [file] =>
/Library/WebServer/Documents/gestao_escolar/FX/FX.php [line] => 1051
[function] => executequery [class] => fx [type] => -> [args] =>
Array ( [0] => -findall ) ) [2] => Array ( [file] =>
/Library/WebServer/Documents/gestao_escolar/FX/FX.php [line] => 1107
[function] => fmaction [class] => fx [type] => -> [args] => Array (
[0] => -findall [1] => 1 [2] => full ) ) [3] => Array ( [file]
=> /Library/WebServer/Documents/gestao_escolar/galeria_turmas2.php
[line] => 87 [function] => fmfindall [class] => fx [type] => ->
[args] => Array ( ) ) ) [callback] => )
Warning: Cannot use a scalar value as an array in
On 29/04/2005, at 13:07, Dale Bengston wrote:
> 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
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3609 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20050429/99752657/attachment.bin
More information about the FX.php_List
mailing list