Hello,
im having trouble when trying to get php syslog ng to wirk, on
http://localhost/index.php i get
device tab
*warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /srv/www/htdocs/index.php on line 34
date tabs
*warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /srv/www/htdocs/index.php on line 52
*warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /srv/www/htdocs/index.php on line 69
now i have looked inside de index.php and these lines refer to:
34 $aku = mysql_query("SELECT DISTINCT host from logs;");
52 while ($row = mysql_fetch_array($aku))
while ($row = mysql_fetch_array($aku))
now i know i can mysql -h localhost -u syslog -p
and thats the user in db_fns.php....
what am i doing wrong??, i havent touched the anything on php....
can anyone help me?
--
Ciao, Javier
linux counter #393724
GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E
-------------------------------------------------------------------------
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
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support