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

TOPIC:

Error 500 if not logged 19 Jul 2013 08:16 #10523

Hi,

I know this has been discussed before but as it seems it was solved maybe it's another problem...

I get an error 500 when I try to display a front end layout item with the "not allowed to access this ressource message". I don't have the message when I am logged.

I have seen where to comment a part of the code to make the component working but it would be cleaner to find the origin of the problrm.

Any idea where to search for ?

My local Joomla website run 2.5.11.

Thanks in advance,
Best regards,

Fred

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

Error 500 if not logged 19 Jul 2013 20:32 #10529

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Does your item has Accesslevel or unpublished item ?

Which PTL ? (Project / Table / Layout)
Coding is now a piece of cake

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

Error 500 if not logged 20 Jul 2013 06:51 #10535

Hi Admin,

Thank you for taking care.

Project : catjoo
Table : event
Layout : Frontend/Item/All

I added the access level but the problem was already there. I have tried to publish/unpublish some records with no difference.

Best,
Fred

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

Error 500 if not logged 20 Jul 2013 22:56 #10536

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Should be better now.
Coding is now a piece of cake

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

Error 500 if not logged 21 Jul 2013 17:21 #10544

Great !! Thank you very much... What was wrong ?

Best regards,

Fred

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

Error 500 if not logged 21 Jul 2013 23:12 #10545

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
When you load an item, even only for fly, the item contains the params : access-edit, access-view, ...
So it was only because canEdit() was registering error in the model, when it is simply called to populate these params.

And in the view file, when the model contains an error, it is blocking.
Coding is now a piece of cake

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

Error 500 if not logged 22 Jul 2013 19:15 #10549

Was it something I could have fixed by myself ?

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

  • Page:
  • 1
Time to create page: 0.070 seconds

A HUGE thank you for all the time and effort you have put into J-Cook it is a timesaver and a training tool all in one
Morgan Leecy - MCSE  

Get Started