[FX.php List] Error: Cannot use object of type FX_Error as array

Dale Bengston dbengston at preservationstudio.com
Fri Aug 3 08:06:16 MDT 2007


I don't think the number of machines things are running on makes any  
difference here. Try putting

print_r($invoiceData);

on your page to see what you're really getting back from FX. It looks  
like you're getting an FX error object, which is not an array with an  
element named ['errorCode'] that you can reference.

Dale

On Aug 3, 2007, at 8:34 AM, Caleb Ruth wrote:

> They are on separate machines.
>
>
> -- 
> Caleb Ruth | cr at fmarchitect.com  | 607-330-2058
>
>
>
>
> On Aug 3, 2007, at 5:27 AM, Gjermund Gusland Thorsen wrote:
>
>> Do you run apache and FileMaker on the same machine?
>>
>> It's recommended to separate the two...
>>
>> ggt667
>>
>> On 8/3/07, Caleb Ruth <cr at fmarchitect.com> wrote:
>>> BTW this is on OS X 10.4 Server. With PHP 5.2 installed by  
>>> Filemaker Server
>>> 9. Thanks.
>>>
>>>
>>> --
>>> Caleb Ruth | cr at fmarchitect.com  | 607-330-2058
>>>
>>>
>>>
>>>
>>> On Aug 3, 2007, at 3:04 AM, Caleb Ruth wrote:
>>>
>>> Hi All,
>>>
>>> I think I may have a configuration problem. I am getting the  
>>> following
>>> error:
>>> Fatal error: Cannot use object of type FX_Error as array in  
>>> [filename].php
>>> on line 42
>>>  The line reported is just this:
>>> if($invoiceData['errorCode'] != 401)
>>>
>>> Any tips appreciated.
>>>
>>>
>>> --
>>> Caleb Ruth | cr at fmarchitect.com  | 607-330-2058
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070803/07afe330/attachment-0001.html


More information about the FX.php_List mailing list