Keyword

Error 403 after creating "Item Edit Form"

More
10 years 11 months ago - 10 years 11 months ago #119792 by Elle
Hi guys,

After creating "Item Edit form" menu item, I get the Error 403 when opening that item from front-end:
s13.postimg.org/5g2qh0m2f/error403.png

In general, I simply need to have a menu item, where users could post own articles.
In my previous topic I was provided with an instruction on how to create a user group (getk2.org/documentation/tips-a-tricks/20...rs-to-submit-content and
www.joomreem.com/joomla-developer-s-tips...nd-submit-items.html), but what to do next?

Thanks for your answer!

Best regards,
Elle

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119793 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Error 403 after creating "Item Edit Form"
After creating the K2 User Groups you have to assign your users to that specific group.
You can also specify the default K2 User Group from K2's params.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 11 months ago - 10 years 11 months ago #119794 by Elle
Thanks, Krikor!
I was able to create a user group and now registerested users can post articles ("Add item")
However, how to see what was posted by them?
None of these menu items seems to show it:
s23.postimg.org/jmaxs8ei3/k2_menu_item.png

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119795 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Error 403 after creating "Item Edit Form"
You have to do the editing and approval through the backend.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 11 months ago #119796 by Elle
Can it be automatic? So I don't have to approve every posted article.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119797 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Error 403 after creating "Item Edit Form"
You can edit the K2 Groups params and enabled auto publishing.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 10 months ago #119798 by ECOMSURE
Replied by ECOMSURE on topic Re: Error 403 after creating "Item Edit Form"
Error 1. When on the front end site and clicking the add item menu link it opens up a new window (see error 3). It then displays the message: 403

You are not authorized to view this resource .

Category is set to public, created Super Users group and gave it all access.


Error 2. when in the back end I click on comments I get the following error.
1045 - Unknown column 'ip' in 'field list' SQL=SELECT ip FROM nbplm_k2_users WHERE userID = 144

Error 3. when adding the edit form menu link. I click on it on the front end and get taken to a new window. I try and change the setting in the back end menu options target window to open up in Parent. When I press save it defaults to New Window With Navigation every time.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #119799 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Error 403 after creating "Item Edit Form"
Have you followed the instructions as stated here?
getk2.org/documentation/tips-a-tricks/201-allowing-users-to-submit-content

Did you also delete any of your users?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 10 months ago #119800 by ECOMSURE
Replied by ECOMSURE on topic Re: Error 403 after creating "Item Edit Form"
Hi
Yes I have attempted to follow these instructions. When I select the user in the back end I then select a K2 user group to add them to. It is then that I get the following error:

[Error 1054]
Unknown column 'ip' in 'field list' SQL=INSERT INTO `nbplm_k2_users` (`id`,`userID`,`userName`,`description`,`url`,`group`,`ip`,`hostname`,`notes`) VALUES ('','145','Alan Todd','','','3','','','')

I have tried creating new users, new user groups and event created another super user and tried again. So I am unable to add any users, even super users to any K2 groups.

I have been using a component called SP Upgrade to import categories and users. Could this be what has caused the issue.

Hope you can help

Regards

Alan

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 10 months ago #119801 by Yiota
This might be your issue, yes.
Try to repair your database through phpMyAdmin and try to add a new user again.

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


Powered by Kunena Forum