[Tickets #6628] Re: PHP Fatal error: Cannot use string offset as an array in ./lib/Horde/Crypt/smime.php on line 830

bugs at horde.org bugs at horde.org
Mon Apr 21 12:10:50 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6628
-----------------------------------------------------------------------
 Ticket             | 6628
 Updated By         | horde at iiegn.de
 Summary            | PHP Fatal error:  Cannot use string offset as an
array in
                    | ./lib/Horde/Crypt/smime.php on line 830
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
+New Attachment     | horde.zip
-----------------------------------------------------------------------


horde at iiegn.de (2008-04-21 08:10) wrote:

versions and the like are:

Horde Version
Horde: 3.2-RC3

Horde Applications
Dimp: H3 (1.0-RC3)
Horde: 3.2-RC3
Imp: H3 (4.2-RC3)
Ingo: H3 (1.2-cvs))
Kronolith: H3 (2.2-RC2)
Mimp: H3 (1.0-cvs)
Nag: H3 (2.2-cvs)
Turba: H3 (2.2-cvs)

PHP Version
PHP Version: 5.2.0-8+etch10

in particular, smime.php:
* $Horde: framework/Crypt/Crypt/smime.php,v 1.49.2.17 2008/01/02 11:30:26
jan Exp $


the exact error message is simply this (when trying to *view* a message in
IMP):
Apr 21 13:44:27 ### apache2: PHP Fatal error:  Cannot use string offset as
an array in /###/horde.org/lib/Horde/Crypt/smime.php on line 827


however, it seems that the error only occurs with one of my certificates,
i.e. (and that's probably what makes it hard to reproduce) messages signed
with one of my certificates just display fine and messages signed with
another one fail - sorry, hadn't realized this before...

so: i attached the two certificates (der format) and two message sources
(names should be rather obvious) where one displays fine and the other
fails with the mentioned error message.






More information about the bugs mailing list