- Posts: 3
COMMUNITY FORUM
Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
- Ray
- Topic Author
- Offline
- New Member
Less
More
11 years 11 months ago #105210
by Ray
Fatal error attaching file Joomla 3.0.1. K2 2.6.1. was created 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!
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.
- Adreck
- Offline
- New Member
Less
More
- Posts: 1
11 years 11 months ago #105211
by Adreck
Replied by Adreck on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
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.
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 11 months ago #105212
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
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.
- Ray
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
11 years 10 months ago #105213
by Ray
Replied by Ray on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
Thanks for the good news.
Any idea when will you be releasing K2 2.6.2?
Any idea when will you be releasing K2 2.6.2?
Please Log in or Create an account to join the conversation.
- Bryan Smith
- Offline
- Premium Member
Less
More
- Posts: 130
11 years 10 months ago #105214
by Bryan Smith
Replied by Bryan Smith on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
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
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.
- Webonaute
- Offline
- New Member
Less
More
- Posts: 4
11 years 10 months ago #105215
by Webonaute
Replied by Webonaute on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
I found that unactive k2 system plugin make gantry work again.
Please Log in or Create an account to join the conversation.
- Maxim
- Offline
- New Member
Less
More
- Posts: 1
11 years 10 months ago #105216
by Maxim
Replied by Maxim on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
I have same problem :(
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 10 months ago #105217
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
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.
- Alex
- Offline
- New Member
Less
More
- Posts: 4
11 years 10 months ago #105218
by Alex
Replied by Alex on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
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?
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.
- Alex
- Offline
- New Member
Less
More
- Posts: 4
11 years 10 months ago #105219
by Alex
Replied by Alex on topic Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.
Is there any update on how to fix this issue?
Please Log in or Create an account to join the conversation.