Keyword

Calendar.setup: Nothing to setup (no fields foun

  • Poko Pikos
  • Poko Pikos's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #116118 by Poko Pikos
Hi Everyone!
I have Joomla! 2.5.8 and K2 v2.6.7. After upgrading to the current version, I can't create/edit any k2 item or category. I get a popup with the message:

Calendar.setup:
Nothing to setup (no fields found). Please check your code

and the page body contains a message in red background saying: XML file did not load

I have tried de-activating all k2 related plugins and k2 itself, + re-installing it, but still no luck.

Can anyone help?

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

More
10 years 9 months ago #116119 by Tomás Capapé
Replied by Tomás Capapé on topic Re: Calendar.setup: Nothing to setup (no fields foun
I am getting the same error and never got it before and I have using k2 in at least 3 projects.

Did you solve it ? if yes, please how ?

If not what plugins are you using ?

Thanks and best regards.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
10 years 9 months ago #116120 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Calendar.setup: Nothing to setup (no fields foun
Please try this fix:

Edit the file: libraries/joomla/html/html.php

Go to the line ~879 and find this line:
'window.addEvent(\'domready\', function() {Calendar.setup({

And replace it with this line:
'window.addEvent(\'load\', function() {Calendar.setup({

Save the file and test.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

More
10 years 8 months ago #116121 by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: Calendar.setup: Nothing to setup (no fields foun
still i am getting same error please help.
i have issue in after upgrading to k2 2.6.7

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

More
10 years 8 months ago - 10 years 8 months ago #116122 by Lefteris
Have you tried @Mohamed Abdelaziz solution?

If it doesn't work try to install the K2 SVN 2.6.8 version located here:
getk2.org/assets/get/

and check again.

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 8 months ago #116123 by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: Calendar.setup: Nothing to setup (no fields foun
yes i have tried @Mohamed Abdelaziz solution but thats not work for me.
i will try svn packaged as soon as possible.
thanks for reply.

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

More
10 years 8 months ago #116124 by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: Calendar.setup: Nothing to setup (no fields foun
i have also tried SVN package provide by you but still getting errors.

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

More
10 years 8 months ago #116125 by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: Calendar.setup: Nothing to setup (no fields foun
hi everyone i m so happy because finally i found exact problem.
i have installed php 5.3.6 and there is no need to pass variable with & sign.
i m getting errors in from
administrator/components/com_k2/views/item/view.html.php file.

in this file line No. 429 to 451 use for plugin and passing $item with & sign so after removing & its proper works.
$K2PluginsItemContent = $dispatcher->trigger('onRenderAdminForm', array(&$item, 'item', 'content'));
replace with
$K2PluginsItemContent = $dispatcher->trigger('onRenderAdminForm', array($item, 'item', 'content'));

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #116126 by Yiota
I'm glad you have sorted it out and thank you for sharing.

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

More
10 years 7 months ago #116127 by Lechuky
Hi

Ajay Gadhavana solution work but there is a problem.
If you do that you disable your k2 pluggins.

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


Powered by Kunena Forum