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

TOPIC:

[FIXED] ACL problem 500 - You are not authorised to view this resource 08 Oct 2012 00:19 #4314

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Hi

I have created a component with a frontend form to add records. I have added view access and author wizards to the table, and in backend config set create, edit own and view own to allowed for the registered user, but whenever I try to access the form, I get an error 500 - You are not authorised to view this resource.

I even tried to allow all for registered but to no avail. I don't know if I'm missing some setting somewhere, but from what I could read on the forum, that should be all that was needed.

To me it looks like a bug??

Thanks

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 11 Oct 2012 06:33 #4379

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Access must be initialized.

It can happen when you instancied it AFTER having added new records.
What happen if you try to create a new item ? Can you define Access, Can you access to it.

It cannot be an ACL problem if you are under ADMIN virtual user
It cannot be a checked out problem if you just have regenerated, all the item have been checked in.

Can you provide more informations ?
On solution is also to flush your dataset, as final solution if you didn't solved the problem.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 11 Oct 2012 09:18 #4399

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
I tried to flush data in sandbox and install it again

then set vcl again to allow create, edit own and view own for registered user. When I access the form I get error 500. BUT, if my user is author, or above, then I can access without problem.

Sandbox component: sandbox.cms25.j-cook.pro/index.php?option=com_demo6166 select jobseeker.

If you select user Nina, you see the error. If above user, no problem. I can't figure that out.

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 19 Oct 2012 05:36 #4653

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Do you still have this issue ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 24 Oct 2012 22:08 #4730

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
I just had time to test this - this time on another component I just created and I still face the same issue. If I'm not admin, then I can't access the form.

You can try sandbox.cms25.j-cook.pro/index.php?optio...w=order&layout=order and select nina as user - then you get error 500 - You are not authorised to view this resource.

Please Log in or Create an account to join the conversation.

Last edit: by dyvel.

Re: 500 - You are not authorised to view this resource 02 Nov 2012 10:19 #4921

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Hi

I was wondering if you have had time to look at this?

Thanks

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 02 Dec 2012 15:24 #5731

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I would like to fix your problem now.

Can you first check all these points
- Are you under 2.0 ?
- Did you tried to remove the access wizard and recreate ?
- Is you access wizard correctly linked to the 'access' field ?
- Are you using the 'check out' wizard on this same table ?

Can you try again in sandbox now (maybe collateral fixed ;-) I do not think so, but let's have a try please.

Thanks and one thousand sorry for this incredible patience you had (almost 2 months).
Now I will fix it !!!
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:39 #5990

Hi Admin, I run in to this same problem, so I was searching for any help related, and I just found this one related what I'm having.

- usign v.0
- I added the view access wizard / remove it
- wizard did the auto generated field
- not usign check out.

i'm trying to access an ADD user, layout it needed to be guest.

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:44 #5991

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Can you please remind you your working account ?
And your PTL (Project / Table / Layout)
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:49 #5992

sorry,

user: soportedo
project: "Portal Hogar"
table: "Usuarios"
Layout : "add usuario"


thanks

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:51 #5993

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Can you please use this username on the forum please ?
Because everytime I will have to ask you...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:52 #5994

ok, I will from now on.
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

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

it's weird. I give in the componnent the permissions to the public to permited to all

and the "getActions" throws this:

JObject Object
(
[_errors:protected] => Array
(
)

[core.admin] =>
[core.manage] =>
[core.create] =>
[core.edit] =>
[core.edit.state] =>
[core.edit.own] =>
[core.delete] =>
[core.delete.own] =>
)


Does it needs to have a admin backend collections in order to get the access?

Please Log in or Create an account to join the conversation.

Last edit: by soportedo.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Oh, yes I've seen this already.

And the toolbar is not visible ....

I hate ACL, it is so complex sometimes.
If I remember, it happens when I tried to uprade the sandbox.
Do you see the sandbox version : 2.5.3

I guess you are working on 2.5.8 ...
I didn't solved it yet.

I guess it is working in sandbox...

It is really weired...

Seems since a new version of Joomla.
I do not understand what I am doing wrong...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

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

In sandbox I see "2.5" .

I'm using joomla 2.5.8 on production.

for now i'm hardcoding the access in order to continue the develop, need to integrate layouts design.

hope you can work it out.
thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.092 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started