[Fixed large files download] Problem with files download

More
11 years 9 months ago #39874 by ggppdk
Hello

a file is read into memory prior to be output,
so memory was exhausted in the case of large files


i implemented a workaround that will work regardless of memory limit
(the patch was also verified in your site)


Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 9 months ago #39891 by bendeb

ggppdk wrote: Hello

a file is read into memory prior to be output,
so memory was exhausted in the case of large files


i implemented a workaround that will work regardless of memory limit
(the patch was also verified in your site)


Regards

Thank you ggppdk, it works well now. :P
But I don't really understand the problem. :oops:
Could you explain me in details please ?
Why the download worked before and don't worked after I migrate to my new server ?

However, it works and it's really nice !
Thank again, a lot.

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 9 months ago #39893 by ggppdk
Hello

complete file was read to memory prior to starting sending content to user's browser

-- this exhausted the allowed PHP memory, e.g. 64 MBs

-- previous server , obviously had a higher limit , e.g. 90 Mbs

-- the new implementation is not a workaround as i said, rather it is a more appropriate way to send file

thanks for reporting this in details

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 9 months ago #39910 by bendeb
OK, I see.
Thank again for your precious help. :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.375 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save