Jump to content

[SOLVED] Download product link not working


keyura

Recommended Posts

I get the payment through paypal, i get the emails also + even my customer receives the email and invoice. Everything works fine till here. But when the customer clicks on the link to download, acrobat reader notifies that it is either not supported format or becuase the file is damaged.
I tried going to pHpmyAdmin and checked the hash codes do match.
Moreover i even wrote the code ob_end_flush(); in get-file.php
i am not the master but i tried searching the forum and whatever help i could find, i have implemented.

All efforts in vain, any help will be highly appreciated.
I am using the prestashop version 1.3.2.3.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I am not sure if you are talking of download after the payment is done. If that is the case then you can talk to or mail to your host to enable readfile() function and then it should work smoothly.
Before that there is a way to check the error.
Go to > config.inc.php in the config folder >Check for this code as follows:
/* Debug only */
ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);

Instead change it to
/* Debug only */
ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', false);

Then on the invoice you right click it and save it as text on your desktop. It should show you the exact error it is experiencing.

Hope this should solve your problem.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...