[horde] horde Digest, Vol 3141, Issue 1

San sancmk at gmail.com
Fri Nov 4 11:04:41 UTC 2011


Dear List,

 Bellow (message 7) I tried to put the character with accent (á, é, í, ó,
ú, â, ê, ô, ã, õ, ) and a cedilla character ( ç ), that at Horde 4 I have
problem with encoding when I try to read at Webmail, but when I open the
same message using a e-mail client, like the thunderbird I can read the
message without the encode problem.


Regard's


Message: 7
Date: Fri, 4 Nov 2011 02:17:38 -0200
From: San <sancmk at gmail.com>
To: horde at lists.horde.org
Subject: [horde] Need help with encoding
Message-ID:
       <CACLGxOEPabw87JUDDLL=o5EVDx_
tQ=+TUTMxZRdge1p5WUfVpA at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

My received and sent e-mail in HTML does not recognize the accent in
Portuguese character, like ?,?,? and so on, since I instaled Horde 4 with
CenOS 5.6 and PHP 5.3. I changed the encoding (UTF-8 and ISO-8859-1) in the
browser, Apache, PHP and in the OS, but nothing does it's work.

Here is the example of message received and sent in HTML by Horde:
-----------------------------------------------------
teste de acentua????o html
-----------------------------------------------------

Installation:

pear list -c horde
 ...
 horde                    4.0.8
 imp                       5.0.10
 ...

php-5.3.8-1.w5


------------------------------



2011/11/4 <horde-request at lists.horde.org>

> Send horde mailing list submissions to
>        horde at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.horde.org/mailman/listinfo/horde
> or, via email, send a message with subject or body 'help' to
>        horde-request at lists.horde.org
>
> You can reach the person managing the list at
>        horde-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of horde digest..."
>
>
> Today's Topics:
>
>   1. Re: Gollem perms error message (Jan Schneider)
>   2. Re: Update broke geoip (Jan Schneider)
>   3. Error:  No connection to server (Simon Brereton)
>   4. Performance problems with Horde 4 (Montagutelli Xavier)
>   5. Re: Identity and Signature emty after upgrade to Horde 4
>      (Montagutelli Xavier)
>   6. Sessions consuming CPU (Simon Wilson)
>   7. Need help with encoding (San)
>   8. Side Horde Menu Bar (ANANT S ATHAVALE)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 03 Nov 2011 16:55:01 +0100
> From: Jan Schneider <jan at horde.org>
> To: Simon Wilson <simon at simonandkate.net>
> Cc: horde at lists.horde.org
> Subject: Re: [horde] Gollem perms error message
> Message-ID: <20111103165501.Horde.fpusaBPcj3hOsrlVKtTl-zA at neo.wg.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
>
>
> Zitat von Simon Wilson <simon at simonandkate.net>:
>
> > ----- Message from Jan Schneider <jan at horde.org> ---------
> >    ? ?Date: Thu, 03 Nov 2011 14:20:43 +0100
> >    ? ?From: Jan Schneider <jan at horde.org>
> >    Subject: Re: [horde] Gollem perms error message
> >    ? ? ?To: horde at lists.horde.org
> >> Zitat von Simon Wilson <simon at simonandkate.net>:
> >>> I have installed Gollem, and have a group controlling access to it
> >>> called HordeFileMgrAccess. I have 3 of us in the group.
> >>>
> >>>   I constantly get these in the log:
> >>>
> >>>   2011-11-03T21:56:01+10:00 ERR: HORDE [horde] User is not
> >>> authorized for gollem [pid 4951 on line 1304 of
> >>> "/usr/share/pear/Horde/Registry.php"]
> >>>
> >>>   The group has access, and Gollem works fine. Why the error?
> >>  It's from users that do *not* have access.
> >>
> >>  Jan.
> >
> > According to the Sessions list, the only users active are in the group
> > that has access.
>
> Then the user hasn't logged in to Gollem yet.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 03 Nov 2011 16:55:40 +0100
> From: Jan Schneider <jan at horde.org>
> To: Simon Wilson <simon at simonandkate.net>
> Cc: horde at lists.horde.org
> Subject: Re: [horde] Update broke geoip
> Message-ID: <20111103165540.Horde.ITcaZBPcj3hOsrl8wvvgUaA at neo.wg.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
>
>
> Zitat von Simon Wilson <simon at simonandkate.net>:
>
> > ----- Message from Jan Schneider <jan at horde.org> ---------
> >    ? ?Date: Thu, 03 Nov 2011 14:15:48 +0100
> >    ? ?From: Jan Schneider <jan at horde.org>
> >    Subject: Re: [horde] Update broke geoip
> >    ? ? ?To: horde at lists.horde.org
> >> Zitat von Simon Wilson <simon at simonandkate.net>:
> >>> Just in case anyone else gets this...
> >>>
> >>>   I ran an update this morning (pear upgrade -a -B -c horde).
> >>>
> >>>   One of the things it upgraded was geoip.
> >>>
> >>>   I ran it again later when I saw another of Jan's update notices,
> >>> and I got:
> >>>
> >>>   PHP Warning:? PHP Startup: Unable to load dynamic library
> >>> '/usr/lib64/php/modules/geoip.so' -
> >>> /usr/lib64/php/modules/geoip.so: cannot open shared object file: No
> >>> such file or directory in Unknown on line 0
> >>>
> >>>   It was correct, the file was not there, and was not anywhere on
> >>> my system, so the extension=geoip.so line in my php.ini was causing
> >>> the error. Comment it out and the error went away (obviously!).
> >>>
> >>>   A pecl uninstall geoip / pecl install geoip rebuilt everything,
> >>> and now it works again.
> >>  The -B flag installs PECL extensions without building them.
> >>
> >>  Jan.
> >>
> >
> > That will do it every time... :)
> >
> > Hmm wonder where I got that from. So just do "pear upgrade -a -c horde"?
>
> If you want to build and install all pecl updates too, yes.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 3 Nov 2011 14:39:15 -0400
> From: "Simon Brereton" <simon.brereton at buongiorno.com>
> To: <horde at lists.horde.org>
> Subject: [horde] Error:  No connection to server
> Message-ID: <003001cc9a57$e432d2b0$ac987810$@brereton at buongiorno.com>
> Content-Type: text/plain;       charset="UTF-8"
>
> Hi
>
> I have one installation of Horde that is available on three different URLs
> (https://webmail.example.com, https://webmail.example.net and
> https://webmail.example.org) and although users are encouraged to log in
> on the domain corresponding to their email, because the authentication is
> against the IMAP server, it would work on any URL.
>
> I now have one user who is getting:
>        Error when communicating with the server.[Thu 03 Nov 2011 02:04:28
> PM EST]
> and
>        The server was unable to generate the message list.[Thu 03 Nov 2011
> 02:04:29 PM EST]
>
> This happens for one user regardless of the domain they log in on.  It
> doesn't happen for any of the other users..  Unless changed users are
> presented with the Portal page - which doesn't load for this use.  Changing
> the URL to imp/ starts to load IMP and then errors above occur.  Ditto
> changing it to kronolith/
>
> The logs aren't very forth-coming.  Here is one login session for the
> user..
>
> 18:06:51+00:00 NOTICE: HORDE4 [horde] Login success for pj at example.com[38.104.167.6] to horde. [pid 1212 on line 153 of
> "/usr/share/horde4/login.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [imp] Login success for
> pj at example.com (Horde user pj at example.com) [38.104.167.6] to
> {localhost:143 [imap]} [pid 1212 on line 176 of
> "/usr/share/horde4/imp/lib/Auth.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
> index: from [pid 1212 on line 394 of
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
> index: to [pid 1212 on line 394 of "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
> index: from [pid 1212 on line 394 of
> "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
> index: to [pid 1212 on line 394 of "/usr/share/horde4/lib/Block/Metar.php"]
> 2011-11-03T18:06:52+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
> index: params [pid 1212 on line 36 of
> "/usr/share/horde4/lib/Block/Account.php"]
> 2011-11-03T18:06:54+00:00 NOTICE: HORDE4 [imp] Login success for
> pj at example.com (Horde user pj at example.com) [38.104.167.6] to
> {localhost:143 [imap]} [pid 1203 on line 176 of
> "/usr/share/horde4/imp/lib/Auth.php"]
> 2011-11-03T18:08:03+00:00 NOTICE: HORDE4 [horde] User pj at example.com[38.104.167.6] logged out of Horde [pid 1211 on line 115 of
> "/usr/share/horde4/login.php"]
>
> Obviously it looks like the Metar.php is the issue - but all users have
> this block.  And it's working for other users.
>
> Googling the errors, I saw a comment by Jan to check the apache logs -
> those turned up this.
>
>
> [Thu Nov 03 17:35:01 2011] [error] [client 77.101.63.17] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate 24
> bytes) in /usr/share/horde4/kronolith/lib/Kronolith.php on line 698,
> referer: https://webmail.example.net/imp/
> [Thu Nov 03 18:06:53 2011] [error] [client 38.104.167.66] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate 64
> bytes) in /usr/share/php/Horde/Date.php on line 1055, referer:
> https://webmail.example.net/login.php?horde_logout_token=TrLYKvGPlLzBE4nfF2NO4JSVSUZGs4nfF2NO4JSVSUZG6Zo6hB0&logout_reason=4
> [Thu Nov 03 18:07:25 2011] [error] [client 38.104.167.66] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate 75
> bytes) in /usr/share/php/Horde/Date.php on line 1054, referer:
> https://webmail.example.net/imp/
> [Thu Nov 03 18:07:27 2011] [error] [client 38.104.167.66] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate 75
> bytes) in /usr/share/php/Horde/Date.php on line 1054, referer:
> https://webmail.example.net/imp/
>
> 77.101.63.17 is the user testing, 38.104.167.66 is me.
>
>
> What more can I do?  The maillog shows no complaints from dovecot.
>
>
> Is there a way to clear the portal from the admin interface for one user?
>
> Thanks.
>
> Simon
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 03 Nov 2011 21:23:55 +0100
> From: Montagutelli Xavier <xavier.montagutelli at unilim.fr>
> To: horde at lists.horde.org
> Subject: [horde] Performance problems with Horde 4
> Message-ID:
>        <20111103212355.Horde.J5jPVvcF1o5Osvhb4RgUx6A at webmail.unilim.fr>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed;
>        DelSp=Yes
>
>
> We face serious performance problems with Horde 4.
>
> Our "old" setup with Horde 3 runs on a Xeon server. On the same
> hardware, H4 is unusable. The new system is under Debian squeeze, with
> as many native packages as possible. I have tried both apache2 prefork
> + mod_php5 vs. apache2 worker + php5 fast CGI. MySQL (unix sockets)
> and memcache are running on the same server. CSS and JS caching is
> enabled.
>
> One or two minutes after launching apache2, we have "MaxClient"
> processes (when using prefork, fixed at 300), the four CPUs stays at
> 100% (mainly user time), the load average increases. H4 sometimes
> becomes unresponsive, with strange error messages ("no handler for
> /imp", CSS not delivered, etc.).
>
> Having decreased the PHP parameter max_execution_time (10 s) helps a
> little bit. MaxRequestsPerChild doesn't change anything. We have tried
> the apc accelerator. Memcache consumes few memory (~120 MB) despite
> using the "-m 1024" switch to increase its upper limit.
>
> It looks like PHP is "eating" all the CPU given to it. Something must
> be wrong in my setup ?? Do someone use H4 with more than 200
> simultaneous users on the same server ? Do you use Debian or another
> distro ?
>
> I know it's a bit vague, but I don't understand how to handle this
> problem. Any help wanted ...
>
> --
> Xavier Montagutelli
> SERVICE COMMUN INFORMATIQUE
> 123  Avenue   ALBERT THOMAS
> LIMOGES CEDEX 87060
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 03 Nov 2011 20:14:24 +0100
> From: Montagutelli Xavier <xavier.montagutelli at unilim.fr>
> To: horde at lists.horde.org
> Subject: Re: [horde] Identity and Signature emty after upgrade to
>        Horde 4
> Message-ID:
>        <20111103201424.Horde.u9fbQ-cF1o5OsugQ6xKhw7A at webmail.unilim.fr>
> Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
>
> Makeri <makeri-kutsonu at t-online.de> a ?crit?:
>
> > Hello !
> >
> > I Upgrade Horde 3 to Horde 4  :
> >
> > I use the same mysql-DB and on Horde Configuration i upgrade the
> DB-Schema.
> >
> > if login to new horde 4, then the Fields in identity and signature
> > are empty (in
> > "Personal Information" of preferences).
> >
> > Must any user save again his identity and signature ?
> >
> > Got i make anything wrong or is it a bug ?
>
> What character set do you use ?
>
> I got the same problem during my last test. It was due to a problem of
> character encoding : our old database was in UTF-8, Horde 3 in
> "iso-8859-1" (latin1). In the new setup, both MySQL and Horde 4 are
> utf8. I had to recode the "identities" preferences to recover them. If
> your problem is not corrected by the fix announced by Jan, and is
> related to character encoding, let me know and I will give you my
> script.
>
> --
> Xavier
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 04 Nov 2011 10:05:19 +1000
> From: Simon Wilson <simon at simonandkate.net>
> To: "horde at lists.horde.org" <horde at lists.horde.org>
> Subject: [horde] Sessions consuming CPU
> Message-ID:
>        <20111104100519.Horde.IY-wTNJO7vlOsyw-fziAntA at mail.simonandkate.net
> >
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
>
> Over the last few weeks I have noticed periods of time where the
> virtual server running Horde climbs to 100% CPU utilisation. This can
> last for hours.
>
> Last time was 6 days ago, but then it did it again at 00:41am this
> morning, so I jumped into some troubleshooting.
>
> Stop httpd and the CPU drops to 0. Start it again, and within a minute
> or two it hits 100% again, and stays there.
>
> So I emptied the logs, stopped httpd, and set to monitoring it.
>
> iPhones / iPads turned off, Imp logged out.
> Started httpd.
> httpd access_log for Horde remains empty, with ZERO incoming requests.
> After about 15 seconds this time - httpd hits 100%. AT THE SAME TIME,
> this message hits the horde log:
>
> 2011-11-04T01:04:11+10:00 ERR: HORDE [imp] Server does not support TLS
> connections. [pid 22050 on line 340 of
> "/var/www/horde4/imp/lib/Imap.php"]
>
> This message hits /var/log/horde up to 25 times per second, during
> which CPU usage remains at 100%.
>
> Still no incoming requests for httpd in httpd/access_log, or errors in
> httpd/error_log.
>
> The exact second that Horde logs that error, CPU hits 100%. Stop
> httpd, restart it, reproduce it. Did this several times over an hour,
> producing the exact same result - still ZERO http requests made of
> horde, 100% CPU at the same point the error gets logged.
>
> So I logged in to Horde, and looked in "Sessions". About 30 sessions
> sitting in there, dating back up to a week old, across iPhone, Ipad,
> Mozilla, IE.
>
> As soon as I deleted the session files from /var/lib/php/session
> (kicked me out of Horde as expected), CPU usage immediately dropped,
> and the IMAP TLS message stopped.
>
> It hasn't done it this morning since, and clearing the old sessions
> has stopped both the errors in the log and brought CPU usage down to
> about 3%.
>
> Is there any way I can stop this reoccurring (other than monitoring
> for 100% CPU load and triggering a session file delete!)
>
> Thanks
> Simon.
>
> --
> Simon Wilson
> M: 0400 12 11 16
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 4 Nov 2011 02:17:38 -0200
> From: San <sancmk at gmail.com>
> To: horde at lists.horde.org
> Subject: [horde] Need help with encoding
> Message-ID:
>        <CACLGxOEPabw87JUDDLL=o5EVDx_tQ=+TUTMxZRdge1p5WUfVpA at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> My received and sent e-mail in HTML does not recognize the accent in
> Portuguese character, like ?,?,? and so on, since I instaled Horde 4 with
> CenOS 5.6 and PHP 5.3. I changed the encoding (UTF-8 and ISO-8859-1) in the
> browser, Apache, PHP and in the OS, but nothing does it's work.
>
> Here is the example of message received and sent in HTML by Horde:
> -----------------------------------------------------
> teste de acentua????o html
> -----------------------------------------------------
>
> Installation:
>
> pear list -c horde
>  ...
>  horde                    4.0.8
>  imp                       5.0.10
>  ...
>
> php-5.3.8-1.w5
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 04 Nov 2011 10:51:48 +0530
> From: ANANT S ATHAVALE <asa at isac.gov.in>
> To: horde at lists.horde.org
> Subject: [horde] Side Horde Menu Bar
> Message-ID: <mailman.2.1320391217.21213.horde at lists.horde.org>
> Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed"
>
> Dear List,
>
> I want to add links for some in-house developed application in the
> left horde Menu. These are not Horde applications.  So, the
> menu/applications added here should not get listed under options etc.
>
> Any pointers please.
>
>
> Regards,
>
> Anant Athavale.
>
>
> ------------------------------------------------------------------------------
> Confidentiality Notice: This e-mail message, including any attachments, is
> for
> the sole use of the intended recipient(s) and may contain confidential and
> privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>
> ------------------------------------------------------------------------------
>
>
>
> ------------------------------
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> End of horde Digest, Vol 3141, Issue 1
> **************************************
>


More information about the horde mailing list