Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8410895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:17:55+00:00 2026-06-10T00:17:55+00:00

So I have run into a bit of a strange problem and can not

  • 0

So I have run into a bit of a strange problem and can not seem to find a solution. Maybe someone has had the same issue and can shed some light.

I am writing a component and I am adding front end editing to it, but when I save my front end form I end up with the following error:

You are not permitted to use that link to directly access that page
(#1).

I have tracked the issue down to the checkEditId() function in JController. It returns false because “I have somehow just arrived at the form without clicking on a link”. So I understand that I somehow have to setUserState(‘com_component.context.item’, $id); as the problem is that the “id” is not in the userstate session.

But where do I add that? I have tried adding it manually using the setUserState() function but that does not appear to work and I can also see that com_content does not do it like that?

How am I meant to tell Joomla that the user is allowed to edit the item – not from an ACL point of view but from a – he just clicked on the edit link point of view?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:17:57+00:00Added an answer on June 10, 2026 at 12:17 am

    I was having the exact same problem. What solved it for me was to make sure the URL format was correct on the list view. So I had:

    administrator/index.php?option=com_helloworld&view=offer&layout=edit&offer_id=27

    but you need the URL as follows:

    administrator/index.php?option=com_helloworld&task=offer.edit&offer_id=27

    This ensures that the ID of the item being edited is added to the session scope which is then checked in checkEditId().

    This should solve your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have run into a bit of a problem here: I had a problem-specific
I have run into a bit of a problem, well not sure if it
I seem to have run into a bit of trouble this morning with removeClass
I've run into an issue that I can't seem to figure out the solution
I'm learning Python, and have run into a bit of a problem. On my
I have run into a bit of a tricky problem in some C++ code,
I have run into a bit of a problem. Usually when dealing with UITableView
Hey.. I have run into a bit of a problem with my python code..
I have run into a bit of a problem and a head scratcher, as
I have run into a bit of a design issue with my code. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.