Just got my asterisk 1.2 server with freepbx 2.1.2 up and running (on debian) but can’t access the CDR. I get the following errors:
Warning: mysql_real_escape_string(): Access denied for user: ‘asterisk@localhost’ (Using password: NO) in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
Still being a noob, I’m not sure how to get round this - any help is much appreciated.
[quote=“SteveJ”]Just got my asterisk 1.2 server with freepbx 2.1.2 up and running (on debian) but can’t access the CDR. I get the following errors:
Warning: mysql_real_escape_string(): Access denied for user: ‘asterisk@localhost’ (Using password: NO) in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
Still being a noob, I’m not sure how to get round this - any help is much appreciated.
Cheers
Steve[/quote]
Got the same problem over here. Fortunately for me I had a backup of the old 2.1.1 /var/www directory, and all you have to do is to temporarily restore /var/www/admin/cdr to the old version until there is a fix released for this.
[quote] Just got my asterisk 1.2 server with freepbx 2.1.2 up and running (on debian) but can’t access the CDR. I get the following errors:
Warning: mysql_real_escape_string(): Access denied for user: ‘asterisk@localhost’ (Using password: NO) in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/debiansj/htdocs/admin/cdr/cdr.php on line 26
[/quote]
please check if username and password of the AMPDBUSER in
/etc/amportal.conf matches the one in /etc/asterisk/cdr_mysql.conf.
Have fun,
Carsten.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642