Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:30 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Rate import file with big file size
PostPosted: Thu Feb 11, 2010 6:21 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
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,


Top
 Profile  
 
 Post subject: Re: Rate import file with big file size
PostPosted: Thu Feb 11, 2010 6:37 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
You could up your PHP upload limits, or split it into pieces.

Joe


Top
 Profile  
 
 Post subject: Re: Rate import file with big file size
PostPosted: Thu Feb 11, 2010 9:36 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
/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


Top
 Profile  
 
 Post subject: Re: Rate import file with big file size
PostPosted: Thu Feb 11, 2010 11:47 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
you might be looking to change
Code:
Max File Upload Size

under Global list webui group.

Rgds
Eamonn


Top
 Profile  
 
 Post subject: Re: Rate import file with big file size
PostPosted: Fri Feb 12, 2010 1:16 am 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Eamonn, Thanks for teaching me and Joe something new today.

Regards,


Top
 Profile  
 
 Post subject: Re: Rate import file with big file size
PostPosted: Sat Sep 10, 2011 5:40 am 
Offline

Joined: Wed Sep 07, 2011 9:05 pm
Posts: 9
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group