[syslog-ng]php-syslog-ng Error

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Mon, 14 Jun 2004 10:03:34 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C451E6.1715D050
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello Ben,
this is the wrong maillinglist.
You=B4ll get help here.
http://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
<http://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support>=20
=20
Solution:
It is very easy you must edit your db_fns.php
Look for this line and change the values -> =
mysql_pconnect("<servername>",
"<username>", "<password>");
=20
HTH
Benjamin

-----Original Message-----
From: Ben Whittaker [mailto:ben_whittaker@yahoo.com]
Sent: Samstag, 12. Juni 2004 21:42
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]php-syslog-ng Error



I am getting a error when trying to view the syslog data with
php-syslog-ng-2.5.1
=20

Parse error: parse error in /srv/www/htdocs/includes/db_fns.php on line =
5
=20
Fatal error: Call to undefined function: db_connect_syslog() in
/srv/www/htdocs/index.php on line 9



  _____ =20

Do you Yahoo!?
Friends. Fun. Try the  <http://messenger.yahoo.com/> all-new Yahoo!
Messenger


------_=_NextPart_001_01C451E6.1715D050
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff size=3D2>Hello=20
Ben,</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff size=3D2>this=20
is the wrong maillinglist.</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff size=3D2>You=B4ll=20
get help here.</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff size=3D2><A=20
href=3D"http://lists.sourceforge.net/lists/listinfo/php-syslog-ng-suppor=
t">http://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support</A>=
</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Solution:</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>It&nbsp;is very easy you&nbsp;must edit your=20
db_fns.php</FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial size=3D2><FONT =
face=3DTahoma=20
color=3D#0000ff>Look for this line and change the values -&gt;=20
</FONT></FONT></SPAN><SPAN class=3D710395607-14062004><FONT =
face=3DArial=20
size=3D2><FONT color=3D#0000ff><FONT=20
face=3DTahoma>mysql_pconnect("&lt;servername&gt;", "&lt;username&gt;",=20
"&lt;password&gt;");</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial size=3D2><FONT =

color=3D#0000ff><FONT =
face=3DTahoma></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial size=3D2><FONT =

color=3D#0000ff><FONT =
face=3DTahoma>HTH</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D710395607-14062004><FONT face=3DArial size=3D2><FONT =

color=3D#0000ff><FONT face=3DTahoma>Benjamin</FONT></DIV>
<DIV><BR></DIV></FONT></FONT></SPAN>
<DIV><FONT face=3DTahoma size=3D2>-----Original =
Message-----<BR><B>From:</B> Ben=20
Whittaker [mailto:ben_whittaker@yahoo.com]<BR><B>Sent:</B> Samstag, 12. =
Juni=20
2004 21:42<BR><B>To:</B> syslog-ng@lists.balabit.hu<BR><B>Subject:</B>=20
[syslog-ng]php-syslog-ng Error<BR><BR></FONT></DIV>
<BLOCKQUOTE>
  <DIV>I am getting a error when trying to view the syslog data with=20
  php-syslog-ng-2.5.1</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>Parse error: parse error in =
/srv/www/htdocs/includes/db_fns.php on=20
  line 5</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Fatal error: Call to undefined function: db_connect_syslog() in=20
  /srv/www/htdocs/index.php on line 9</DIV>
  <P>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR>Friends. Fun. <A =
href=3D"http://messenger.yahoo.com/">Try the=20
  all-new Yahoo! Messenger</A></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C451E6.1715D050--