Keyword

403 error when saving a new article

  • Engel Hendrik Fokkens
  • Engel Hendrik Fokkens's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 week ago #88324 by Engel Hendrik Fokkens
403 error when saving a new article was created by Engel Hendrik Fokkens
After a long search I found that there are quite a bunch of people who
have the 403 error problem when adding an item. After testing a lot of
other CCK's I still found K2 the best CCK around. The only problem I'm
having is the 403 error when saving a new article.The article gets added, but you'll get an 403 error first.

Does anyone got any idea how this can be solved? I'm digging in the
code for a few days now, but I haven't found the solution yet.

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

More
14 years 1 week ago #88325 by Jiliko.net
Replied by Jiliko.net on topic 403 error when saving a new article
Hi Engel,

To avoid this error when you add an item on frontend, you have to set 'Edit own items' to 'Yes' in the K2 user group configuration.

As the item form is reloaded on 'saving', if the user has no right to edit, a 403 error occurs.

Olivier

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

  • Engel Hendrik Fokkens
  • Engel Hendrik Fokkens's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 week ago #88326 by Engel Hendrik Fokkens
Replied by Engel Hendrik Fokkens on topic 403 error when saving a new article
Olivier Nolbert said:Hi Engel, To avoid this error when you add an item on frontend, you have to set 'Edit own items' to 'Yes' in the K2 user group configuration.

As the item form is reloaded on 'saving', if the user has no right to edit, a 403 error occurs.

Olivier


That works, thanks!

My idea was that registered people could only add new articles and not edit them. Editting would be a task for the moderators. A little bit strange that you can give the permissions separately, but you'll recieve an error when adding an article.

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

More
14 years 1 week ago #88327 by Jiliko.net
Replied by Jiliko.net on topic 403 error when saving a new article
Agree with you...

Engel Hendrik Fokkens said:Olivier Nolbert said:Hi Engel, To avoid this error when you add an item on frontend, you have to set 'Edit own items' to 'Yes' in the K2 user group configuration.
As the item form is reloaded on 'saving', if the user has no right to edit, a 403 error occurs.

Olivier


That works, thanks!

My idea was that registered people could only add new articles and not edit them. Editting would be a task for the moderators. A little bit strange that you can give the permissions separately, but you'll recieve an error when adding an article.

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


Powered by Kunena Forum