[FX.php List] 7 Server Advanced
Jason Awbrey
jason at stravinsoft.com
Tue Nov 2 14:40:23 MST 2004
Just to rule this out, I actually have PHP 5, FX.php and FMSA7 all running
on my laptop for development purposes and have not run into any problems
yet.
I think the issue with Micah was the variable specific to which version of
FileMaker he was running had not been set yet.
Cheers,
Jason
On 11/2/04 3:23 PM, "Kevin Futter" <kfutter at sbc.melb.catholic.edu.au> wrote:
> I'm not sure if this will help, but someone on FM Forums recently reported
> that rolling back to PHP 4 solved their particular problems with FX and
> FMSA. There may be incompatibilities with PHP5.
>
> Cheers,
> Kevin Futter
>
> On 30/10/04 7:41 AM, "Micah Desjardins" <Micah.Desjardins at asu.edu> wrote:
>
>> I'm having a little bit of difficulty with using the FX class with 7 Server
>> Advanced.
>>
>> Here's what I can tell you, all of the relevant software is installed on the
>> same machine:
>> Mac OS X 10.3
>> Server 7 Advanced
>> Web Publishing Engine
>> Apache 1.3.29 (Darwin)
>> PHP Version 5.0.1 (www.entropy.ch Release 1)
>>
>> All the files from the FX package are inside a folder called FX which is just
>> inside the WebServer/Documents root folder.
>>
>> If I use a URL to make a call to the XML engine in filemaker, such as
>>
>>
http://my.server.edu/fmi/xml/FMPXMLRESULT.xml?-db=Datawarehouseexport.fp7&-la>>
y
>> =newmdjtestfunk&-findall
>>
>> It returns the data set without a problem, no prompting for passwords or
>> authenticatino (Guest access is turned on for the database)
>>
>> If I use the following PHP page I get this error message:
>>
>> Fatal error: Cannot use object of type FX_Error as array in
>> WebServer/Documents/test.php on line 24
>>
>> I realize there must be a problem with my code, but I'm really not sure what
>> I'm doing that is causing said problem. It looks like it pulls the Query,
>> but
>> then when I try to look at the Query, I get the type errors.
>>
>> Any assistance would be appreciated!
>>
>> Micah DesJardins
>>
>> -----My Code----
>> <code> <!--Included for html mail that may parse this file. -->
>>
>> <?php
>> include_once("FX/FX.php");
>> include_once("FX/FMErrors.php");
>> include_once("FX/server_data.php");
>> ?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> <title>Untitled</title>
>>
>> </head>
>> <body>
>>
>> <?php
>> $TestInstance = new FX($serverIP,$webCompanionPort);
>> $TestInstance->setDBData('Datawarehouseexport.fp7','newmdjtestfunk');
>> $TestResult = $TestInstance->FMFindall();
>> ?>
>> Found Count: <?php echo $TestResult['foundCount']; ?> </br> <!-- This is the
>> line the error is listed as occuring in -->
>> Error Code: <?php echo $TestResult['errorCode']; ?> </br>
>>
>>
>> </body>
>> </html>
>> </code> <!--Included for html mail that may parse this file. -->
>> ----End Code
>> _______________________________________________
>> 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
More information about the FX.php_List
mailing list