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

Ness, David dness at bondedbuilders.com
Wed Mar 26 09:29:40 MDT 2014


Nick,

It's been a few days since I could revisit this, but I need to tell you, I LOVE YOU MAN!

With fx.php v4.5.1, I used this and it always worked, with v6 it didn't:

$query=new FX($serverIP,$webCompanionPort);

The change to this made everything work:

$query=new FX($serverIP,$webCompanionPort,'fmpro7','HTTP');

Thank you!

PS: I know the answer lies in the default values assigned to the vars in the fx.php files, at about line 59, but now that's it's all working, I'm moving on.

Did I say "Thanks"?

Thanks again.




David Ness
FileMaker & Web Applications Developer

Bonded Builders Warranty Group
800-749-0381 x3123

From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Nick
Sent: Thursday, March 20, 2014 6:08 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13

You aren't setting the Data Source Type even though you think you are.  $dataSourceType is the third argument in new FX($host, '80', $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that.
look in what you pasted, and it still says your dataServerType, and dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, not fmalt or fmpro7.

On Wed, Mar 19, 2014 at 4:35 PM, Bob Patin <bob at patin.com<mailto:bob at patin.com>> wrote:
Chris says that's only important if you're accessing portals, which I never do...

I exposed my password too; it's "password"

BP

Bob Patin
Longterm Solutions
bob at longtermsolutions.com<mailto:bob at longtermsolutions.com>
615-333-6858<tel:615-333-6858>
FileMaker 9, 10, 11 & 12 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com<mailto:bobpatin at me.com>
Twitter: bobpatin
-
FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP * Full email services * Free DNS hosting * Colocation * Consulting

On Mar 19, 2014, at 3:13 PM, Ness, David <dness at bondedbuilders.com<mailto:dness at bondedbuilders.com>> wrote:


I saw that too. I have my $dataSourceType = 'FMPro7' and I tried 'fmalt'. Both returned the reference to 'RetrieveFM5Data' you see below. I don't know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I.

PS: I also saw I accidentally exposed by site's un/password. I've now (quickly) changed them, not that I don't trust my friends here :)



_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org<mailto: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/20140326/dc58ba67/attachment-0001.html


More information about the FX.php_List mailing list