Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Nov 15, 2019 10:04 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Login error
PostPosted: Mon Dec 18, 2006 6:08 am 
Offline

Joined: Mon Dec 18, 2006 6:03 am
Posts: 10
Hi can anyone help me , have asterisk tribox 2.0 and every thing is working fine except the abilling. i get the logon screen and after i enter the default password I get this:
:?
Warning: main(/etc/asterisk/rates.inc): failed to open stream: No such file or directory in /var/www/html/a2billing/lib/defines.php on line 3

Warning: main(): Failed opening '/etc/asterisk/rates.inc' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/a2billing/lib/defines.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 34

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 37

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 37

Warning: mysql_pconnect(): Access denied for user 'a2billinguser'@'localhost' (using password: YES) in /var/www/html/a2billing/lib/DB-modules/phplib_mysql.php on line 75
Database error: pconnect(localhost, a2billinguser, $Password) failed.
MySQL Error: ()

Warning: mysql_pconnect(): Access denied for user 'a2billinguser'@'localhost' (using password: YES) in /var/www/html/a2billing/lib/DB-modules/phplib_mysql.php on line 75
Database error: pconnect(localhost, a2billinguser, $Password) failed.
MySQL Error: ()

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 84

Wow .. a whole lot of lines if it is uncorectable please showme how to install again without having to redo the whole box,

Thanks
Rafael


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 5:51 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I am also having this problem......anyone know what I should do?

Thanks,

Chris


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 5:59 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Can you access your database? are you using mysql? did you modified a2billing.conf file??


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 6:07 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I did modify the a2billing.conf and as far as I can tell, access to mysql is ok.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 6:54 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
and your a2billing.conf is in etc/asterisk/...??

[database]
hostname=localhost
port=5432
user=a2billinguser
password=a2billing
dbname=mya2billing
;dbtype=postgres
dbtype=mysql

also you still have these settings - user=a2billinguser


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 7:19 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Did you guys go through the guide by SureTeq?

http://www.sureteq.com/asterisk/a2b.htm

Follow those instructions worked perfect for me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 9:23 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
svetur: Yes all of that info is correct in my a2billing.conf

krzykat: I tried those instructions even though this is for a fresh install on trixbox v 2.0. Also, I had this problem before on the previous version of trixbox.

Just to clarify from the original poster's info, below is what I get when trying to log into a2billing using u:root and p:myroot

Warning: main(/etc/asterisk/rates.inc): failed to open stream: No such file or directory in /var/www/html/a2billing/lib/defines.php on line 3

Warning: main(): Failed opening '/etc/asterisk/rates.inc' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/a2billing/lib/defines.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 34

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 37

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 37
Database error: Invalid SQL: SELECT userid, perms, confaddcust, groupid FROM ui_authen WHERE login = 'root' AND password = 'myroot'
MySQL Error: 1146 (Table 'mya2billing.ui_authen' doesn't exist)

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/a2billing/lib/defines.php:3) in /var/www/html/a2billing/lib/module.access.php on line 84


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 9:47 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
Ok...fixed the problem! I'm not sure what it was or what happened when i ran a script found here:

http://www.trixbox.org/modules/newbb/vi ... mpost35139

Thanks for all of you help guys. As I learn more hopefully I can contribute as much as you!!!

-Chris


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 9:55 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Hi again, i'm lost
i checked defines.php line 3 that line should be uncommented:

line 2 include (dirname(__FILE__)."/Class.A2Billing.php");
line 3 //require_once('DB.php'); // PEAR
line 4 require_once('adodb/adodb.inc.php'); // AdoDB
line 5 include (dirname(__FILE__)."/Class.Table.php");

it shouldn't even be loaded, also etc/asterisk/rates.inc what kind of file is that??? i coudn''t find it on my linux.

Do you have 1.2.3 version??

Looks strange another important thing - do you have vps, dedicated server with root access or some kind of hosting package?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 9:57 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Ok, looks like you just needed to upgrade a2billing to 1.2.3 latest version. :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 10:07 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I have a dedicated machine on my network. I'm not sure why that script worked as I performed a clean install using the latest trixbox and then installing a2billing using the .gz from the a2billing site.....but at least it worked!! Thanks guys


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 10:27 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Hey - the latest version of TrixBox doesn't come with the latest version of A2B. And hasn't for quite a while. It seems like more than half the people in the forum now are using TrixBox ... so if you are, make sure you do the upgrade (or on a new install ... just delete the existing A2B databases and install it new as described by SureTeq)


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


All times are UTC


Who is online

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