[FX.php List] OK, this is driving me crazy...

Bob Minteer bob at minteer.org
Fri Apr 24 22:21:15 MDT 2015


Hi Bob!

Try using some of the built in diagnostics by defining DEBUG before creating your FX instance as such:
define('DEBUG', true);

Then, try your page and you should get some additional info as to what is going on "under the hood".

--Bob Minteer


Sent from my iPhone

> On Apr 24, 2015, at 4:59 PM, Bob Patin <bob at patin.com> wrote:
> 
> What can be wrong with this?
> 
> Here’s my server data page:
> 
> <?php
> $serverIP = “fms5.longtermsolutions.com";
> $webCompanionPort = "80";
> $scheme = 'http';
> $dataType = 'FMPro7';
> $dbname = ’thedatabase.fp7';
> $webun = ‘yada';
> $webpw = ‘more-yada';
> ?>
> 
> and here’s my query; I can’t for the life of me figure out why this never finishes when I try to load it…
> 
> <?php
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
> 
> $composer =‘bach’;
> 
> $q = new FX ($serverIP,webCompanionPort,$dataType,$scheme);
> $q->SetDBData($dbname,'web_catalog',50);
> $q->SetDBPassword($webpw,$webun);
> $q->AddDBParam('composer',$composer);
> $qResult = $q->FMFind();
> echo $qResult['errorCode’];
> ?>
> 
> I’ve echoed back all of the variables, and they’re legit; this is a silly little FIND and yet I can’t make it work.
> 
> Could it be something to do with FMS 11?
> 
> This should return 206 records, but instead, the page never loads, which indicates a parse error… and I just don’t see it…
> 
> The version of FX that I’m running is v6.0.
> 
> Thanks for any help,
> 
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> FileMaker 9, 10, 11, 12 & 13 Certified Developer
> http://www.longtermsolutions.com
> -
> iChat: bobpatin at me.com
> Twitter: bobpatin
>> FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> PHP • Full email services • Free DNS hosting • Colocation • Consulting
> 
> 
> _______________________________________________
> 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/20150424/3b94c958/attachment-0001.html


More information about the FX.php_List mailing list