Keyword

[SOLVED] Frontend editing broken after migrating to 3.4.3

More
9 years 7 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 7 months ago - 9 years 7 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 7 months ago by Ioannis Toutoulis.

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

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

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

More
9 years 7 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 7 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.

  • Sirius Webmaster
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 7 months ago #147753 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3

Wire Creative wrote: This didn't fix the problem for me, unfortunately.


Same here. Unfortunately, it is still a problen,

@Krikor: Would you like to have a look at the site?

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 - 9 years 7 months ago #147776 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
@Sune replying on multilple threads is really difficult.
Let's keep our conversation on this one.

Actually yes.
You can send me access through the contact form. www.joomlaworks.net/support/contact

PS. I received some credentials for a cardiology site.
Is that yours?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 9 years 7 months ago by Krikor Boghossian.

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 #147818 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3
@krikor

Thank you
Details sent.

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 #147909 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
It appears that jQuery is not being loaded.
You can enable it from K2's params or you can use jQuery Easy as suggested by another user.

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

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

More
9 years 6 months ago #147920 by Andrea
Hello,

I have the same problem. I tried also with jquery easy but without success.

It is a real problem.

other suggestions?

Thank you

Andrea

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 #147922 by Sirius Webmaster
Replied by Sirius Webmaster on topic Frontend editing broken after migrating to 3.4.3

Krikor wrote: It appears that jQuery is not being loaded.
You can enable it from K2's params or you can use jQuery Easy as suggested by another user.


Thanks for suggesting. However, I´m afraid it is still a problem.

jQuery is enabled in K2 and has not been changed since I installed 2.7.0.
jQuery Easy is also installed, and was long before it was suggested in the forum.
I have fiddled around with different settings in jQuery Easy but have not found a setting that works.

How can I see jQuery is not loaded.
What else can interfer with jQuery?

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 #147938 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
Hove the modal, right click and select the view frame source option. (not the regular view source). Then scroll down to the scripts section to make sure they look like this: imgur.com/5B3vlog

You can also try the jQuery Easy support to see if this is a known issue.

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

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

More
9 years 6 months ago #147940 by Andrea
Hello, I checked and I find this:

<script src = "ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" type = "text / javascript">

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 #147952 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend editing broken after migrating to 3.4.3
Yes, this is the correct version, is the order of the script the same as the screenshot I posted?

Also, open your browser's developer tools and check for any errors in the console tab. You may need to refresh the window or reopen the modal in order to see the error.

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

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

More
9 years 6 months ago #147954 by Andrea
This is the only error in the console:

L’utilizzo di getAttributeNode() è deprecato. Al suo posto utilizzare getAttribute().


The script order is correct:

<script src="ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
<script src="/plugins/system/jqueryeasy/jquerynoconflict.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/media/system/js/modal.js" type="text/javascript"></script>
<script src="/media/system/js/calendar.js" type="text/javascript"></script>
<script src="/media/system/js/calendar-setup.js" type="text/javascript"></script>

<script src="/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/media/k2/assets/js/k2.noconflict.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
<script src="/media/k2/assets/js/k2.js?v=2.6.9&amp;sitepath=/" type="text/javascript"></script>
<script src="/media/k2/assets/js/nicEdit.js?v=2.6.9" type="text/javascript"></script>

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


Powered by Kunena Forum