mtk Posted October 27, 2013 Share Posted October 27, 2013 (edited) Hey, when trying to download attachments from tickets (on the admin side) the URL redirects to the client area! (and no attachment is downloaded) This happens to both new tickets (that were recieved after upgrading to 5.2.12) and old. MtK Edited October 27, 2013 by mtk 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 27, 2013 WHMCS CEO Share Posted October 27, 2013 This has been confirmed as an issue affecting the most recent security release. The issue only affects the downloading of attachments in the original message of a ticket, those in replies can still be downloaded. Below are patch files that fix this, simply download the appropriate patch for your version and then upload the file contained in it to the root directory of your WHMCS installation. Version 5.2.12 - TicketAttachmentFixV5212.zip Version 5.1.13 - TicketAttachmentFixV5113.zip Matt 0 Quote Link to comment Share on other sites More sharing options...
akeelwall Posted November 2, 2013 Share Posted November 2, 2013 Matt I am having a similar issue with downloading the PDF version of invoices ( when clicking the download link on the bottom of the invoice page ) and also files from the download section of the client area. it just redirect to the login page. the version I am running is 5.2.12. and clue why this is happening? thanks 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted November 3, 2013 Share Posted November 3, 2013 I am having a similar issue with downloading the PDF version of invoices ( when clicking the download link on the bottom of the invoice page ) and also files from the download section of the client area. it just redirect to the login page. the version I am running is 5.2.12. and clue why this is happening? I had the issue with downloading PDFs, in the past, on version 5.2.8. Things would work when I disabled SSL, but with SSL enabled, it would redirect to the client area login when I tried to view/download PDFs (invoices or quotes). Apparently, I had some rewrite rules that were causing the issues. Excluding dl.php from the mod_rewrite rules, with the following line, fixed it: # Exclude dl.php from rewrite rules RewriteRule ^(dl\.php) - [L] I'm not sure if this will work for you, but that is how I fixed it for me. 0 Quote Link to comment Share on other sites More sharing options...
akeelwall Posted November 3, 2013 Share Posted November 3, 2013 Thanks Site0x I have added the rule to htaccess but didn't do anything. I still see 302 in the browser. I am sure this is something to do with security.. hope somebody have a solution for this 0 Quote Link to comment Share on other sites More sharing options...
davebenwell Posted November 14, 2013 Share Posted November 14, 2013 Hi Matt, This did not fix it for us, we have the attachments folder outside of the public area for security reasons and have put the path in the config file and when support tickets are logged, the files are getting put in the folder, but from within the portal, i am not able to access the files within the support tickets. the error i get is "File not found. Please contact support" This has been confirmed as an issue affecting the most recent security release. The issue only affects the downloading of attachments in the original message of a ticket, those in replies can still be downloaded. Below are patch files that fix this, simply download the appropriate patch for your version and then upload the file contained in it to the root directory of your WHMCS installation. Version 5.2.12 - [ATTACH]5222[/ATTACH] Version 5.1.13 - [ATTACH]5226[/ATTACH] Matt 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted November 18, 2013 Share Posted November 18, 2013 That worked for me. Tks! 0 Quote Link to comment Share on other sites More sharing options...
AffordableDomainsCanada Posted November 18, 2013 Share Posted November 18, 2013 Version 5.2.12 - [ATTACH]5222[/ATTACH] This version worked for me! I have my attachements folder outside the publuc_html folder, and uploaded this file to the root dir of my WHMCS install, and it worked perfectly for me! Thanks for the fix. 0 Quote Link to comment Share on other sites More sharing options...
Felpo Posted November 23, 2013 Share Posted November 23, 2013 That worked for me too 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Nate Posted November 27, 2013 Share Posted November 27, 2013 Hello, This hotfix has been included in the 5.2.14 release. Please upgrade as soon as possible. 0 Quote Link to comment Share on other sites More sharing options...
artehosting Posted December 13, 2013 Share Posted December 13, 2013 Thanks! the file for 5.2.12 works for us! 0 Quote Link to comment Share on other sites More sharing options...
AlejandroADX Posted December 13, 2013 Share Posted December 13, 2013 Hi, i can't upgrade my WHMCS version and i'm having this issue, currently we have the 5.1.15 version and we need to solve this whitout upgrading to 5.2 because we have a custom payment gateway developed for the 5.1 version; any help please? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted December 14, 2013 Share Posted December 14, 2013 (edited) Version 5.1 is now EOL (End of Life). This means patches will no longer be provided for it. You will have to upgrade to 5.2 to get any fixes going forward. Are you positive the custom payment gateway does not work on the latest 5.2 version? Have you tested it? http://docs.whmcs.com/Long_Term_Support#WHMCS_Version_.26_LTS_Schedule Edited December 14, 2013 by SeanP 0 Quote Link to comment Share on other sites More sharing options...
AlejandroADX Posted December 16, 2013 Share Posted December 16, 2013 Thx for replying SiteOX I haven't tested if the payment Gateway works on 5.2, but i've seen some of the source code and uses some functions that we tested and didn't worked on 5.2, i'm going to recommend the 5.2 upgrade to my supervisor. 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted December 16, 2013 Share Posted December 16, 2013 We had the same concerns, with some custom modules we have, when we went from the 5.1 series to the latest 5.2 version. Fortunately, we were able to test everything thoroughly, and our modules worked on the latest version. It's always best to be on the latest version, if at all possible, especially being the nature of the software. 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted December 16, 2013 Share Posted December 16, 2013 Another thing to mention, if you haven't already done so, is to get a development license from WHMCS. If you put in a support ticket, they will give you a development license key. You can then install a dev environment, of WHMCS, and do all your testing there, before rolling anything into production. 0 Quote Link to comment Share on other sites More sharing options...
scurrell Posted December 31, 2013 Share Posted December 31, 2013 This seems to happening again for us in 5.2.15 0 Quote Link to comment Share on other sites More sharing options...
leklubbers Posted January 7, 2014 Share Posted January 7, 2014 We are also using 5.2.15 and the attachment issue is happening as well 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.