AnsweredAssumed Answered

Error: XML error: Not well-formed (invalid token) at line 1

Question asked by BrendaLeduc on Oct 14, 2014

Title

Error: XML error: Not well-formed (invalid token) at line 1

Your post

Running FileMaker 9 Server on OSX Server 10.7. We started up the custom PHP publishing and created a little custom PHP site. A while ago we noticed the site was no longer working so we have been trying to get it back up and running. We created a new page containing the code bellow (with the correct password). Ensured the user has full privileges and the FMPHP privilege set. 

The page will now load the HTML, but once it hits the PHP FileMaker code it generates this error: 

Error: XML error: Not well-formed (invalid token) at line 1

Any idea what we are missing here? Any help would really be appreciated! 

 

/************************  A very basic test page *******************************************/

require_once('FileMaker.php');

$fm = new FileMaker();

$fm->setProperty('database','Projects');

$fm->setProperty('hostspec','http://localhost:8080');

$fm->setProperty('username','AdminUser');

$fm->setProperty('password','*********');

Outcomes