keyura Posted November 15, 2010 Share Posted November 15, 2010 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.phpi 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 More sharing options...
keyura Posted December 5, 2010 Author Share Posted December 5, 2010 The problem lied with the host. Readfile() function was enabled by our host and everything later on went smoothly. Link to comment Share on other sites More sharing options...
need4speed Posted December 15, 2010 Share Posted December 15, 2010 I have a similar problem. The download URL Doesnt work to large files like 700 mb.What should I ask my host to turn off? Link to comment Share on other sites More sharing options...
keyura Posted December 15, 2010 Author Share Posted December 15, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now