Koozali.org: home of the SME Server

Updating webmail

John6

Updating webmail
« on: April 28, 2004, 07:06:45 PM »
Hi all!
Can you tell me how to upgrade webmail? If I log in I get error messages:
Quote
Warning: logmessage(Log.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Horde.php on line 175

Warning: logmessage(): Failed opening 'Log.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Horde.php on line 175

Fatal error: Undefined class name 'log' in /home/httpd/html/horde/lib/Horde.php on line 186

I am running SME server 6.0
Thanks,
John

ergozd

Updating webmail
« Reply #1 on: April 28, 2004, 08:40:23 PM »
to install Log
# pear install Log (assuming you have php 4.2.2 OR later)

Check one of the latest post about howto upgrade php

http://forums.contribs.org/index.php?topic=22135.msg87850#msg87850

Good luck.
Best rgds, Ergin

John6

Updating webmail
« Reply #2 on: April 30, 2004, 02:51:18 PM »
I am running PHP 4.3.4. Is this bad version or what?

ergozd

Updating webmail
« Reply #3 on: April 30, 2004, 03:39:23 PM »
Version 4.3.4 has support for pear. To enable pear you will have to modify PHP.INI

include_path            = ".:/usr/share/pear"

Check your templates also in file
# /etc/e-smith/templates/etc/php.ini/50PathsDirectories

and restart your httpd service

Rgds, Ergin
PS : The latest version of PHP is v4.3.6 if you want to upgrade.

John6

Updating webmail
« Reply #4 on: April 30, 2004, 04:17:25 PM »
Sorry, but no help
Quote
Warning: logmessage(Log.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Horde.php on line 175

Warning: logmessage(): Failed opening 'Log.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Horde.php on line 175

Fatal error: Undefined class name 'log' in /home/httpd/html/horde/lib/Horde.php on line 186


What should I do now?

ergozd

Updating webmail
« Reply #5 on: April 30, 2004, 05:54:49 PM »
If you already have done all these I'm gonna mention below, then you have to be more specific about which versions you've installed on your system.

Let's just make sure you have pear and some of the modules installed

Code: [Select]
[root@XXXXXXXXXX pear]# pear list
Installed packages:
===================
Package                   Version State
Archive_Tar               1.1     stable
Auth_SASL                 1.0.1   stable
Console_Getopt            1.2     stable
DB                        1.6.2   stable
Date                      1.4.2   stable
HTML_Common               1.2.1   stable
HTML_QuickForm            3.2.2   stable
HTML_QuickForm_Controller 1.0.2   stable
HTTP                      1.2.3   stable
Log                       1.8.4   stable
Mail                      1.1.3   stable
Net_SMTP                  1.2.6   stable
Net_Socket                1.0.1   stable
PEAR                      1.3.1   stable
XML_Parser                1.1.0   stable
XML_RPC                   1.1.0   stable


and PHP.INI modified
# vi /etc/php.ini
Code: [Select]
include_path            = ".:/usr/share/pear"
doc_root                =
user_dir                =
extension_dir   =       /usr/lib/php4
enable_dl               = On
file_uploads    = On


Good luck.

John6

Updating webmail
« Reply #6 on: April 30, 2004, 06:38:33 PM »
My pear list:
Code: [Select]
[root@server root]# pear list
Installed packages:
===================
Package        Version  State
Archive_Tar    1.1      stable
Console_Getopt 1.0      stable
DB             1.5.0RC2 stable
HTTP           1.2.1    stable
Mail           1.1.1    stable
Net_SMTP       1.2.3    stable
Net_Socket     1.0.1    stable
PEAR           1.3b3    beta
XML_Parser     1.0.1    stable
XML_RPC        1.0.4    stable

And php.ini:
Code: [Select]
include_path            = ".:/usr/share/pear"
doc_root                =
user_dir                =
extension_dir   =       /usr/lib/php4
enable_dl               = On
file_uploads    = On

Offline dmac

  • ***
  • 143
  • +0/-0
    • http://www.rylar.ca
Updating webmail
« Reply #7 on: April 30, 2004, 10:56:10 PM »
Have you looked at SquirelMail as a replacement for the HORDE webmail?  

I have tried both and find the SquirelMail to be a better product and it has the benefit of using the $USER$/MailDir as the store for messages which makes backups and restores easier.
"In a world without Fences, why do we need Gates and Windows"

ergozd

Updating webmail
« Reply #8 on: May 01, 2004, 08:40:43 AM »
Hi again John6

You don't seem to have Log installed on your system.

Type
# pear install Log

Rgds, Ergin

Anonymous

Updating webmail
« Reply #9 on: May 01, 2004, 10:41:59 AM »
Quote from: "ergozd"


You don't seem to have Log installed on your system.

Type
# pear install Log

Thank you very much! It is working now. But what should I install more? You have more things and newer versions than I have.

ergozd

Updating webmail
« Reply #10 on: May 01, 2004, 11:34:07 AM »
Glad to hear that it works.

# pear list-upgrades
will show which modules are available for upgrade

# pear upgrade-all
will upgrade your installed modules

Rgds, Ergin

John6

Updating webmail
« Reply #11 on: May 01, 2004, 02:33:42 PM »
Thanks again :-)

Bye