Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fx.php XML error: unclosed token at line 1

Featured Replies

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.