Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 4:40 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Rate cards: Cannot upload csv file
PostPosted: Fri Dec 19, 2014 3:05 pm 
Offline

Joined: Wed May 11, 2011 9:06 pm
Posts: 44
All;
I'm currently running the latest version of A2B and I am experiencing a problem where I can't upload a new rate card in csv format. I tried uploading a sample file called dummy-rates.csv which is a one line file that says 1,USA,0.05 but I'm getting the error:

ERROR:
file type is not allowed: application/csv
.html, .php, .txt, .inc (etc) (text/plain)
.csv (text/x-comma-separated-values)
.csv (text/comma-separated-values)
.csv (text/csv)
.csv (text/x-csv)
.xls (application/vnd.ms-excel)

Has anyone else experienced this? Any insight at all would be greatly appreciated.
Thanks;
FSD


Top
 Profile  
 
 Post subject: Re: Rate cards: Cannot upload csv file
PostPosted: Fri Dec 19, 2014 9:42 pm 
Offline

Joined: Wed May 11, 2011 9:06 pm
Posts: 44
Ok, I see what the problem was. What I did was add "application/csv" as one of the allowed file types on line 910 in the file admin/lib/Misc.php and I was good to go.
Regards;
FSD


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 33 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group