Keyword

[SOLVED] i am getting error after upgrading K2 2.6.7

  • Ajay Gadhavana
  • Ajay Gadhavana's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123566 by Ajay Gadhavana
please help me as soon as possible
i am getting errors after upgrading K2 2.6.2 to K2 2.6.7.
when i try to edit category this prompt bellow alert

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

i have no idea why this errors occurs please help.
i am new to K2 and joomla

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123567 by Yiota
Which joomla version do you use?

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

  • Ajay Gadhavana
  • Ajay Gadhavana's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123568 by Ajay Gadhavana
Replied by Ajay Gadhavana on topic Re: i am getting error after upgrading K2 2.6.7
i'm using Joomla! 2.5.9

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123569 by Yiota
I will mark this topic as solved as well, since you have already posted your solution to this one: getk2.org/community/New-to-K2-Ask-here-first/180363-Calendarsetup-Nothing-to-setup-no-fields-foun

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

  • Ajay Gadhavana
  • Ajay Gadhavana's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123570 by Ajay Gadhavana
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.


Powered by Kunena Forum