Lukasz Pakula
2009-Oct-25 14:47 UTC
[asterisk-users] Asterisk-stat! - help needed (once again due to mailserver problem)
Dear all, I'm trying to install Asterisk-stat (ASTERISK CDR ANALYSER) following: http://www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI however it fails to run properly - lots of lines like: **Notice**: Undefined variable: s in */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *26* **Notice**: Undefined variable: t in */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *27* See: http://i34.tinypic.com/16jja6s.jpg http://i34.tinypic.com/30u63qx.jpg My system: Asterisk 1.6.2.0-beta3, Apache 2.2.9, PHP: 5.2.6, MySQL Ver 14.12 Distrib 5.0.51a. Thanks for the advice! Cheers, Pepesz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091025/5e26bf17/attachment.htm
Matt Riddell
2009-Nov-06 06:15 UTC
[asterisk-users] Asterisk-stat! - help needed (once again due to mailserver problem)
On 26/10/09 3:47 AM, Lukasz Pakula wrote:> Dear all, > > I'm trying to install Asterisk-stat (ASTERISK CDR ANALYSER) following: > http://www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI > however it fails to run properly - lots of lines like: > > *Notice*: Undefined variable: s in > */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *26* > *Notice*: Undefined variable: t in > */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *27*That's not an error - it's a notice - it means you have error_reporting set to E_ALL in php.ini. Depending on which version of Linux you use the file could be in a few places. If you are using Debian it would be in: /etc/php5/apache2/php.ini You'll need to restart Apache after changing the setting. If you're brave you could surround the lines creating the problem with: if (isset($s)) { // Do something with $s } (replacing the commented line // with the line in question) -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)