[FX.php List] Trouble with fx.php and update from FMSA11 to FMS13

Dale Bengston dale.bengston at gmail.com
Wed Mar 19 13:19:44 MDT 2014


Hi David,

Your foreach loop is addressing $queryResult as an array, but in the case of an error from FX.php, $queryResult is an object. Try doing print_r($queryResult) at that point to see what the error object contains.

Dale


On Mar 19, 2014, at 1:59 PM, Ness, David <dness at bondedbuilders.com> wrote:

> I, also, need some help.
>  
> I have a working FMSA v11/fx.php v4.5.1 solution that’s been running great for years.
>  
> It’s time I tackle the update to FMS v13.
>  
> Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0
> This is a new server. Port 80 is open between web server and FMSv13 machine.
>  
> No joy.
>  
> The php error log has this entry:
> [19-Mar-2014 18:51:11 UTC] PHP Fatal error:  Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331
>  
> Line 331 of my code is:
> foreach ($queryResult['data'] as $key => $message_data) {
>>  
> The FMS13 Log (Web Publishing Core) has this entry:
> Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 “fmi/xml/FMPXMLRESULT.xml”
>  
>  
>  
> I have no clue how to proceed.
> Any help is great appreciated.
>  
> Probably nothing; what’s the port 55019 indicate in the log error?
>  
>  
>  
> David Ness
> FileMaker & Web Applications Developer
>  
> Bonded Builders Warranty Group
> 800-749-0381 x3123
>  
> _______________________________________________
> 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://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/1461f89d/attachment.html


More information about the FX.php_List mailing list