Keyword

[SOLVED] Frontend editing broken after migrating to 3.4.3

  • Sirius Webmaster
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #146778 by Sirius Webmaster
Frontend editing broken after migrating to 3.4.3 was created by Sirius Webmaster
Hello,
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.

More
9 years 7 months ago #146780 by Robert Piper
Replied by Robert Piper on topic Frontend editing broken after migrating to 3.4.3
I'm having exactly the same problem. I too have tried different versions of jQuery and jQueryEasy but no joy. I've even disabled all but the absolutely necessary extensions to see if one was causing a conflict - again no joy!

Please help if you can.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #146798 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
Which version of K2 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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #146808 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
I use K2 v. 2.6.9.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #146815 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
Are you getting any error messages in your developer tools (under the console 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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #146856 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #146864 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
Is it possible to check it with another template? Eg: the system template?

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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #146898 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
Unfortunately, we cannot change template on this live site with thousands of users and about 50 Editors (that currently cannot do their work). I guess we will need to create one or more clones of the site for testing. It would br great if you could have a quick look at the site?

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #146911 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
In the test site, you can install K2 2.7.0, the DEV version to see if that solves the issue. You can get it from here: getk2.org/assets/get/

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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #147036 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
Thanks for your help!

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.

More
9 years 6 months ago #147087 by Wire Creative
Replied by Wire Creative on topic Frontend editing broken after migrating to 3.4.3
Exact same problem here. Anyone find a fix for this?

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

More
9 years 6 months ago - 9 years 6 months ago #147093 by Ioannis Toutoulis
Replied by Ioannis Toutoulis on topic Frontend editing broken after migrating to 3.4.3
I had the same problem with my custom template about 3 months ago and our authors were unable to create or edit articles. Go to root/media/k2/assets /js/k2.js

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.
Last edit: 9 years 6 months ago by Ioannis Toutoulis.

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

More
9 years 6 months ago #147138 by Wire Creative
Replied by Wire Creative on topic Frontend editing broken after migrating to 3.4.3
Thanks,. I tried this but it didn't work. The lines I commented out (464-465) were:
//                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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 6 months ago #147182 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
@Wire Creative,

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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 6 months ago #147283 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
Jhat template are you using?

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.

More
9 years 6 months ago #147284 by Wire Creative
Replied by Wire Creative on topic Frontend editing broken after migrating to 3.4.3
I use Yootheme's Avenue. I do have quite a few other extensions installed, but there wasn't an issue until upgrading Joomla to 3.4.3. I updated to 3.4.4 yesterday and the problem still exists.

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 6 months ago #147319 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
What is the console tab of your browser's developer tools showing you?

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
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 6 months ago - 9 years 6 months ago #147687 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
I have done this:

- 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.
Last edit: 9 years 6 months ago by Sirius Webmaster. Reason: Added test results

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

More
9 years 6 months ago #147692 by Udi
Hi,

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.

More
9 years 6 months ago #147750 by Wire Creative
Replied by Wire Creative on topic Frontend editing broken after migrating to 3.4.3
This didn't fix the problem for me, unfortunately.

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


Powered by Kunena Forum