Sign in to follow this  
Followers 0
tir

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","http://192.168.2.4");//your server ip

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

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

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

require_once('fmview.php');

require_once('error.php');

require_once('FileMaker.php');

//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 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
      J
    • By tatoosa
      hello,
      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
      Simone
       
    • 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
      General
      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
    • By angelleye
      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
      General
      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
       
       
       
       
       
       
       
       
       
    • By Geeksharka
      A client of mine wants to tie their solution to Converge (https://www.myvirtualmerchant.com/VirtualMerchant/). They offer an XML option, so it look feasible, but I was wondering if anyone else has tied a Filemaker solution to Converge's API?
      Also, with the new EMV Chip Cards, does anyone recommend any particular payment gateway for Filemaker? Or do the new chip cards not affect anything?
      Any and all info about payment API's most welcome.
      FM Pro and Server 14, Mac OS X environment.
      Thanks!