Sign in to follow this  
Followers 0

FM PHP Server Issue.

6 posts in this topic

I have a Filemaker and PHP connection set up.When I try to login to the PHP application i get an error with error code 22 and error description as 'Unknown Error'.

The Filemaker version is Filemaker Server 11 and the Client version is Filemaker 9.

Does anybody know about this error and how to resolve it?

Share this post

Link to post
Share on other sites

Why is the client version of relevance?

The PHP page should be on a webserver, that connects to the FMS or FMSA server with the Web Publishing Engine set up on it. Where are you seeing Error 22?

Share this post

Link to post
Share on other sites

tir, do one thing. Make you connection file like this:


define("FM_HOST","");//your server ip

define("FM_FILE", "Khan");// file name

define("FM_USER", "admin");// database username

define("FM_PASS", "admin");// database password




//connection string

$fm = new FileMaker(FM_FILE, FM_HOST, FM_USER, FM_PASS);


Share this post

Link to post
Share on other sites

The PHP pages are stored in "C:intelputwww root" folder.

I get the error while accessing the file through the browser.

Share this post

Link to post
Share on other sites

you should use FileMaker server to put the database file. and according to me you should use Xammp as PHP server. Put your folder in the htdocs folder of Xammp in C drive. Please try explore more about your issues.

Share this post

Link to post
Share on other sites

1)check the folder permission.

2) Upload the files again on server, or

3) Reinstall fm server and upload the files again.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By jamescv7
      XML error: No memory at line 1
      Greetings, this error occurred when the Filemaker API cannot generate a bunch of records. (1000+ records and above)
      I've adjusted the time out settings for PHP even the memory limits.
      Is there any possible solution for this?
      According to some information, the error turns out that the 10 MB XML scripts is unchangeable.
    • By charmcello
      I am tasked with troubleshooting a web registration form that queries a Filemaker Pro v12 database via a Filemaker PHP API.
      The web form had been running well for a couple of months after major revision, when all of a sudden:
      All dropdowns are empty All radio buttons are missing These symptoms appear to be browser-independent. The appearance of these symptoms is mysterious:
      Nobody has modified the PHP code for the web form - I've done a compare with a backup done at the time when the web form was not broken and it is identical to what is currently on the server.  The Filemaker Pro layout that the web form is querying is just fine - all the value lists for the dropdowns and radio buttons are present. I've created a stripped-down version of the web form: and I've also attached the php source code file.
      The date and record fields are populating correctly. Notice the empty dropdown list after "Church I attend."
      Could this be caused by an incompatibility between the FMP PHP API and PHP libraries on the server? Perhaps due to a PHP update on the server? Any ideas how to troubleshoot this? 
    • By DeathRobot
      Hi. I am trying to script the getting of some data from a website that has an API. I have BaseElementsPlugin and was given an example bit of code by the website:
       data = {'domain': domain, 'include_generic': True}
                  headers = {'X-Api-Key': 'xyz123'}
                  resp ='', data=data, headers=headers)
      I have never dealt with this kind of programming and am not even sure where this info would go or what script step(s) I would use to call this. Is this CURL? Are you aware of sample FM scripting that I could use as a model to figure this out?
      Thanks for any help with this!
    • By JLanclos
      Has anyone come across a way to have filemaker execute an online trade with a brokerage account? I want a DB to place a trade buy or sell with a brokerage house - probably thru an API
      Thanks in advance
    • By tatoosa
      i'm a beginner, i have problem with a php script, i run it (1/2  minutes), reaches the command execute() and then it stop with no error message.
      this is the script:
      $fm_a = new FileMaker($file, $host, $username, $password);
      $a_table = $fm_a ->newFindCommand('layout_name');
      $a_table->addFindCriterion('online', '1');
      $a_result = $a_table->execute();
      if (FileMaker::isError($iconografia_result)) {
      where i'm a wrong? 
      thanx for your time and collaboration