I’ve built two pages with forms linked to datasets in the site collection. Both work fine in preview - database updated in the sandbox - but throw the error message from the live version and does not update anything.
In preview there are no error messages in the Developer Console. Is it possible that these forms don’t work unless a user is physically signed into the site? Right now I only have a generic (PW only) entry point to a members’ page which contains links to the two form pages.
I’ve not seen any documentation which says this is required - I’ve followed the instructions in the resource page to the letter and am running out of ideas as to why this isn’t working properly.
@smiller Hey Scott. So your instinct is correct. When you are in the Editor building out your site you are essentially logged in as the Admin. So any testing you do in preview mode is done as a logged in user with the Admin role.
When you publish your site the default state is ‘logged out’ so the role will be ‘Visitor’ until the visitor logs in. In that case they will be, at a minimum, ‘Member’ or ‘Admin’ . There are other roles you can use but this is the simple explanation.
OK so having looked at your sites we can see this error pop up in the developer console of the browser of the published site. Indeed the Error message on your published site says something similar.
When you are working on a live published site you need to debug using the browser developer tools. So this will be dependent upon the browser you use (Safari, Chrome, Firefox etc.).
The best starting point is learn the tools of the browser. At a minimum you will be able to see the console log.
I am considering hosting a Wix Code debugging webinar. Let me know if that is something you would like!