Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 7:53 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Maximum Ratecard size import
PostPosted: Mon Feb 23, 2009 11:44 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Hey - I swear I've seen this mentioned before, but searched everywhere and can't find the answer.

I've got a csv file with over 150,000 records. Needless to say, I'm getting an error because its beyond the max file size.

How and where do I set the maximum file size to import?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 9:37 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

I think its in php.ini maximum file upload size.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 1:42 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
my etc/php.ini shows:

upload_max_filesize = 100M

yet in the import ratecard, shows: The maximum file size is 1000 KB :(


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2009 1:55 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Did you restart Apache after making that change? Another php.ini setting that may affect your results is "post_max_size".


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2009 4:27 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
post_max_size = 100m as well, and yes, I did restart apache. Even rebooted server to make sure.

I attached the php.ini in case someone can see something on there.

after I say to import ratecard, it takes like 30 seconds, before it replies with:
ERROR:

* File size is greater than allowed limit.


Attachments:
File comment: PHP.INI
php.ini.txt [44.03 KiB]
Downloaded 846 times
Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2009 4:47 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
And how about "my_max_file_size_import" in a2billing.conf?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 26, 2009 3:32 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
stavros wrote:
And how about "my_max_file_size_import" in a2billing.conf?


Only an idiot would forget to check that (or have forgotten about that it was in that file).

So just call me an idiot :x and my thanks to Stavros for verifying the obvious.

Thanks


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Tue Jul 14, 2009 8:45 pm 
Offline

Joined: Mon Apr 14, 2008 8:37 pm
Posts: 356
Location: Canada
the last comment by joe did it for me :mrgreen2: ! quick question, what is the maxium we can put in? whatever is set in the php.ini file?


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Tue Jul 14, 2009 11:39 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
cg180759 wrote:
quick question, what is the maxium we can put in? whatever is set in the php.ini file?
Yes whatever is set for 'upload_max_filesize', but be aware A2B will need memory to process the upload too, so php.ini's 'memory_limit' may also need to be increased.


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Wed Jul 15, 2009 1:41 pm 
Offline

Joined: Mon Apr 14, 2008 8:37 pm
Posts: 356
Location: Canada
stavros wrote:
cg180759 wrote:
quick question, what is the maxium we can put in? whatever is set in the php.ini file?
Yes whatever is set for 'upload_max_filesize', but be aware A2B will need memory to process the upload too, so php.ini's 'memory_limit' may also need to be increased.

thanks stavros for the confirmation. i've set it up to 6 M to be on the safe side. i think my php.ini shows 8 M as the max.


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Tue May 31, 2011 3:37 am 
Offline

Joined: Thu May 06, 2010 1:38 pm
Posts: 8
Hello now in 2011, same thing happens to me. All above parameters are correct for me (all set to 8Mb).
The file I'm uploading is 832kb anyway.
The error is the same when executing CC_ratecard_import_analyse.php

ERROR:
File size is greater than allowed limit.


a2billing 1.9.3
Debian (Etch)

Checked: both php.ini parameters and a2b parameter on the web interface.
restarted apache2...

Any clues? not sure where to look for debugging here...


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Fri Oct 21, 2011 4:12 pm 
Offline

Joined: Fri Oct 21, 2011 4:06 pm
Posts: 1
Hi,

This formula has worked for me:

A2B
my_max_file_size_import=4096000

php.ini
memory_limit = 256M
upload_max_filesize = 20M

Restart Apache Server.

Regards.


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Thu Feb 23, 2012 3:53 pm 
Offline

Joined: Thu May 06, 2010 1:38 pm
Posts: 8
I can get the same error on 1.9.3

all parameters set, memory limit, file upload, post size, boht in php.ini and a2b config.
my file is 115k !!!!! what is going on?????


Top
 Profile  
 
 Post subject: Re: Maximum Ratecard size import
PostPosted: Fri Jun 08, 2012 5:55 am 
Offline

Joined: Fri Jun 08, 2012 4:00 am
Posts: 1
trixo wrote:
I can get the same error on 1.9.3

all parameters set, memory limit, file upload, post size, boht in php.ini and a2b config.
my file is 115k !!!!! what is going on?????



any update?


_________________________
cell therapy
http://www.howmuchdoesitcosttobuildahouse.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 14 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