asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Rate import file with big file size http://forum.asterisk2billing.org/viewtopic.php?f=21&t=7080 |
Page 1 of 1 |
Author: | bruce [ Thu Feb 11, 2010 6:21 pm ] |
Post subject: | Rate import file with big file size |
Hi Guys, If trying to import a rate-sheet with 140,000 rates A2Billing v1.4.x doesn't allow for it due to limit on file size. Is there any setting I can change to allow this? or is there a workaround for this? chunk the file in peices? Thanks, |
Author: | jroper [ Thu Feb 11, 2010 6:37 pm ] |
Post subject: | Re: Rate import file with big file size |
You could up your PHP upload limits, or split it into pieces. Joe |
Author: | bruce [ Thu Feb 11, 2010 9:36 pm ] |
Post subject: | Re: Rate import file with big file size |
/etc/php.ini (in case of Trixbox) has a 100MB limit to it. Code: max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 100M ; Maximum amount of memory a script may consume Could there be a 1000kb hard coded somewhere in A2Billing code that has to be changed? Chunking the file into pieces is not a convenient option at this time. Thanks |
Author: | manugmedia [ Thu Feb 11, 2010 11:47 pm ] |
Post subject: | Re: Rate import file with big file size |
you might be looking to change Code: Max File Upload Size under Global list webui group. Rgds Eamonn |
Author: | bruce [ Fri Feb 12, 2010 1:16 am ] |
Post subject: | Re: Rate import file with big file size |
Eamonn, Thanks for teaching me and Joe something new today. Regards, |
Author: | kb3ien [ Sat Sep 10, 2011 5:40 am ] |
Post subject: | Re: Rate import file with big file size |
The backhanded way to do this: mysql> update cc_config SET config_value = (32*1024*1024) WHERE config_key = 'my_max_file_size_import'; Replace 32 with the size in megabytes you want to allow. Don't set it in excess of your PHP limits, or you'll confuse (yourself) later on. I'm not the last word on PHP, but post_max_size = 24M in /etc/php5/apache2/php.ini looks like a potential problem to my aim of allowing a 32MB upload. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |