[Tickets #10497] Re: Invalid UTF-8 sequence in argument ... /usr/share/php/Horde/Prefs/Scope.php

bugs at horde.org bugs at horde.org
Mon Sep 12 11:32:58 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10497
------------------------------------------------------------------------------
  Ticket             | 10497
  Updated By         | szimszon at oregpreshaz.eu
  Summary            | Invalid UTF-8 sequence in argument ...
                     | /usr/share/php/Horde/Prefs/Scope.php
  Queue              | IMP
  Version            | 5.0.11
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


szimszon at oregpreshaz.eu (2011-09-12 11:32) wrote:

I see some text coming from openssl binary... It is running in  
hu_HU.UTF-8 locale. Could it be that running openssl in different  
locale like hu_HU.UTF-8 and not en_US... cause problems with it.

There is some text from openssl binary in db with wrong encoding  
too... (clean install, clean mysql db, no update no data)

Can't sign mail. can't see the imported ssl key no hint that I  
imported it. Can't encrypt mail... :(

> Hm... There are a lot of "PHP ERROR: json_encode(): Invalid UTF-8  
> sequence in argument" in the log :(
> but I think now that the ssl sign and encrypt are not because the  
> json_encode() broken :(
>
>> OKAY, clean install, without a preexistent db but with mysql:
>>
>>           um0ABj6y6koQOdjQK/W/7HW/lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkySh
>>           NOsF/5oirpt9P/FlUQqmMGqz9IgcgA38corog14= -----END
>> CERTIFICATE-----') [pid 20396 on line 801 of
>> "/var/www/horde/pear/php/Horde/Db/Adapter/Base.php"]
>> 2011-09-12T12:01:56+02:00 WARN: HORDE [imp] PHP ERROR: json_encode():
>> Invalid UTF-8 sequence in argument [pid 20396 on line 289 of
>> "/var/www/horde/pear/php/H
>> orde/Prefs/Scope.php"]
>> 2011-09-12T12:01:56+02:00 DEBUG: HORDE 1. Horde_Prefs->store()
>> 2. Horde_Core_Prefs_Cache_Session->store()
>> /var/www/horde/pear/php/Horde/Prefs.php:396
>> 3. Horde_Session->set()
>> /var/www/horde/pear/php/Horde/Core/Prefs/Cache/Session.php:34
>> 4. serialize() /var/www/horde/pear/php/Horde/Session.php:334
>> 5. Horde_Prefs_Scope->serialize()
>> 6. json_encode() /var/www/horde/pear/php/Horde/Prefs/Scope.php:289
>> 7. Horde::errorHandler()
>>
>> Something is definitely wrong with it...
>






More information about the bugs mailing list