Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [FIXED] ACL problem 500 - You are not authorised to view this resource

Re: 500 - You are not authorised to view this resource 10 Dec 2012 14:32 #5999

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I remember now this is the reason why the sandbox is not on 2.5.8 yet.

Will sort it out this week because it is very urgent !!
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 14:33 #6000

  • soportedo
  • soportedo's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
thanks,

yes it is very urgent.
The administrator has disabled public write access.

500 Error Public Access Frontend Form 12 Dec 2012 15:00 #6030

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hi there, I'm trying to create a component with two front-end views. one is a form-view that after filling in and submitting directs you to another fly-view of the record that was just created. This works fine if i use a user logged in on the front-end but it does not allow me to access the form if i do not log-in (e.g. publicly access it) i have however set up the options->permissions to allow public to create, delete and edit I really need to be able to let the public create records as we do not want them to have to create an account.

in regards to security I am going to custom code a method of checking some parameters in the users session to only allow access to their record during their current session.

Any help very much appreciated.

Cheers in advance.
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 12 Dec 2012 16:37 #6032

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Dear all,

I'm working with Cefnllys on this one and wanted to add a bit more info:
Frontend form configured Public Create, Edit etc to allowed but user public user gets 500 error.

Tested in the sandbox with guest user + tested locally. In both cases, neither the form nor the item view are available until login despite public access being set.

To explain further my scenario, the form I have should redirect to the item view (fly) of the submitted data. This is a kind of confirmation page.

Furthermore, this has been tested in Joomla 2.5.6 & 2.5.8

Any help with this would be massively appreciated!!!

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 10:14 #6039

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @ admin,

Are there any developments on this?

I can see that this is the same issue as @jcasanova was having. I know I mentioned this earlier but, this is an issue on Sandbox and locally using J2.5.8 & J2.5.6.

Unfortunately it is an urgent one too. The component is very simple and very near completion except for some of the custom coding that is needed to prevent anyone other than the 'guest'/public user who has filled in the form from accessing the fly view of it. Naturally, we can't do this until we can access it.

Also, I attach some screenshots:
CONFIG/PERMISSIONS - Have tried giving public Allowed for ALL but still nothing. As you can see, currently I have public create set allowed.

AUTHOR ACCESS - Works Fine (Testing with 'Andrew' in sandbox)

GUEST FORM (enter) - gives the 500 error

GUEST FLY (confirm) - Works fine

Any ideas on when a fix will be available?

A workaround?

Many thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 13:20 #6052

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed :
As usual, not complex, but long to find. (one line only)
Then, I fixed other ACL inconsenties as well.


Changed files in generated :

xxxx.php (entry point files front + back) : New constant handling the component alias.
helpers/helper.php - getActions()
classes/jmodel.item.php
views/xxxx/view.html.php (every form you have)


Can you give a try please ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 13:22 #6053

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Thanks @ admin,

Will check it and post back!

Cheers,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 13:31 #6054

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Sorry @admin, still 500 here after entering administrator to set permissions first.
************ADD**************

SANDBOX - doesn't work. I still get the 500 but I guess this is something to do with the pseudo-users in sandbox, right?

LOCAL - I can view & enter data in the form ok but the save takes me to a blank layout (the same url as the form). Also, no data is saved in the backend.

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 13 Dec 2012 13:58 by JoomGuy. Reason: ADD
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 13:58 #6055

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Notify add on previous post
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 14:08 #6056

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ah, yes you are right, it is my sandbox. Must fix that.


But after downoad, should work.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 14:12 #6057

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

Sorry it doesn't quite work. It does allow access to view the form but the save in not functioning and the configured redirect to the submitted item therefore doesn't work.

Shall I send you the zip?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 14:16 #6058

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Just to clarify, I meant in local it doesn't submit/save the record then redirect to the item that's just been submitted (fly).

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 14:32 #6059

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
So, your 500 Error is fixed.
Fixed in sandbox as well.

Can you open a new tread for that please ?
Because I fixed here something important about the public group and others ACLs.

Can you retry in sandbox and describe your new problem clearly.
sorry to bother you, it is for organise better the tickets.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 Error Public Access Frontend Form 13 Dec 2012 14:46 #6061

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

THANK YOU k+1!!! 500 error cleared in sandbox and local!

I've opened a new ticket RE: The record not getting saved here: j-cook.pro/forum/19-new-tickets/6060-public-form-wont-save#6060

Thanks again,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.090 seconds

Get Started