Corrupted file (most often when it is too big)

More
9 years 3 months ago #56005 by ggppdk
Hello

the above will probably not work, because we already have:

if ( !FLEXIUtilities::funcIsDisabled('set_time_limit') ) @set_time_limit(0);

you may try asking your web-host provider to help

we are doing 2 things, to allow large downloads
- try to set no execution limit (the statement above)
- we do not read the file into memory because we want to avoid memory exhausted errors,
instead we read it in parts via a lopp and send it to the user's browser

try downloading the file via a downloads manager and set into the manager a slow speed e.g. 50 Kbytes / sec, does the download corrupt ?


-- 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
9 years 3 months ago #56006 by bendeb
I'm waiting for my users replies about this bug if your fix correct it or not.
For me, all is working so I have to wait them :D

One user say me that he can download the above corrupted file, so it seems to be working, but I prefer to have others replies before concluding it is OK. :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
9 years 3 months ago #56015 by bendeb
It seems not working finally :unsure:

Is the user connexion can cause the corrupt file ? If the user have a slow connexion to Internet for example.

try downloading the file via a downloads manager and set into the manager a slow speed e.g. 50 Kbytes / sec, does the download corrupt ?

Which download manager ? :huh:

you may try asking your web-host provider to help

What can I say to them in order that they correct the bug ? I know nearly nothing in server config.

Thank again :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
9 years 3 months ago #56019 by ggppdk
Hello

you missed a later response, yes we had the code already
Code:
the above will probably not work, because we already have: if ( !FLEXIUtilities::funcIsDisabled('set_time_limit') ) @set_time_limit(0);

about download test, just send me a PM with a link and i will make this test,

the purpose of the test is to determine if a slow connection will cause some timeout on the server side


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.281 seconds
Save
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