Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Connection timeframe issue

Featured Replies

  • Newbies

Hi everyone

 

I am setting up a new site using filemaker php api and have started having a problem which I think is related to whether the filemaker connection is established or new.

 

Basically when there is no connection already existing (ie the php connection is not visible on the server when I first attempt to load in the browser) the curl function of whatever is the first request to the database on the page timeouts out and when I trace through the error appears as no connection - fmExecuteSQL failed with error 28 (using FMWebFrame)

 

However within a couple of seconds of attempting to load the page the connection is now visible on the server - the Curl function appears to be already running and timing out.

 

As soon as I refresh the page in the browser it loads perfectly. All other pages continue to run fine until I have a period of inactivity (long enough for the connection to drop on the server) and then the same problem occurs again on whatever page I try to load next.

 

Why is this happening? Is it a timing issue as I suspect in establishing the connection on the server? is there anyway of keeping the server connection open with php to avoid dropping and having to wait for it to re-establish?

 

Any other suggestions??  :smile:

 

Many thanks

Carmel

Carmel --

 

Is it possible that you are attempting to connect via HTTPS, but don't have a valid certificate in place?

 

-- Tim

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.