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.

FileMaker PHP Communication Error

Featured Replies

I have a FileMaker database published to the web with the PHP API. It was working before, but now whenever I attempt to connect to the database I'm getting a FileMaker_Error object instead of the result I used to get. The error message is:

Communication Error: (22) The requested URL returned error: 404 - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user.

I see the user name and password in a vardump of the result and have successfully logged in with these credentials using the FileMaker Pro client instead of the web, so the username and password are valid. I've checked the user's privilege set. WebUser is a member of the Web privilege set, the fmphp extended privilege is used by the Web privilege set according to the Extended Privileges in the Manage Security dialog box.

I seem to remember having this problem once before, but can't remember what the solution was. Any assistance would be appreciated.

Thanks,

Chuck

Have you tried restarting the FileMaker server computer?

Are the hostname and database name set properly?

Can you access the FileMaker host URL from a browser?

  • 2 months later...

Hi Chuck,

I'm also getting the same error on one of my servers which has just come out of the blue - all was working fine until a few days ago and now all we get is "Communication Error: (22) The requested URL returned error: 404". Like you I can open the databases successfully using FileMaker Pro client and the privileges are correct.

Just wondering if you got to the bottom of this and how you resolved it?

Many thanks,

Steve

I have a FileMaker database published to the web with the PHP API. It was working before, but now whenever I attempt to connect to the database I'm getting a FileMaker_Error object instead of the result I used to get. The error message is:

Communication Error: (22) The requested URL returned error: 404 - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user.

I see the user name and password in a vardump of the result and have successfully logged in with these credentials using the FileMaker Pro client instead of the web, so the username and password are valid. I've checked the user's privilege set. WebUser is a member of the Web privilege set, the fmphp extended privilege is used by the Web privilege set according to the Extended Privileges in the Manage Security dialog box.

I seem to remember having this problem once before, but can't remember what the solution was. Any assistance would be appreciated.

Thanks,

Chuck

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.