[FX.php List] 7 Server Advanced
Kevin Futter
kfutter at sbc.melb.catholic.edu.au
Tue Nov 2 14:23:46 MST 2004
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&-lay
> =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
>
More information about the FX.php_List
mailing list