- Posts: 1
COMMUNITY FORUM
Calendar.setup: Nothing to setup (no fields foun
- Poko Pikos
-
Topic Author
- Offline
- New Member
Less
More
11 years 9 months ago #116118
by Poko Pikos
Calendar.setup: Nothing to setup (no fields foun was created 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?
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.
- Tomás Capapé
-
- Offline
- New Member
Less
More
- Posts: 4
11 years 4 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.
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
-
- Offline
- Platinum Member
- Joomla Developer
11 years 4 months ago #116120
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
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:
And replace it with this line:
Save the file and test.
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.
- Ajay Gadhavana
-
- Offline
- New Member
Less
More
- Posts: 11
11 years 3 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
i have issue in after upgrading to k2 2.6.7
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 3 months ago - 11 years 3 months ago #116122
by Lefteris
Replied by Lefteris on topic Re: Calendar.setup: Nothing to setup (no fields foun
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.
If it doesn't work try to install the K2 SVN 2.6.8 version located here:
getk2.org/assets/get/
and check again.
Please Log in or Create an account to join the conversation.
- Ajay Gadhavana
-
- Offline
- New Member
Less
More
- Posts: 11
11 years 3 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.
i will try svn packaged as soon as possible.
thanks for reply.
Please Log in or Create an account to join the conversation.
- Ajay Gadhavana
-
- Offline
- New Member
Less
More
- Posts: 11
11 years 3 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.
- Ajay Gadhavana
-
- Offline
- New Member
Less
More
- Posts: 11
11 years 3 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'));
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
-
- Visitor
11 years 3 months ago #116126
by Yiota
Replied by Yiota on topic Re: Calendar.setup: Nothing to setup (no fields foun
I'm glad you have sorted it out and thank you for sharing.
Please Log in or Create an account to join the conversation.
- Lechuky
-
- Offline
- New Member
Less
More
- Posts: 3
11 years 2 months ago #116127
by Lechuky
Replied by Lechuky on topic Re: Calendar.setup: Nothing to setup (no fields foun
Hi
Ajay Gadhavana solution work but there is a problem.
If you do that you disable your k2 pluggins.
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.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 2 months ago #116128
by Lefteris
Replied by Lefteris on topic Re: Calendar.setup: Nothing to setup (no fields foun
To anyone getting error "XML file did not load" please check your K2 plugins. Probably some of them contain incorrect XML markup. Try to disable some until you find which one is causing the issue.
Please Log in or Create an account to join the conversation.
- Ajay Gadhavana
-
- Offline
- New Member
Less
More
- Posts: 11
11 years 2 months ago #116129
by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: Calendar.setup: Nothing to setup (no fields foun
no that not disable your plugin, plugin also work fine.
and still you have any problem then you also have to check costume plugin related K2 .
Its work for me perfectly.
need more help then please explain your problem
thanks
Ajay Gadhavana
and still you have any problem then you also have to check costume plugin related K2 .
Its work for me perfectly.
need more help then please explain your problem
thanks
Ajay Gadhavana
Please Log in or Create an account to join the conversation.