Jump to content
Server Maintenance This Week. ×

Related Record Data in PHP Custom Web Publishing Not Visible


This topic is 3335 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am sure I should be able to do this, but I'm clearly missing something. Any help would be appreciated: I have created a test database with very little complexity in structure or security. The URL is here: https://www.charitypilot.org/FMS/testindex.php The database schema can be seen here: http://prntscr.com/6ai5gj Credentials for user [email protected], [email protected], and [email protected] are all password asdfasdfasdf. Login and see the results I'm getting. They are the right number of rows from the data array, but no field values. The layout being referenced is based on the Individuals table. The table/portal/field names for the referenced layout are visible in this screenshot: http://prntscr.com/6aidv3 Pele has 2 Announcements 2 Clients, 5 accounts, and 3 projects as seen here: http://prntscr.com/6aicis In native FileMaker, all of the related records can be seen by from the same layout that we are calling with PHP so we know the relationships work and the security is not the issue. I'll attach the PHP pages for review. Anyone know why we aren't able to display the related data from the array that is clearly comprised of the related records (since the correct number of rows are displayed in the HTML result for each user)?

test.zip

Link to comment
Share on other sites

I see Fatal error: Call to undefined method FileMaker_Result::getRelatedSet() in /home/charityp/public_html/FMS/testindex.php on line 77

 

Isn't it FileMaker_Result::getRelatedSets()  ??

Link to comment
Share on other sites

This topic is 3335 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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