Fx.php XML error: unclosed token at line 1

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
faheemhameed
Forum Newbie
Posts: 5
Joined: Thu Oct 23, 2003 1:35 am

Fx.php XML error: unclosed token at line 1

Post by faheemhameed »

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
Machine: PIII pc


Please help me solve my problems.

Thanks,
Hameed

[/url]
Post Reply