- Posts: 4
COMMUNITY FORUM
I cant edit K2 items in frontend
- Lilu
-
Topic Author
- Offline
- New Member
Less
More
10 years 6 months ago #133552
by Lilu
I cant edit K2 items in frontend was created by Lilu
Hello everybody,
I have a website with Joomla 3.3.6 and K2 2.6.8.
I have created a K2 user group with permissions to create and edit in frontend. They can create new items and save them correctly. The problem is that when editing an article already created, pressing the save button in the popup window I get a 404 error. If I refresh the page I get a message "Frontend update not authorized" and the changes in the article hasn´t been saved. But the permissions are correct (in fact these users can create new items perfectly).
In Joomla debugger I get this message when trying to save an article in frontend:
Call stack
# Function Location
1 JApplicationCms->execute() JROOT/index.php:40
2 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:251
3 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:237
4 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
5 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:332
6 require_once() JROOT/libraries/cms/component/helper.php:352
7 JError::raiseError() JROOT/components/com_k2/k2.php:68
8 JError::raise() JROOT/libraries/legacy/error/error.php:253
I have several days reading forums and trying things without success. I have also asked to my template developers and they say that it is a K2 problem, and that they have nothing to do with that. :(
Can someone please help me?
Thanks in advance.
I have a website with Joomla 3.3.6 and K2 2.6.8.
I have created a K2 user group with permissions to create and edit in frontend. They can create new items and save them correctly. The problem is that when editing an article already created, pressing the save button in the popup window I get a 404 error. If I refresh the page I get a message "Frontend update not authorized" and the changes in the article hasn´t been saved. But the permissions are correct (in fact these users can create new items perfectly).
In Joomla debugger I get this message when trying to save an article in frontend:
Call stack
# Function Location
1 JApplicationCms->execute() JROOT/index.php:40
2 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:251
3 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:237
4 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
5 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:332
6 require_once() JROOT/libraries/cms/component/helper.php:352
7 JError::raiseError() JROOT/components/com_k2/k2.php:68
8 JError::raise() JROOT/libraries/legacy/error/error.php:253
I have several days reading forums and trying things without success. I have also asked to my template developers and they say that it is a K2 problem, and that they have nothing to do with that. :(
Can someone please help me?
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #133553
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: I cant edit K2 items in frontend
Hello Lilu,
Have you tried with the 2.7 DEV version?
getk2.org/assets/get/
Also which other extensions are you using?
Have you tried with the 2.7 DEV version?
getk2.org/assets/get/
Also which other extensions are you using?
Please Log in or Create an account to join the conversation.
- Lilu
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 6 months ago #133554
by Lilu
Replied by Lilu on topic Re: I cant edit K2 items in frontend
Hello Krikor, thank you very much for your response.
I installed the version you sent me but unfortunately the error remains the same.
The extensions I'm using are:
Akeeba Backup
Falang
Flexicontact Plus
JCE Editor
Widgetkit
ImageShow GK4
News Show Pro GK5
Nextend Accordion Menu V9
Social GK5
Twitter API
Joomlaworks Allvideos
Pdf Embed
EU e-Privacy Directive
Xmap
Some idea?
Best regards
I installed the version you sent me but unfortunately the error remains the same.
The extensions I'm using are:
Akeeba Backup
Falang
Flexicontact Plus
JCE Editor
Widgetkit
ImageShow GK4
News Show Pro GK5
Nextend Accordion Menu V9
Social GK5
Twitter API
Joomlaworks Allvideos
Pdf Embed
EU e-Privacy Directive
Xmap
Some idea?
Best regards
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 6 months ago #133555
by Lefteris
Replied by Lefteris on topic Re: I cant edit K2 items in frontend
@Lilu
The call stack indicates that K2 throws the error at line 68 of file k2.php. In that line K2 is trying to get the controller file for the view requested. In your case it cannot find the file it is looking for. This means that either the controller file ( item.php ) is not available ( incomplete installation or invalid permissions ) or the an other extension/plugin tries to modify the default redirect location after save. Do you have an override for itemform.php file? Have you modified any of the core K2 files?
The call stack indicates that K2 throws the error at line 68 of file k2.php. In that line K2 is trying to get the controller file for the view requested. In your case it cannot find the file it is looking for. This means that either the controller file ( item.php ) is not available ( incomplete installation or invalid permissions ) or the an other extension/plugin tries to modify the default redirect location after save. Do you have an override for itemform.php file? Have you modified any of the core K2 files?
Please Log in or Create an account to join the conversation.
- Lilu
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 6 months ago #133556
by Lilu
Replied by Lilu on topic Re: I cant edit K2 items in frontend
I didn´t modify any K2 core files. Which would be the solution? Overwrite some file? Thanks for yout help.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #133557
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: I cant edit K2 items in frontend
You can try the following.
a) Reinstall K2
b) Try to correct your file/folder permissions. You can use an extension like Admin Tools to do this
c) You can try disabling extensions one by one to see which extension is causing this.
a) Reinstall K2
b) Try to correct your file/folder permissions. You can use an extension like Admin Tools to do this
c) You can try disabling extensions one by one to see which extension is causing this.
Please Log in or Create an account to join the conversation.
- Lilu
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 6 months ago #133558
by Lilu
Replied by Lilu on topic Re: I cant edit K2 items in frontend
Problem solved, I discovered (turning on/off every extension) it was a Falang component incompatibility, but updating the new version of Falang the bug has been fixed. :)
Thanks a lot to Krikor and Lefteris for your help!!
Thanks a lot to Krikor and Lefteris for your help!!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #133559
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: I cant edit K2 items in frontend
You 're welcome Lilu, and thank you for letting us know about the solution.
Please Log in or Create an account to join the conversation.
- Mike Vanbost
-
- Offline
- New Member
Less
More
- Posts: 6
7 years 11 months ago #162284
by Mike Vanbost
Replied by Mike Vanbost on topic I cant edit K2 items in frontend
Hello, I'm new with Joomla and k2 but i already work with something like that. I got a problem with modifying items, when i click "save"; It takes several minutes and afterwards I am redirected to the homepage of Joomla and my modifications wasn't saved? I am not the creator of the site, the owner wants to customize some things and fix the bugs since the update from 1.5 to 3.7... really need help soon tanks all
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #162300
by Krikor Boghossian
Replied by Krikor Boghossian on topic I cant edit K2 items in frontend
Are your overrides up to date?
Furthermore, are any PHP errors recorded in your error_log?
Furthermore, are any PHP errors recorded in your error_log?
Please Log in or Create an account to join the conversation.
- Mike Vanbost
-
- Offline
- New Member
Less
More
- Posts: 6
7 years 11 months ago #162302
by Mike Vanbost
Replied by Mike Vanbost on topic I cant edit K2 items in frontend
In the error_log file the last visible date is 2014, it does not seem to record the new errors. If not I do not know because I am not the creator of the site and it may be altering original files, the file is located here: websites / myWebSite.com / web / error_log.
For the overrides, I do not know if they are up to date, nor how to know, sorry I am new on joomla
I noticed that the items k2 that I can not modify all have extend info because I can modify those that do not have
For the overrides, I do not know if they are up to date, nor how to know, sorry I am new on joomla
I noticed that the items k2 that I can not modify all have extend info because I can modify those that do not have
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #162306
by Krikor Boghossian
Replied by Krikor Boghossian on topic I cant edit K2 items in frontend
By extended info do you mean extrafields?
Are you getting JSON related errors?
Are you getting JSON related errors?
Please Log in or Create an account to join the conversation.