- Posts: 26
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Frontend editing broken after migrating to 3.4.3
[SOLVED] Frontend editing broken after migrating to 3.4.3
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
After migrating Joomla from 2.5.8 to 3.4.3, frontend editing is broken; Save does not react, only loading start page in the modal window. Cancel does not react at all.
I have tried different combinations of jQuery in K2 settings without result, then installed jQuery Easy and set it to use Joomla framework version, did not help either.
Any suggestion to solve this will be highly appreciated.
Thanks.
Please Log in or Create an account to join the conversation.
- Robert Piper
-
- Offline
- New Member
- Posts: 1
Please help if you can.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Krikor wrote: Are you getting any error messages in your developer tools (under the console tab)?
Yes, there are error messages that may be important here:
ReferenceError: jQuery is not defined
Template mysite.com/news did not load because it´s MIME-type, ”text/html”, is not ”text/css”.
I am unsure what causes the jQuery error. Any suggestions?
The second one is obviouslu template related, either JA University template or the K2 template.
Will check that.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
jQuery is not defined also means that there is a possibility that a script is being printed before the loading of JQuery. Viewing the frame's source can point you to that script.
Finally are you using a modal or a new tab?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
It looks like K2 scripts loads before JA T3 scripts.
How can we change between modal and new tab? Have never seen a setting for that.
Thanks!
I have never seen that
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can also address this issue to the T3 support (or the template's developer for that matter).
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
We have now installed a clone and updated K2 to 2.7.0. Unfortunately, it behaves exactly the same.
Still no success with reordering the system plugins. Do you have an exanple of a J3/K2 site that works ok, where we can check in which order plugins should load?
Thanks
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
Please Log in or Create an account to join the conversation.
- Ioannis Toutoulis
-
- Offline
- New Member
- Posts: 8
If you are using K2 v2.7, (Krikor gave a link some posts above) go to line 529 and 532 and comment out (with // ) these two lines.
If you are using K2 V2.6.9 go to line 464 and 465 and comment them out.
As you understand it's not the best way, because with the next update you'll have to do the same but it's a solution until this problem is resolved. At least that worked for me.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
// parent.$('sbox-overlay').removeEvents('click');
// parent.$('sbox-btn-close').removeEvents('click');
Was this correct?
When we try to edit an item through the front end, the change is not saved and the modal window doesn't close, it just loads the home page into the modal.
BTW, this file is not referenced in my browser's source window: root/media/k2/assets/js/k2.js
This file is loaded: /components/com_k2/js/k2.js?v2.6.9&sitepath=/
but it only has around 250 lines.
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which other 3rd party extensions are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
I use JA University and JA staff has confirmed a bug,
Waiting for further comments and solution.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
Related to this is that when the front-end editing window opens, none of the additional content tabs are laid-out correctly, so there must be some javascript conflict with the core K2 js.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
- Concole tab shows nothing.
- Cloned site to XAMPP localhost. - No difference.
- Changed to Beez3 template - FE edit fails here, unlikely the error is caused by JA Template?
- Updated K2 to 2.7.0 using the package mentioned earlier in this thread.
- Updated JCE to 2.5.8. Got rid of error message "Item must have a title"
- Updated Joomla to 3.4.4 - No difference
- Tested different settings with jQuery Easy plugin. - Nothing helped.
- Tried different jQuery settings in K2 config. - Caused different types of behaviour in frontend but nothing that works.
- Tried the hack mentioned above. - Did not help.
Also tested:
- Setting K2 template to Default to check that override templates is not causing errors.
- Tested with dafault editor = None, - Same problem.
- Installed the JCE fix, but that does not really matter when JDE 2.5.8, because the fix is part of that version.
Was also waiting and hoping K2 v3 would be released and solve this, but it is obviously delayed once again.
I would really appreciate some comstructive ideas how to solve this. I´m simply out of ideas.
Thanks.
Please Log in or Create an account to join the conversation.
- Udi
-
- Offline
- Junior Member
- Posts: 37
I found the solution by Ryen, Jce and it works !!
from Krikor:
There is a JCE patch actually available here: www.joomlaworks.net/forum/k2-en/42883-item-must-have-a-title-pops-up-after-upgrade-joomla-3-4-4?start=10
You can try to see if this solves your issue.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Frontend editing broken after migrating to 3.4.3