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.

Communication Error: 22 (Database connection error)

Featured Replies

  • Newbies

We are running Filemaker 12 server on windows server with fmphp enabled. We have our website hosted with third party server.

 

I'm trying to create a webpage that displays some data from a database on the server. See testing page here:  http://www.krypton-solutions.com/shipout/

 

When accessing the web page, this error keeps showing: 

 

 

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

 

I've checked that login is correct, permissions are set correctly with fmphp checked and all. Still it doesn't work. Can someone help shed some light on this matter. Thanks.

  • 1 month later...

krypton,

    Bit late to the game on this question, but the error is usually right.  I have run into this error a few times and it has always been right. 

 

Now...the tricky part, though, is that it may not be obvious which file is the problem.  Our issues came up because we have multiple files, and the accounts (locally defined) were not consistent across the files.

 

Are you using multiple files?  Does a PHP login work for any accounts, or is it only this one that fails?  Do you have other PHP solutions that ARE working?

 

Log into your server and look at the error logs.  It should tell you where the account that is logging in is failing to authenticate to.  Then go to that file and double check the extended privileges for the FMPHP flag, and make sure the UN/PW is the same.  That's what helped us work through our issues.

 

--  Justin

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.