Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7660 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi there,

I am running PHP with FileMaker as data backend.

The data is served to the PHP using FM Unlimted.

I use FX.php class from http://www.iviking.org

This class is used to talk to FM Unlimited to fetch the FMP data.

The FM Unlimited returns a set of data in XML format that could be read by PHP

using this FX.php class. Then the data is serverd through the PHP to web users.

PHP & FM Unlimited is running in the same machine

OS : Mac OS X version 10.2.6

PHP : version 4.3.3 ( precomplied version downloaded from http://www.entropy.ch/software/macosx/php/)

Apache Webserver: version 1.3.26 ( came with Mac OS X)

Machine: Power PC G4

When I try to call the Find method of the FX.php, I get the following error:

XML error: unclosed token at line 1

My PHP code as follows:

include_once("FX/FX.php");

include_once("FX/server_data.php");

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

$Login->SetDBData($StudentFileName, "Web");

$Login->AddDBParam("User_Name", "hameed", "eq" );

$Login->AddDBParam("Password", "hameed", "eq" );

$ResultSet = $Login->FMFind(); // the error occurs in this line

The same code worked fine in the following environment:

PHP & FM Unlimited is running in the same machine

OS : Windows 2000 Server

Apache Webserver: version 2.0

PHP : version 4.3.3 ( precomplied version downloaded from http://www.entropy.ch/software/macosx/php/

Machine: PIII pc

Please help me solve my problems.

Thanks,

Hameed

  • 1 month later...
  • Newbies
Posted

I started getting this error after I downloaded the .bin file of the most recent (11/2003) update of FX. After searching without success for the problem, I tried downloading the .zip file and using that instead. The problem disappeared.

This topic is 7660 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.