Title:
Version: 2.1
Author:
Demo:
Download:
Website:
Short description: Admin's can't access attachments
*************************************/
For some reason, when logged in as an admin. I can't open any of the attachments to the KB articles. If I'm logged out, they open up fine. Problem is, some of my private articles have attachments. I don't rember this happening before, so I'm not sure what might have changed. I've only done a few software updates to the Ubuntu install on this set.
The attachment link, is trying to find the download_attachment.php file in the admin directory though. And that file doesn't exist.
example attachment link:
http://mydomain.com/hdesk/admin/downloa ... p?kb_att=6
Actually I believe I just fixed it. The following line, needs to be modified in the admin/knowledgebase_private.php file.
Code: Select all
echo '<img src="../img/clip.png" width="16" height="16" alt="'.$att_name.'" style="align:text-bottom" /> <a href="download_attachment.php?kb_att='.$att_id.'" rel="nofollow">'.$att_name.'</a><br />';
Code: Select all
../