Keyword

Fatal error attaching file Joomla 3.0.1. K2 2.6.1.

More
11 years 11 months ago #105210 by Ray
I am getting the following error when trying to attach a file either from local or server to an item in K2:
Fatal error: Call to undefined method JUtility::getHash() in C:\xampp\htdocs\joomla301\administrator\components\com_k2\models\item.php on line 997

There is no issue if I do not attach a file to the item. Everything else woks perfectly.

Please help!

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

More
11 years 11 months ago #105211 by Adreck
Issue occurs in both front-end and administrator for items with attachments. Error produced = "Call to undefined method getHash()".

Solution current code base calls JUtility::getHash(); which was changed to JApplication::getHash in the recent update to the Joomla Framework in Joomla 3.0.1

call to getHash() exists in the following locations. In my test fix, I just changed the call, however at version test should be performed as Joomla 2.5 still uses the JUtility;;getHash() call.

Front End Line 1333 of /components/com_k2/models/item.php

Administrator Lines 937 and 997 of /administrator/components/com_k2/models/item.php

You can make this adjustment yourself for now, I've also just posted this bug on Issues page.

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

More
11 years 11 months ago #105212 by Lefteris
This issue has already been fixed in the SVN. Thanks for reporting.

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

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

More
11 years 10 months ago #105213 by Ray
Thanks for the good news.

Any idea when will you be releasing K2 2.6.2?

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

More
11 years 10 months ago #105214 by Bryan Smith
I'm having the same problem. Running a new Rockettheme Metropolis J3.0.2.

After I installed K2 2.6.1 I can no longer get to the template config.

An error has occurred.

500 View not found [name, type, prefix]: gantry, html, gantryView

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

More
11 years 10 months ago #105215 by Webonaute
I found that unactive k2 system plugin make gantry work again.

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

More
11 years 10 months ago #105216 by Maxim
I have same problem :(

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

More
11 years 10 months ago #105217 by Lefteris
Anyone facing this issue, please update to K2 2.6.2 and provide some feedback.

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

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

More
11 years 10 months ago #105218 by Alex
I have the newest gantry template installed and k2 2.6.2 and having this same issue when I try to access the template from the backend:

An error has occurred.

500 View not found [name, type, prefix]: gantry, html, gantryView

I want to use K2 on this site but I have to access the gantry template. Any ideas on how to fix this?

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

More
11 years 10 months ago #105219 by Alex
Is there any update on how to fix this issue?

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


Powered by Kunena Forum