Koozali.org: home of the SME Server

Webmail works sometimes after upgrade of IMP, Horde and php.

Christian Land

Webmail works sometimes after upgrade of IMP, Horde and php.
« on: October 01, 2003, 01:23:12 AM »
I have a problem when I try to log on to my webmail.

I get blank sites, with no error on. If I go back at try again, it works sometimes.  

This is from my message log:

sep 30 21:27:52 trance httpd: PHP Notice:  Undefined index:  allow_resume_all_in_drafts in /home/httpd/html/horde/imp/templates/message/navbar.inc on line 19

Sep 30 21:54:21 trance httpd: PHP Warning:  Unknown(): open_basedir restriction in effect. File(/home/httpd/html/horde/imp/mailbox.php) is not within the allo

Sep 30 21:54:21 trance httpd: PHP Warning:  Unknown(/home/httpd/html/horde/imp/mailbox.php): failed to open stream: Operation not permitted in Unknown on line

Sep 30 21:54:21 trance httpd: PHP Warning:  (null)(): Failed opening '/home/httpd/html/horde/imp/mailbox.php' for inclusion (include_path='.:/usr/share/pear')

It started after I upgrade IMP, Horde and php.
See: http://www.leiinc.com/repository/Linux/Mitel_SME_Server/HowToGuides/sme56_imp-horde-php_upgrade.htm

Christian Land

Re: Webmail works sometimes after upgrade of IMP, Horde and
« Reply #1 on: October 01, 2003, 01:29:37 AM »
I also get this error:

Sep 30 22:24:14 trance httpd: PHP Warning:  Unknown(): open_basedir restriction in effect. File(/home/httpd/html/horde/imp/index.php) is not within the allowed path(s): (/home/e-smith/files/ibays/kus.dk) in Unknown on line 0

Sep 30 22:24:14 trance httpd: PHP Warning:  Unknown(/home/httpd/html/horde/imp/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Sep 30 22:24:14 trance httpd: PHP Warning:  (null)(): Failed opening '/home/httpd/html/horde/imp/index.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0


/Christian Land

Greg Zartman

Re: Webmail works sometimes after upgrade of IMP, Horde and
« Reply #2 on: October 01, 2003, 01:48:02 AM »
> I have a problem when I try to log on to my webmail.
 
You'll need to point a little more information about your setup.
What version of SME are you using?
Did you get any errors when attempting to install the update rpm?
Did you use --force or --nodeps on any of the rpms?

Regards,

Greg Zartman

Bob Todd

Re: Webmail works sometimes after upgrade of IMP, Horde and
« Reply #3 on: October 01, 2003, 03:59:59 AM »
the undefined index error I get constantly but it doesnt stop anything working, well it may interfere with resuming messages you havent actually completed and sent but as no-ones reported any problems I reckon you can ignore that one.

Ergin


Christian Land

Re: Webmail works sometimes after upgrade of IMP, Horde and
« Reply #5 on: October 01, 2003, 12:27:43 PM »
I have found out, that there are a bug in php.
http://bugs.php.net/bug.php?id=24282

But I don't know how to fix it.

Guck Puppy

Re: Webmail works sometimes after upgrade of IMP, Horde and
« Reply #6 on: October 28, 2003, 10:11:56 PM »
I have had some improvements (I've been suffering from this on and off) after I did a chmod of the /home/httpd/html/horde folder (and subfolders)

chmod -R ugo+xr /home/httpd/html/horde

Before, only IMP was working (at all!) now, Kronolith, nag, mnemo and the horde summary are all working...

I know that some folders (like the config folders) were set to more restrictive permissions (no read or execute to 'other' and maybe even 'group') but I will live with it.

It's weird that there should be such issues, and weirder that a month or two ago, all other horde modules were working just peachily.

Odd.

G