[FX.php List] Help with error message

Jon Montgomery fxphp at igsmasouth.org
Fri Oct 30 13:49:02 MDT 2015


I am getting this error message and I have no idea how to fix it.  Your help would be very much welcomed:

Fatal error: Cannot use object of type FX_Error as array in /Library/WebServer/Documents/IGSMA/test/login_response.php on line 14

a few days ago working with Bob Patin at Longtermsolutions, who has hosted our FM7 (version 10) databases for many years, helped me with this and we were unable to get it to work on my laptop.  So he loaded it up on one of his FM servers and it all works great.  

Now, on my MacBook Pro, (Mavericks, FMS14 and FX.PHP) I cannot get this to work.  I have done various un-installs and re-installs of FMS14 and also PHP.  PHP is running, however I am getting this error. 

Anybody have a clue what I have done to my machine that is causing this?  For the record, work for years with FMStudio and know it’s downfall and am converting to straight “roll your own” FX.PHP.  But it all worked with FM version 10.  

Here is the code and the offending “Line 14" is marked.


$Login_ID = $_POST['Login_ID'];
$PW = $_POST['Password'];

$q =new FX($serverIP,$webCompanionPort, $dataSourceType, $scheme);
$qResult = $q->FMFind();
echo $qResult[‘errorCode’];  //this is the line referred to in the error message in Chrome

Jon Montgomery, Illinois Grade School Music Assoicaiton - Southern Division
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151030/bef6494f/attachment.html

More information about the FX.php_List mailing list