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 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
    • By angelleye

      View File PayPal for FileMaker
      Easily integrate PayPal web service APIs into FileMaker applications using custom functions the same way you use any other function in FileMaker.
      Process credit cards, refund transactions, pull transaction details, and a whole lot more, all with the ease and comfort of the FileMaker scripting process.
      Our FileMaker PayPal custom functions make it quick and easy to integrate PayPal’s API platform into your FileMaker database solution.  Simply open the solution file to load the PayPal custom functions into the system, and they will be available to be used within all of your FileMaker databases.
      The functions work exactly the same as any other function you use within a FileMaker calculation.  You simply pass in request parameters and the function handles the rest.
      All PayPal response data is stored in the solution file in a single table as global fields so the data is immediately accessible via your FileMaker script to populate your own tables/layouts, make calculations, etc.
      Supported FileMaker PayPal APIs
      AddressVerify DoNonReferencedCredit GetBalance GetTransactionDetails MassPay RefundTransaction TransactionSearch RefundTransaction Authorization and Capture
      DoAuthorization DoCapture DoReauthorization DoVoid DoDirectPayment Recurring Payments / Reference Transactions
      BillOutstandingAmount CreateRecurringPaymentsProfile DoReferenceTransaction GetBillingAgreementCustomerDetails GetRecurringPaymentsProfileDetails ManageRecurringPaymentsProfileStatus UpdateRecurringPaymentsProfile Demo Videos
      Submitter angelleye Submitted 01/17/2016 Category Plug-Ins FM Version FM Version: 1