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.099 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started