Syntax Error /common/lib/Class.A2Billing.php line 313
Page 1 of 1

Author:  cg180759 [ Wed Dec 02, 2015 7:30 pm ]
Post subject:  Syntax Error /common/lib/Class.A2Billing.php line 313

Hi All!

I'm seeing this error in my /httpd/ error logs:

PHP Warning: syntax error, unexpected '!' in /etc/a2billing.conf on line 12\n in /usr/src/a2billing/common/lib/Class.A2Billing.php on line 313

I'm unable to connect to the GUI of A2Billing. This is what I've done so far:
- Have mysql mysqli and pdo_mysql installed
- Can confirm that my MySQL username and password for my A2Billing database can connect to MySQL with no errors
- My /usr/src/a2billing folder is chowned by asterisk:asterisk
- My /etc/a2billing.conf DB credentials are able to login to MySQL
- My MYSQL user for the A2Billing database credentials match with credentials in /etc/a2billing.conf and can connect directly to MySQL with no issues...
- I've also chowned /var/lib/php/session to asterisk:asterisk

What am I doing wrong??? I think I've tried EVERYTHING... What am I missing? Any and all help would be appreciated!

Author:  cg180759 [ Wed Dec 02, 2015 9:27 pm ]
Post subject:  Re: Syntax Error /common/lib/Class.A2Billing.php line 313

Figured the problem out. It was an issue with my DB password... It had the "!" symbol in it. Once I removed it, then was able to connect correctly. Yay me :mrgreen2:

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group