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.

Records not accessible in cloned file

Featured Replies

I'm using the FMStudio API for PHP and have posted this in that forum (not on this site), too.

I have downloaded my hosted database, cloned it, sorted records in the original, imported them all into the clone, renamed the clone to match the original, then uploaded the file and opened it. My PHP search page cannot access records in the cloned file. I get 401 errors.

Is this normal? What is being changed when the file is cloned? I did find numerous differences in the file header of the clone and edited those to match the original, but that did no good, as far as I can tell. Same errors.

I know that my host does something with the file's permissions before it is first opened. They claim this has nothing to do with what's going on now... I'm stumped.

Any input appreciated. Thanks.

JAY

I'd check that the database account that the API is using exists in the cloned file, and that the security privilege that is assigned to it has the FMPHP (Access via PHP) extended privilege

  • Author

Thanks, Tony. The answer appears to be 'yes' on both counts.

Hmm... well the 401 message implies a permission denied type of error, which suggests a problem with the database username/password.

Sorry I can't be much more help than that though

  • Author

Thanks for your interest, Tony. I have been able to add a sort command using the FMStudio API that will accomplish what I need. This could still come back to bite me later on, but for now everything is working as needed.

Thanks again - JAY

No problem. All I can suggest is that you double-check the username password that you're sending with the API. I believe it may be case sensitive

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.