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.

Portal fields not showing on php

Featured Replies

  • Newbies

Hi all

I'd really appreciate some help - I have no more ideas how to solve this.

I had a php layout showing individual records and four associated portals - all working fine - from FM layoutA.

I then created FM layoutB and a corresponding php layout, showing the same individual records but some new portals (for which I created new fields in FM).

The records show, but I am completely unable to get these new portals to show through PHP - it returns an 'Unknown Error'.

The php layout (and code) are fine. If I substitute a fieldname for one of the old portals it works.

Permissions are not the issue - I've tried with admin level access.

The table instances and relationships work throughout Filemaker.

I have even tried using Site Assistant to create a new php site and the portal fields don't show on there either.

Let me know if any code snippets or something would help. I'm at a bit of a loss.

Sam

Are the new portals in the same file? And accessible by the web user (admin usually has more rights)...?

  • Author
  • Newbies

Yes, they're all in the same file.

And the web user has (read only) access to everything.

What happens if you run a different query directly to a child layout (ie, the table the portal shows, but a layout that directly accesses that table)?

  • Author
  • Newbies

Just gave that a go. They show up fine in that instance (layout directly linked to that table instance).

I wondered if this might be the issue - but I have tried generating a new site which doesn't seem to resolve the problem.

http://help.filemaker.com/app/answers/detail/a_id/6535/kw/portal%20php

  • Author
  • Newbies

There must have been some issue with the DB itself. Rebuilding (saving as a compacted copy and reinstating the new version on FM server) resolved the issue. Thanks for the the help though - and hopefully this might help anyone else in the same situation.

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.