October 23, 200322 yr 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
December 3, 200322 yr Newbies 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.
Create an account or sign in to comment