[syslog-ng] PHP Syslog NG error's

Stuart Boyle stuart.boyle at cybertrust.com
Tue Sep 19 17:17:56 CEST 2006


Im having a couple of issue's with phpsyslog-ng, I cant seen any threads
or posts that help with the problem's im having so I need to post, if im
covering old ground, I apologize.

Im not well versed with MySQL or PHP, so if you could help please
explain in "novice language".

1. When I open the browser and login, I then select "search" from the
menu bar, I get the following error:

USING TABLE:logs

SELECT * FROM search_cache WHERE tablename='logs'Query failed: You have
an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '' at line 1
Im getting the error displayed this way because I have it configured to
echo the result.
In the file search.php I see the following query configured:
$sql = "SELECT * FROM ".CACHETABLENAME." WHERE
tablename='".$useTable."'";
2. When I try to add a user I input the username and password for the
new account and then receive the following message:
No DB Link

Im sure these aren't difficult issues to resolve, but im done beating my
head on a wall. Any help would be appreciated.
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060919/89952f98/attachment.html


More information about the syslog-ng mailing list