jordiob Posted July 1, 2011 Share Posted July 1, 2011 Hi!This is a new problem for me. We have a site which is an ecommerce based on paid downloads.When users pay and download files less than 50MB large there's no problem.But, when they try to download a file which is more than 50MB, the file they get is just 189kb.We checked the programming, and the server config and we couldn't find the problem.I'd be very grateful if somebody could help me.Thanks a lot in advance! Link to comment Share on other sites More sharing options...
tomerg3 Posted July 1, 2011 Share Posted July 1, 2011 It's most likely related to your RAM, as PS needs about X2.5 RAM than the downloadable file size. Link to comment Share on other sites More sharing options...
wolfstores.com Posted July 2, 2011 Share Posted July 2, 2011 Hi,This could be a restriction from your hosting provider, you should get in touch with them and let them know what is going on, they may be able to help or you may need to upgrade your hosting package. Have you tried compressing the files?Best regards,Tim Link to comment Share on other sites More sharing options...
jordiob Posted July 2, 2011 Author Share Posted July 2, 2011 It's most likely related to your RAM, as PS needs about X2.5 RAM than the downloadable file size. So it's a problem from my computer then? Link to comment Share on other sites More sharing options...
jordiob Posted July 2, 2011 Author Share Posted July 2, 2011 Hi,This could be a restriction from your hosting provider, you should get in touch with them and let them know what is going on, they may be able to help or you may need to upgrade your hosting package. Have you tried compressing the files?Best regards,Tim Hi Tim! They're already zipped.We tried to upgrade the hosting package, but it didn't work.I think that we can just try to buy a dedicated host, but it's quite expensive for us.Thanks! Link to comment Share on other sites More sharing options...
tomerg3 Posted July 2, 2011 Share Posted July 2, 2011 How much RAM do you have on the server? Link to comment Share on other sites More sharing options...
jordiob Posted July 2, 2011 Author Share Posted July 2, 2011 How much RAM do you have on the server? I don't know. It's shared Link to comment Share on other sites More sharing options...
tomerg3 Posted July 2, 2011 Share Posted July 2, 2011 You can still find out by using phpinfo()..... If you're on a shared host, most likely it's 64MB.I think there may be a thread in the forum on how to modify the file download so it doesn't take so much RAM, but I don't know for sure. Link to comment Share on other sites More sharing options...
jordiob Posted July 3, 2011 Author Share Posted July 3, 2011 It's 64MB, will look for that post. Thanks a lot!!! Link to comment Share on other sites More sharing options...
jordiob Posted July 4, 2011 Author Share Posted July 4, 2011 PrestaChangeo did the miracle through this post:http://www.prestashop.com/forums/viewthread/35893/configuring___using_prestashop/solved_problem_uploading_downloadable_files_exceeding_14mbThe ob_end_flush(); line worked perfectly.THANKSTHANKSTHANKSTHANKSTHANKSTHANKSTHANKSTHANKSTHANKSTHANKSTHANKS 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