Jump to content

"File not found. Please contact support" when clicking attachement


business

Recommended Posts

  • 3 weeks later...
  • 1 year later...
  • 2 months later...

Hello is not a problem with permissions ... just open whmcs\templates\default\viewticket.tpl, go to the line #127 or #128 and find and replace:

 

where : href="dl.php?type=ar&id={$reply.id}&i={$num}">

replace with: href="dl.php?type=a&id={$id}&i={$num}">

 

and problem fixed.

Link to comment
Share on other sites

  • 7 months later...
  • 4 months later...
  • 1 year later...

(I know that this thread is old but I just have lost a couple of hours in Google searching for a fix until I decided to fix it myself and I believe that other people can find it useful even today.)

 

The problem is in the "default" template. The fix is to edit the viewticket.tpl file in the default template folder. Change line 128 from this:

 

  <img src="images/article.gif" align="middle" /> <a href="dl.php?type=ar&id={$reply.id}&i={$num}">{$attachment}</a><br />

 

to this:

 

  <img src="images/article.gif" align="middle" /> {if $reply.admin}<a href="dl.php?type=ar&id={$reply.id}&i={$num}">{else}<a href="dl.php?type=a&id={$id}&i={$num}">{/if}{$attachment}</a><br />

 

Or just use another template your template :).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated