Error 959 When connecting to database in PHP
I'm trying to connect to a filemaker server on another machine using PHP.
$fm = new FileMaker();
I can go to http://192.168.1.10:16000/ and see the FM admin console from the webserver/PHP machine, but I can't get access to any of the databases. I think this is something to do with the FM server setup as I had it working briefly yesterday in FM12, but I need to use FM11 for compatibility with other DBs.
I have tried lots of changing permissions on the DBs and checking that web publishing is enabled, but I am stuck now.
As soon as PHP runs the last line above I end up with a filemaker error 959, which seems to indicate that web publishing is not available.
Thanks in advance - Matthew Pearson
I replaced the FileMaker include file (FileMaker.php and the FileMaker directory) with the one from the V11 server as the ones on my web server were still the v12 ones and this fixed it. Great (well after half a day of faffing around is nice to finally solve it anyway).