bkrehely Posted January 31, 2015 Share Posted January 31, 2015 My customers are having an issue, when they purchase my software and click download in the digital download area. The download link is not working, and they are unable to download the products in which they bought. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 31, 2015 Share Posted January 31, 2015 Welcome bkrehely! Glad to see you made it to the forums. This not a common problem. There may a specific reason why the download link does not deliver the file the link is associated with. Just to make sure of this, let us know the exact version of CubeCart you are using (admin, Dashboard, Store Overview), and whether you, as the admin, created the order for the customer, or if the order is truly an order placed by the customer. You say the customer is in the Downloads section of their Account area, and are unable to retrieve the file from there. If that download fails, there may be displayed the reason why. Quote Link to comment Share on other sites More sharing options...
bkrehely Posted January 31, 2015 Author Share Posted January 31, 2015 Thank You for the Quick Reply!!!! That is the picture of the Tech Specs for Cube Cart. What I did, was I went to my stores website. I logged out of admin. I created an customer account then I added a downloadable product to my cart. I proceeded to check out, I had previously created an coupon with 100% off, for testing reasons. I insert the coupon code, then I clicked continue. It said your order was complete. Then I went to my profile, and clicked Digital Goods, then I pressed download. Once I pressed download it brought me to a blank page but nothing actually downloaded. I then tried to use the link that I recieved in an email stating that my order was complete and my downloadable goods were ready, and that didn't work either. and I clicked Download, then it brought me to this page As you can see below nothing downloaded Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 31, 2015 Share Posted January 31, 2015 Ok, CC6 beta 4. The developers will want to know about this. In the meantime, will you please read the following and create this file. When you click a download link, if there is a problem with the PHP code, we should have the error logged in the error_log file. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 31, 2015 Share Posted January 31, 2015 I also see the time on your desktop as 11:07 PM (23:07). The download expiry time of the top item is 13:30. So, you may want to double-check the Timezone settings of your store (admin, Store Settings, Advanced tab). Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted June 30, 2015 Share Posted June 30, 2015 Hi Brian, I am still having difficulty with GC's. As I said earlier the recipient of the GC does not get an email message. I also found that I get three emails. 1. as the order2 and 3 are the same as order confirmation.There is no reported errors in the log.Any help would be greatly appreciated.regards Duncan Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 30, 2015 Share Posted June 30, 2015 From your message, I assume you have a PHP error log?If so, in the file /classes/mailer.class.php, make this edit:Was: public function __construct() { // Configure PHPMailer variables Now: public function __construct() { // Configure PHPMailer variables $this->SMTPDebug = 1; $this->Debugoutput = "error_log";Try the emailing of the GC again.In the error log, there should be a lot of SMTP diagnostic lines. You should be able to determine what email addresses are getting emails. Search for the RCPT TO: lines. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 1, 2015 Share Posted July 1, 2015 Hi Brian, file /classes/mailer.class.php, now looks like this:public function __construct() { // Configure PHPMailer variables - debug added $this->SMTPDebug = 1; $this->Debugoutput = "error_log"; $this->From = $GLOBALS['config']->get('config', 'email_address'); $this->FromName = $GLOBALS['config']->get('config', 'email_name'); $this->CharSet = 'UTF-8';Then ran the GCWent to cpanel error logs and found no change in php errors. None listed recently.I am wondering if I have missed some thing in the admin setup since changing from CC5 to CC6? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 1, 2015 Share Posted July 1, 2015 With these statements, when CubeCart is communicating with the SMTP Server as specified in admin, Store Settings, Advanced tab, Sending Method = SMTP, you should have entries in PHP's error log.If looking at PHP's error log in cPanel, then I would question that what it is that you are looking at is not the correct/current error log PHP is writing to. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 1, 2015 Share Posted July 1, 2015 One bit at a time...Firstly I had no smtp, Sending Method now = SMTP, was php mail() function.Then tested SMTP, OKthen ran a GC, php error log in cpanel is below:/home1/maketext/public_html/******organicwine/shop/error_log: [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </td> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </tr> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </tbody> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </table> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: <p> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: &nbsp;</p> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </body> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: </html> [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: --b1_02712502b8a43b7aa5b14e17d26dc543-- [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: . [01-Jul-2015 08:59:38 Australia/Perth] CLIENT -> SMTP: QUITI have no idea if the above means anything,However I am not receiving the GC at the intended or any email address. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 1, 2015 Share Posted July 1, 2015 Hmm. That's something, but not nearly enough.When you tested SMTP, and you say OK, what do you mean by that? You are supposed to get a popup window with about 50 lines of conversation.And, the successful outcome of the test is an email sent to the store's master email address with the subject: Testing CubeCartDid you get that email? Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 1, 2015 Share Posted July 1, 2015 (edited) Yes I did receive that email and I also got the 50 lines. So the SMTP works.Also If I send a GC to myself there is no mention of it in digital down loads in my account, is this normal?The other thing worth mentioning is on the order summary the delivery address is a physical address not the email it is to be sent to. This of course is only for clarity.If I was producing 10 GC for customers/friends I would want to know who gets what.Where to look next? Edited July 1, 2015 by harrisorganic more info Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 2, 2015 Share Posted July 2, 2015 (edited) I think I may have found the answer. "Force Order Completed Emails" in admin settings features. Yes GC now works.Yippee. However I am getting two confirmation emails and the gift cert receiver gets two emails. Any suggestions why?regards Duncan Edited July 2, 2015 by harrisorganic Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 7, 2015 Share Posted July 7, 2015 Hi Brian,I am testing the digital down loads and have found I get a 404 error when I paste the url into a new page.I have a SSL certificate and it is enabled. This is the code: http://www.harrisorganicwine.com.au/shop/index.php?_a=download&accesskey=6f9773b11dcc8776373af2441cc7e96bHowever if I place an "s" after http the url works.What to look at and how to fix please? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 7, 2015 Share Posted July 7, 2015 Please look at the SSL tab of Store Settings. Does the Standard URL have http://? If so, try deleting the url, leave it blank, and save. Does CC automatically re-populate it with https://? If it does, please test a digital order again. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 7, 2015 Share Posted July 7, 2015 When I go to the URL posted above, my browser is given a 301 (302?) redirect to:http://www.harrisorganicwine.com.au/shopindex.phpNote the missing slash between shop and index.php.So, if this is CubeCart sending the redirect, check for the presence of a statement in globals.inc.php:$glob['rootRel'] = "/store"; // Wrong! Needs trailing slash!If you have an .htaccess file Redirect directive, check it's syntax. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 7, 2015 Share Posted July 7, 2015 Thanks DB,Yes it does repopulate it as https. If I click save again it goes back to http. Anyway it is set as https.thanks again.Duncan Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted July 8, 2015 Share Posted July 8, 2015 Thanks Brian, having a look at it now. 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.