Jump to content
Sign in to follow this  
Anthony Girdler

"Communication Error 7" Filemaker/Wordpress Custom Web Publishing using filemaker php api

Recommended Posts

Posted (edited)

Hi,

My programmer and I are trying to set up communication between FileMaker 16 and a WordPress website(www.heightspethospital.com.au ) so our veterinary clients can do online booking and look up when their pets are due for vaccination and other treatments.

My programmer has hit a problem.

The code does not work on the WordPress Server (www.heightspethospital.com.au), though it works on his local machine.

He gets the following error:

“Communication Error: (7) Failed to connect to 203.206.217.177 port 8080: Connection timed out”

 

Filemaker error codes suggest this is a memory issue, but my programmer is sure it's not related to memory.

He has tried re-installing filemaker server multiple times with no effect. I think he said the default port is 80, but that cannot be used for an unknown reason and he has chosen to use port 8080.

 

The filemaker database is stored on:

PC Windows 10 home 64-bit

Filemaker server 16

Processor: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (12 CPUs), ~3.3GHz

Memory: 16384MB RAM

 

Wordpress 4.8.1 hosted by SiteGround.

 

Any answers or leads greatly appreciated.

Anthony.

PS. I don't know anything about programming and computer jargon, so I apologise if I have some of these terms wrong.

Edited by Anthony Girdler

Share this post


Link to post
Share on other sites
Wim Decorte    455

Can you expand a bit on what the code is doing?  Is this PHP code on the Wordpress side trying to talk to FMS on the PHP API there?  Or the XML API?  Or the new REST API?

Also note that Windows 10 (Home or otherwise) is NOT a supported platform for FMS and you can expect issues.  People that have tried seem to struggle particularly in the web publishing areas.

Share this post


Link to post
Share on other sites
ggt667    7
Posted (edited)

In my experience the memory issue is usually in the php interpreter's config or the php script not in FileMaker, but who gives you error 7? At what level?

Edited by ggt667

Share this post


Link to post
Share on other sites
Wang    0

That's filemaker side issue.

 

The important thing is that code works on my local.

 

I am using filemaker php api.

Port 80 is diabled.

so I used 8080.

Share this post


Link to post
Share on other sites

Wang is my programmer.

I don't know if he answered your questions adequately.

Any further suggestions or questions ?

Anthony.

Share this post


Link to post
Share on other sites
Wim Decorte    455
On 8/5/2017 at 2:00 AM, Wang said:

The important thing is that code works on my local.

Story of our lives :)

When you run the code locally are you touching that same FMS?

Share this post


Link to post
Share on other sites
ggt667    7
Posted (edited)

On a mac or linux( or the windows bash shell ) I would run curl from both the locations and see if you receive the desired response, are you sure this is not a firewall / port forwarding issue?

curl http://username:password@203.206.217.177:8080/fmi/xml/FMPXMLRESULT.xml?-dbnames

For somewhat legible XML pipe through tidy

curl http://username:password@203.206.217.177:8080/fmi/xml/FMPXMLRESULT.xml?-dbnames | tidy -xml -i -wrap 0

Or for SSL

curl -k https://username:password@203.206.217.177:8080/fmi/xml/FMPXMLRESULT.xml?-dbnames

 

Edited by ggt667

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  

  • Who Viewed the Topic

    11 members have viewed this topic:
    kurucay2000  MikeKD  PatDes  melmitts707  jjfk27  comment  jayson100077  Lee Smith  doughemi  RMorehu  BruceR 
  • Similar Content

    • By Joel Shapiro
      Don't forget!
      Monday July 24, 3:30–5:30 (before the 6pm opening keynote).
      Come see:
      Steve Winter @steveWinterNZ
      Mark DeNyse @mdenyse
      Ken d’Oronzio @kdoronzio
      Gjermund Thorsen ggt667
      Joel Shapiro @jsfmp
      Hope to see you there!
      -Joel
      http://jsfmp.com/cwp-user-group
       
    • By Joel Shapiro
      Hi all
       
      Come join us at the 11th annual CWP User Group at DevCon: Monday, July 24, 3:30–5:30pm  (before the 6pm opening keynote).
       
      Do you have something you might like to share with the group?  Please let me know.  We're always looking for new people! 
       
      Everyone's welcome.  Hope to see you there!
       
      -Joel
       
      http://jsfmp.com/cwp-user-group
      ~~~~~~~~~~~~~~~~~~~~~
      Joel Shapiro
      FileMaker Pro
      : database design
      : web development
      http://jsfmp.com
      415-269-5055
      ~~~~~~~~~~~~~~~~~~~~~
       
       
    • By Jason Mundok
      I have a website that is displaying FileMaker data using the PHP API. Is there a way for the web site to display the basic text formatting from a FileMaker field? For example, a few words in the comments field are bold in FileMaker and I would like them to also be bold on the website. Thanks for any ideas.
    • By Dean Suhr
      Greetings - I got my start with CWP using FMwebstudio as the front end library to the FileMaker API (Dreamweaver).  That library is no longer maintained.  
      One of  very cool things about that library was a dynamic field capability, fmsLiveInputField, where the changes you made in a web page were updated into the database in real time.  I used it for event registration where the total attending and fees due automatically updated.  
      I'd like to replicate this functionality ... display the total due, a show a few other live calculations.  I prefer a PHP solution but realize javascript might be a better approach these days.  I'm not a javascript guru so your help pointing me in the right direction would be helpful. And I do not want to use WebDirect due to the public pacing nature of this site and unpredictability in users active. 
      Thanks!
    • By Jack Wright
      Hello!

      Another post...

      Please help me out.

      I am trying to create an array from a value list within Filemaker Pro (Using PHP API)

      The idea is to create an array of names from a value list I have set up... Then put them into an option tag.

      e.g.

      $staff = array(FileMaker Value List)
      ^^ I know that's incorrect, but it shows what I want to do

      Then with that array I want to be able to Create a HTML option list (I know how I would do that)  ---  I am just really struggling with creating the array...

      Here is what I have

       
      $database = "comms__web"; $hostname = "###.###.#.#"; $username = "web"; $password = "################"; $layoutname = "Web"; $valueListName = "MIS"; //CREATE FILEMAKER OBJECT $fm = new FileMaker($database, $hostname, $username, $password); //GET THE LAYOUT AS AN OBJECT. $layoutObject = $fm->getLayout($layoutName); //GET THE VALUE LIST $valueList = $layoutObject->getValueList($valueListName);  
      However it doesn't actually appear to pick up the list...

      Please help me out  

      Thanks,
×

Important Information

By using this site, you agree to our Terms of Use.