Hello,
I keep getting an access denied message when I submit a form. I've attached a picture of the events. I'm experimenting so its nothing fancy. The form was pulled up from a connectivity list. I've set public access in the connectivity app for List, Create, and Read. Even the debugger information is not coming up. Any ideas?
Many thanks.
I keep getting an access denied message when I submit a form. I've attached a picture of the events. I'm experimenting so its nothing fancy. The form was pulled up from a connectivity list. I've set public access in the connectivity app for List, Create, and Read. Even the debugger information is not coming up. Any ideas?
Many thanks.
Thanks for your reply. I changed both "Frontend Permission Check" and "Front Permissions Inheritable" to No. I refreshed my page and when I tried it I got a "Connection name cannot be empty!" message. When I changed the permissions back to the default, I get the Access Denied again. Very strange.
Thank you for your reply Sloan.
You are correct. You can see for yourself at http://ccchesstest.cumberlandcountychess.org.
If you go to Library -> Endings and then select a book and click "Add to Basket" you will get the connection name error (these permissions are set to No")
If you choose the "General" category, you will get the access denied error (these permissions are set to yes and List, Create, and Read are set to public).
Just for your further information, I tried setting "Update" permission for the "General" category to public and instead of getting an access denied, I got the connection name cannot be empty message. I have removed this permission for now, just thought you should know.
Thanks for any light you can shed on this.
You are correct. You can see for yourself at http://ccchesstest.cumberlandcountychess.org.
If you go to Library -> Endings and then select a book and click "Add to Basket" you will get the connection name error (these permissions are set to No")
If you choose the "General" category, you will get the access denied error (these permissions are set to yes and List, Create, and Read are set to public).
Just for your further information, I tried setting "Update" permission for the "General" category to public and instead of getting an access denied, I got the connection name cannot be empty message. I have removed this permission for now, just thought you should know.
Thanks for any light you can shed on this.
HI Chris,
The ItemId in the URL is from a menu item. Does that menu item link to the listing?
Bob
The ItemId in the URL is from a menu item. Does that menu item link to the listing?
Bob
Thanks again for your replies.
1. Sorry, I forgot to put in the show stopper but have now. I get no debug information; it goes straight to connection name cannot be empty error.
2. I have permissions set to No.
3. Regarding Bob's question
I'm not sure how to answer that so I'm guessing the answer is no. The connectivity app originated from a Joomla menu item called Endings. This called up the connectivity app "library_list_endings". In the Front Editing tab I have selected a form called "material_details". This is the form that comes up when you click on a link from the listing.
The Preview tab of the material_details form has only two elements. A custom element with the following code which displays the details of the book selected:
The other element is a submit button.
The events section contains the following:
onLoad: show html element (uses default settings)
onSubmit: Debugger, Showstopper, DB Save, Show Thanks Message.
The DB Save has the following configuration:
Enabled: yes
Table: library_requests table is selected
Model ID: chronoform_data
Advanced tab uses default settings.
Hope this sheds some additional light on this.
I'm sure the problem is due to me not quite understanding how to use the various components. Thanks for your patience.
1. Sorry, I forgot to put in the show stopper but have now. I get no debug information; it goes straight to connection name cannot be empty error.
2. I have permissions set to No.
3. Regarding Bob's question
The ItemId in the URL is from a menu item. Does that menu item link to the listing?
.I'm not sure how to answer that so I'm guessing the answer is no. The connectivity app originated from a Joomla menu item called Endings. This called up the connectivity app "library_list_endings". In the Front Editing tab I have selected a form called "material_details". This is the form that comes up when you click on a link from the listing.
The Preview tab of the material_details form has only two elements. A custom element with the following code which displays the details of the book selected:
<p><h1>Material Details Form</h1></p>
<p><span style="font-family: helvetica; font-size: 14pt;">Title: {Title}<br />Author: {Author}</span><p>
<span style="font-family: helvetica; font-size: 12pt;">
Type: {Type}<br />
Year: {Year}<br />
Publisher: {Publisher}<br />
Quantity on hand: {Qty}<br />
Volume: {Volume}<br />
Variation: {Variation}<br />
Series: {Series}<br />
Notes: {Notes}<br />
Revision: {Revision}<br />
Level: {Level}</span></p>The other element is a submit button.
The events section contains the following:
onLoad: show html element (uses default settings)
onSubmit: Debugger, Showstopper, DB Save, Show Thanks Message.
The DB Save has the following configuration:
Enabled: yes
Table: library_requests table is selected
Model ID: chronoform_data
Advanced tab uses default settings.
Hope this sheds some additional light on this.
I'm sure the problem is due to me not quite understanding how to use the various components. Thanks for your patience.
This topic is locked and no more replies can be posted.
