[imp] Undefined class name 'log' error
Srinivas Nyayapati
srinivas.rao@umb.edu
Fri, 16 Aug 2002 17:47:47 -0400
This is a multi-part message in MIME format.
---------------------- multipart/alternative attachment
Hello=20
=20
I am trying to install imp on my Debian box. I started by first
configuring php with
% ./configure --with-mysql --with-apxs -with-gettext -with-xml
-with-imap
=20
This was successful. Then I installed Horde-2.1, which was again
successful. I can see the test.php under
http://localhost/horde/test.php
=20
I then installed imp-3.1, and again tested test.php, under
http://localhost/horde/imp/test.php
=20
which was again successful. I could look at my imap server and see how
many mails I had in my inbox. But when I try login.php, I get the
following error
=20
Warning: Failed opening 'Log.php' for inclusion
(include_path=3D'.:/usr/local/lib/php') in /var/www/horde/lib/Horde.php =
on
line 145
Fatal error: Undefined class name 'log' in /var/www/horde/lib/Horde.php
on line 155
=20
I created the Log.php file in /usr/local/lib/php and got rid of the
first error. I can't get rid of the second error. Can anybody help me?
=20
Thank you in advance
=20
Srinivas Rao
=20
---------------------- multipart/alternative attachment
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C2454D.06CF9160">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Hello <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>I am trying to install imp on my <span =
class=3DSpellE>Debian</span>
box. I started by first configuring <span class=3DSpellE>php</span> =
with<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><span =
style=3D'mso-spacerun:yes'> </span>%
./configure –-with-<span class=3DSpellE>mysql</span> =
–-with-<span
class=3DSpellE>apxs</span> –with-<span =
class=3DSpellE>gettext</span> –with-<span
class=3DSpellE>xml</span> –with-<span =
class=3DSpellE>imap</span><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>This was successful. Then I installed =
Horde-2.1,
which was again successful. I can see the <span =
class=3DSpellE>test.php</span>
under<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><a =
href=3D"http://localhost/horde/test.php">http://localhost/horde/test.php<=
/a><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>I then installed imp-3.1, and again tested =
<span
class=3DSpellE>test.php</span>, under<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><a =
href=3D"http://localhost/horde/imp/test.php">http://localhost/horde/imp/t=
est.php</a><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>which</span></font></span><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>
was again successful. I could look at my <span =
class=3DSpellE>imap</span> server
and see how many mails I had in my inbox. But when I <span =
class=3DGramE>try <span
style=3D'mso-spacerun:yes'> </span><span =
class=3DSpellE>login.php</span></span>,
I get the following error<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><b><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:
12.0pt;font-family:"Courier =
New";font-weight:bold'>Warning</span></font></b><font
face=3D"Courier New"><span style=3D'font-family:"Courier New"'>: Failed =
opening '<span
class=3DSpellE>Log.php</span>' for inclusion (<span =
class=3DSpellE>include_path</span>=3D<span
class=3DGramE>'.:</span>/<span class=3DSpellE><span =
class=3DGramE>usr/local/lib/php</span></span>')
in <b><span style=3D'font-weight:bold'>/<span =
class=3DSpellE>var/www/horde/lib/Horde.php</span></span></b>
on line <b><span style=3D'font-weight:bold'>145</span></b><br>
<br>
<b><span style=3D'font-weight:bold'>Fatal error</span></b>: Undefined =
class name
'log' in <b><span style=3D'font-weight:bold'>/<span =
class=3DSpellE>var/www/horde/lib/Horde.php</span></span></b>
on line <b><span =
style=3D'font-weight:bold'>155<o:p></o:p></span></b></span></font></p>
<p class=3DMsoNormal><b><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:
12.0pt;font-family:"Courier =
New";font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New";mso-bidi-font-weight:bold'>I created the <span
class=3DSpellE>Log.php</span> file in /<span =
class=3DSpellE>usr/local/lib/php</span>
and got rid of the first error. I can’t get rid of the second =
error. Can anybody
help me?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier =
New";mso-bidi-font-weight:bold'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New";mso-bidi-font-weight:bold'>Thank you in =
advance<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier =
New";mso-bidi-font-weight:bold'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span =
style=3D'font-size:12.0pt;
font-family:"Courier New";mso-bidi-font-weight:bold'>Srinivas =
Rao<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
=00
---------------------- multipart/alternative attachment--