[FX.php List] Data source type

Dale Bengston dale.bengston at gmail.com
Thu May 31 09:25:11 MDT 2012


John,

When you get something that's not an array from FX, it typically means it's returning the error object rather than the data array. Use print_r() to dump the object to the screen and see what it's reporting back from FX.

Hope that helped,
Dale

 --
Dale Bengston
Streamline Studio, LLC
www.streamline-studio.com

On May 31, 2012, at 9:48 AM, John Funk wrote:

> I am getting a cannot use fx error as array type error when in debug mode...
>  
> I do keep all my server setting in a server.php file and the database name in the active script. I have made the changes needed .fp7 -> .fmp12 and the IP of the server.
> 
> Since I do not even get a response from: http://fmserver12.company.com (the machine base url) and fmserver11 does, I think the problem is that iis is not configured correctly on the fm12 server, this is my customer’s machine so I have a call into their help desk to resolve this first.
> 
> Thanks for input.
> John
> 
> 
> On 5/31/12 7:38 AM, "Bob Patin" <bob at patin.com> wrote:
> 
>> John,
>> 
>> Don't change it; all you need to do is rename the database anywhere that you reference it, so that it has its fmp12 extension.
>> 
>> Hopefully your database name is in your server data page and not in all your queries; if it *is* in all your queries, you'll have to change each one so that it reads "database.fmp12" instead of "database.fp7."
>> 
>> Best,
>> 
>> Bob Patin
>> Longterm Solutions LLC
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>> FileMaker 9, 10 & 11 Certified Developer
>> Member of FileMaker Business Alliance and FileMaker TechNet
>> --
>> Twitter: bobpatin
>> Google+: http://www.longtermsolutions.com/plus
>> AIM: longterm1954
>> iChat: bobpatin
>> --
>> Expert FileMaker Consulting 
>> FileMaker Hosting for all versions of FileMaker
>> 
>> 
>> On May 30, 2012, at 11:03 PM, John Funk wrote:
>> 
>>> Data source type 
>>> It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases?
>>> On my setup FMPro12 is not working.....
>>> Thanks
>>> John 
>>> _______________________________________________
>>> 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://mail.iviking.org/pipermail/fx.php_list/attachments/20120531/0e25ad63/attachment-0001.html


More information about the FX.php_List mailing list