Hi all,
I’m having real trouble in trying to get the K2 download function working in JA University.
Adding attachments is fine. When the content item is published, the attachments appear. Clicking any of them gives the error K2_FILE_DOES_NOT_EXIST.
We have other Joomlart templates running on the same server; they work fine with K2 and downloads.
I have explored the forums here and elsewhere and used as much advice as I can find from there, as well as copy the relevant item.php files from one of the working websites, to this one. No joy.
What I have found, if it’s of relevance, is that the link is called in components/com_k2/models/item.php, here (line 1298)
$row->link = JRoute::_(‘index.php?option=com_k2&view=item&task=download&id=’.$row->id.’_’.JUtility::getHash($row->id));
but hacking around with that hasn’t produced any joy so far.
If anyone could help, then it would be very much welcome! 🙂
Cheers,
Paul