Skip 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.

unable to choose layout group in PHP Site Assistant

Featured Replies

In my FileMake Pro Advanced database, I have layouts associated with a table occurence, however, when I go to PHP Site Assistant, the Choose Layout Group is always grayed out. I don't know what causes this. The same thing happened with the sample database that came with the FM Server Advanced.

  • 2 months later...

Want to confirm the same bug. However, I am able to see the FM_server sample layouts. Very strange...

Ran some additional tests that may help some people. It appears like the problem may be external references and permissions related. The file I am trying to build a webapp using the PHP assistant consists of about 12 files. Even though I used the Admin password to connect, I noticed some of the files that are related to this file did not have the PHP privilege set up. So I went through one by one and turned it on. That still didn't solve the problem.

So I ran a little experiment, cloned the file and removed all External references under the FM menu Manage>External Data Sources. And I even removed them from the Relation graph. Bingo! Now I the layout menu popped up. So that confirmed it was some relationship that was not working. Next I went back to the file not working and checked every relationship in the Manage>External Data Sources. I found 4 old relationships that were left behind when we used FM Mobile. I deleted those. Also made sure all there were no other relationships with 3 or more old references such as 192.168.0.1/my hard drive/ etc.

Once I did that the original file that would never worked finally showed the Layout menu in the PHP assistant.

We have known since starting to work in PHP with FileMaker that permissions have to be set correctly in the databases. It's easy to think that if those other tables are not going to be viewed in PHP why do we need to enable them ? Well, it could be FileMaker wants to make sure nobody can view data via PHP that would override the FileMaker permissions such as data from a portal (form a related table with different permissions).

Hopefully this might help some people that are stumped. If this works for you please take the time to add a comment to confirm this solved your issue too.

Thank you.

Javier Villalobos

JVillalobos Consulting

[email protected]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.