Thanks Matt,
<br>
<br>Now it works:) - I just switch off notices. When the notices where on,
the program didn't work. Beside the obvious lines with notices, whatever
I entered in the form it always displayed Coming Soon page instead of
the calls data.
<br>
<br>Thanks again,
<br><br>pepesz<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 7:15 AM, Matt Riddell <span dir="ltr"><<a href="mailto:lists@venturevoip.com">lists@venturevoip.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 26/10/09 3:47 AM, Lukasz Pakula wrote:<br>
> Dear all,<br>
><br>
> I'm trying to install Asterisk-stat (ASTERISK CDR ANALYSER) following:<br>
> <a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI" target="_blank">http://www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI</a><br>
> however it fails to run properly - lots of lines like:<br>
><br>
> *Notice*: Undefined variable: s in<br>
> */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *26*<br>
> *Notice*: Undefined variable: t in<br>
> */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *27*<br>
<br>
</div>That's not an error - it's a notice - it means you have error_reporting<br>
set to E_ALL in php.ini.<br>
<br>
Depending on which version of Linux you use the file could be in a few<br>
places.<br>
<br>
If you are using Debian it would be in:<br>
<br>
/etc/php5/apache2/php.ini<br>
<br>
You'll need to restart Apache after changing the setting.<br>
<br>
If you're brave you could surround the lines creating the problem with:<br>
<br>
if (isset($s)) {<br>
// Do something with $s<br>
}<br>
<br>
(replacing the commented line // with the line in question)<br>
<div><div></div><div class="h5"><br>
--<br>
Cheers,<br>
<br>
Matt Riddell<br>
Director<br>
_______________________________________________<br>
<br>
<a href="http://www.venturevoip.com/news.php" target="_blank">http://www.venturevoip.com/news.php</a> (Daily Asterisk News)<br>
<a href="http://www.venturevoip.com/st.php" target="_blank">http://www.venturevoip.com/st.php</a> (SmoothTorque Predictive Dialer)<br>
<a href="http://www.venturevoip.com/c3.php" target="_blank">http://www.venturevoip.com/c3.php</a> (ConduIT3 PABX Systems)<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>