Closed (fixed)
Project:
Auto locale import
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2007 at 22:03 UTC
Updated:
20 Apr 2007 at 21:46 UTC
Please insert the following line in "_autolocale_import_po_files" function in autolocale.install file.
set_time_limit(0);
This will remove the timeout and lets large imports to succeed.
Please release a version!
Thanks
Comments
Comment #1
hass commentedNever timeout sounds no good choice... maybe we should higher the 4 minutes timeout limit - to 8 minutes or 10minutes - but not unlimited.
What language are you trying to import? i saw a timeout myself with the one big RU.po file on IIS6... with no extra modules installed. But this was without autolocale module...
Comment #2
gábor hojtsyThis might sidestep the issue, but does not solve the timeout. Most shared hosts will not allow you to run that set_time_limit() call, so they will not run longer. There is a solution for Drupal 6 in the work, by running multiple HTTP requests in batch processing, so smaller PO files are imported in steps.
Anyway, I have added a time limit setting now, with a silenced error, so hosts not allowing this will not report problems.
A (development snapshot) release is on the way soon.
Comment #3
(not verified) commented