Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: vicratlh on June 22, 2007, 05:18:26 PM
-
I have another problem with Horde. It seems that when a user clicks on New Message the Message Composition windows comes up, they type their message, but when they click Send Message they get a blank page and the message is never sent to the recipient and a copy of it is not put in the sent-mail folder.
Anyone have any ideas why this is happening?
If they use a mail client such as Outlook or Thunderbird then mail is sent out just fine, it's just they can't use webmail to compose and send messages.
Any help is appreciated.
VicRatlH
-
Open up two console sessions and in one do a tail -f /var/log/messages and in the other do a tail -f /var/log/httpd/error_log, then login to webmail, compose, then send and see if you are getting any errors. If so, post those. Again, make sure you don't have any custom templates set as were changes in imp which may be now conflicting since you did an update via the updates-testing repo.
John
-
Here is the error I'm getting in /var/log/messages:
Jun 22 14:08:54 sc-email httpd: PHP Warning: Mail_smtp::include_once(Net/SMTP.php) [<a href='function.Mail-smtp-include-once'>function.Mail-smtp-include-once</a>]: failed to open stream: No such file or directory in /usr/share/pear-addons/Mail/smtp.php on line 148
Jun 22 14:08:54 sc-email httpd: PHP Warning: Mail_smtp::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'Net/SMTP.php' for inclusion (include_path='/home/httpd/html/horde/lib:/usr/share/pear-addons:/usr/share/pear') in /usr/share/pear-addons/Mail/smtp.php on line 148
Jun 22 14:08:54 sc-email httpd: PHP Fatal error: Class 'Net_SMTP' not found in /usr/share/pear-addons/Mail/smtp.php on line 150
Any help appreciated.
VicRatlH
-
Here is the error I'm getting in /var/log/messages:
Jun 22 14:08:54 sc-email httpd: PHP Warning: Mail_smtp::include_once(Net/SMTP.php) [<a href='function.Mail-smtp-include-once'>function.Mail-smtp-include-once</a>]: failed to open stream: No such file or directory in /usr/share/pear-addons/Mail/smtp.php on line 148
Jun 22 14:08:54 sc-email httpd: PHP Warning: Mail_smtp::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'Net/SMTP.php' for inclusion (include_path='/home/httpd/html/horde/lib:/usr/share/pear-addons:/usr/share/pear') in /usr/share/pear-addons/Mail/smtp.php on line 148
Jun 22 14:08:54 sc-email httpd: PHP Fatal error: Class 'Net_SMTP' not found in /usr/share/pear-addons/Mail/smtp.php on line 150
Any help appreciated.
VicRatlH
rpm -qa | grep pear - see if you have pear-mail-1.1.4-4.el4.sme. That should be installed with a base install. Here are the pear modules I have from a base install:
pear-file-1.2.0-4.el4.sme
pear-db-1.7.6-4.el4.sme
pear-log-1.8.7-2.el4.sme
pear-mail_mime-1.3.0-4.el4.sme
php-pear-4.3.9-3.22.5
pear-date-1.4.3-4.el4.sme
pear-mail-1.1.4-4.el4.sme
pear-mail is what installs the particular module you seem to be missing.
rpm -q --whatprovides /usr/share/pear-addons/Mail/smtp.php
pear-mail-1.1.4-4.el4.sme
cd /usr/share/pear-addons/Mail
[root@www Mail]# ls -la
total 144
drwxr-xr-x 2 root root 4096 Jun 18 20:52 .
drwxr-xr-x 10 root root 4096 Jun 18 20:52 ..
-rw-r--r-- 1 root root 4980 Sep 8 2004 mail.php
-rw-r--r-- 1 root root 31150 Mar 2 2005 mimeDecode.php
-rw-r--r-- 1 root root 12872 Dec 10 2004 mimePart.php
-rw-r--r-- 1 root root 24994 Mar 28 2005 mime.php
-rw-r--r-- 1 root root 2553 Apr 6 2004 null.php
-rw-r--r-- 1 root root 31956 Sep 8 2004 RFC822.php
-rw-r--r-- 1 root root 5602 Sep 8 2004 sendmail.php
-rw-r--r-- 1 root root 7683 Sep 8 2004 smtp.php
John
-
Here's what versions I have. I noticed that my php-pear is not the same as yours though. What repo can I get the latest version of pear? I hope it doesn't matter that I'm using PHP5 either.
pear-mail-1.1.4-4.el4.sme
pear-db-1.7.6-4.el4.sme
pear-mail_mime-1.3.0-4.el4.sme
pear-file-1.2.0-4.el4.sme
php-pear-1.4.11-1.el4s1.1
pear-log-1.8.7-2.el4.sme
pear-date-1.4.3-4.el4.sme
VicRatlH
-
Here's what versions I have. I noticed that my php-pear is not the same as yours though. What repo can I get the latest version of pear? I hope it doesn't matter that I'm using PHP5 either.
pear-mail-1.1.4-4.el4.sme
pear-db-1.7.6-4.el4.sme
pear-mail_mime-1.3.0-4.el4.sme
pear-file-1.2.0-4.el4.sme
php-pear-1.4.11-1.el4s1.1
pear-log-1.8.7-2.el4.sme
pear-date-1.4.3-4.el4.sme
VicRatlH
Yes, I believe php5 does matter. I haven't tested this on SME7 and won't be, but there are quite a few other people who have it running successfully. Search for php5. There is also a bug report for running php4 and php5 at the same time on SME7. I don't remember the number. That's about all I can do with PHP5.
Sorry,
John
-
What repo can I get the latest version of pear from (or at least php-pear) and then how do I install it?
-
What repo can I get the latest version of pear from (or at least php-pear) and then how do I install it?
I didn't know, but searching this site for php 5 gives you this link:
http://forums.contribs.org/index.php?topic=33434.0 and it says php5 is in the centosplus repo. Doing this: yum --enablerepo centosplus list php-pear
shows this:
php-pear.noarch 1:1.4.11-1.el4s1.1 centosplus
which is the same version you have.
JB
-
Does this post help.
http://forums.contribs.org/index.php?topic=33434.msg158816#msg158816
-
Thanks william_syd, that link solved the problem. I really appreciate it, thanks.
VicRatlH