6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5792] Notice: Uninitialized string offset: 0 in /usr/share/horde3/imp/lib/MIME/Viewer/plain.php on line 132
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__. .. . __ |\ || | || |/ ` | \||__\\__||/\|\__.
Comment
> I have recently run into this problem as well. I traced the problem > to the preg_replace_callback function call in the postProcess > function in highlightquotes.php I found an interesting commit in the > repository here: > http://cvs.horde.org/diff.php?sa=1&r1=1.6.8.17&r2=1.6.8.18&f=framework%2FText_Filter%2FFilter%2Fhighlightquotes.php > > > > My investigation found that it was a PHP resource limit causing > preg_replace to return NULL instead of the processed string > (http://us3.php.net/manual/en/ref.pcre.php#77790). The diff above > sidesteps the problem by checking the result of the function call and > using the unprocessed text if NULL comes back. I think a more > appropriate solution should include some notification that this error > occured to alert the sysadmin and possibly some additional > application logic to attempt an alternative approach if this one > fails. > > > > > >> I have the same problem here with linux/apache2, php5, horde 3.1.4 > >> and imp 4.1.4. > >> The mails having this problem are all complicated (probably not html > >> compliant) html messages, but not too big. > >> Unfortunately, i can't give the messages for testing purpose. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers