asterisk2billing.org http://forum.asterisk2billing.org/ |
|
A2Billing 2.0.16 Connection failed http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11182 |
Page 1 of 1 |
Author: | jansalex [ Wed Feb 04, 2015 10:44 am ] |
Post subject: | A2Billing 2.0.16 Connection failed |
Hi all, I'm trying to install the customer web interface on a separated server. I can acces the data base remotely from the web server with mysql console and I can see the tables. Then I asume that credentials are correct, but when I try to log into the customer web it returns " Connection failed" The data in the /etc/a2billing.conf are correct and has the correct permissions. Any idea ? |
Author: | bucasia [ Wed Feb 04, 2015 1:15 pm ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
I've done this a few times. As long as your DB settings are correct in /etc/a2billing.conf it should work OK. |
Author: | jansalex [ Wed Feb 04, 2015 1:49 pm ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
I have another servers with the same settings but older versions. The credentials in the a2billing.conf are correct. I can't that works with 2.0.16 and same settings. |
Author: | bucasia [ Wed Feb 04, 2015 6:37 pm ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
From the server you are trying to install the customer portal on can you run .... mysql -uUSER -pPASSWORD -hIP A2BILLINGDB with the DB details from the a2billing.conf and then run a select ... select * from cc_sip_buddies; That should prove remote access for the DB is OK. |
Author: | jansalex [ Wed Feb 04, 2015 6:42 pm ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
Yes, it works and I can do a select and retrieve an answer, but the customer panel returns me connection failed. |
Author: | bucasia [ Thu Feb 05, 2015 8:40 am ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
What's the exact error you get? Do you have the MySQL PHP modules on the server? |
Author: | jansalex [ Thu Feb 05, 2015 9:29 am ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
Yes, I have Mysql and PHP modules on the web server. The access logs, give me OK. There aren't any errors in the error_log. [05/Feb/2015:10:25:51 +0100] "GET /customer/ HTTP/1.1" 200 378 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome$ The error I get is Conecction Failed on the top left of the screen. |
Author: | jansalex [ Thu Feb 05, 2015 9:43 am ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
I'm testing in localhost and the customer panel works right. But I need the web on the web Server. I don't undertand why it's not working. |
Author: | jansalex [ Thu Feb 05, 2015 2:20 pm ] |
Post subject: | Re: A2Billing 2.0.16 Connection failed |
SOLVED ! The problem was a missed php library for mysql. Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |