Product Download File Path-Specifiy File Location

  • Posts: 5
  • Thank you received: 0
11 years 1 week ago #132045

-- url of the page with the problem -- : www.myartsylum.com
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.9-- PHP version -- : x.x.x
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : FIle Not Found

I have a downloadable product I'm selling. The file size exceeds the max 32mb upload capacity. I have the file on a specific folder in my server. I've tried several ways using the "Specity File Location" option and I still get the "File Not Found" message when I try to download. Is there a specific syntax I should be using? /domain folder/download folder/file name/?

Thanks in advance for your assistance.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
11 years 1 week ago #132138

I've tried some of the solutions provided in the previous posts. I've located the downloadable file in the "Safe" folder and just provided the file name in the "Specify File Location" field. Unfortunately, the file does not download completely. It seems to corrupt the zip file once downloaded.

Any thoughts? Please help. Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 week ago #132142

Hi,

I think that your server have a execution time limit.
It means that a PHP script can't run more than 30 seconds (the usual time limit).
Because we use a PHP script to send the file to the user (in order to secure the download and let the file accessible like that), it means that the script have to send the file under 30 seconds.
We use a command to ask the server to change his limitation (to have no time restriction) but some hosting refuse it (it can be too CPU consuming for them to let users use scripts without time limitation).

Please contact your web hosting company to have more details about that and to have a good way to propose a secure download of a file.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum