Summary | Error adding attachment - Internet Explorer 7 - script error in compose.php and incomplete source sent to client |
Queue | IMP |
Queue Version | 4.3.9 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | wagler (at) mediaserve (dot) de |
Created | 02/18/2011 (5248 days ago) |
Due | |
Updated | 03/18/2011 (5220 days ago) |
Assigned | 02/21/2011 (5245 days ago) |
Resolved | 03/18/2011 (5220 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
server, but the "fileinfo" extension, we just activated/enabled. And
it was possible to upload ".doc" files on some other computers with
Microsoft Windows.
For now, I think the problem is solved.
Thanx a lot :-)
State ⇒ Not A Bug
seen this before. I can only assume that some is awfully wrong with
output buffering in your PHP version. Though that still won't
explain the question marks.
Try disabling any output buffering or processing settings in both
Horde's and PHP's configuration. Try disable bytecode caches, if you
use any. Try pruning the Horde cache storage, if you configured
caching in Horde. If everything fails, build a new PHP.
I think we could solve the problem:
After activating the "fileinfo" extension the corruption within the
website's source code is no longer present. The Javascript errors are
also gone.
Both in the Microsoft Internet Explorer an Mozilla Firefox we are now
able to successfully attach ".doc" files to a new email. I hope this
is a permanent "fix" an might help others.
Bye the way: We are not using any accelerator extensions and have no
output compression handler enabled for this website. Disabling the
"compress_pages" directive within the horde configuration has not
solved the problem.
this before. I can only assume that some is awfully wrong with output
buffering in your PHP version. Though that still won't explain the
question marks.
Try disabling any output buffering or processing settings in both
Horde's and PHP's configuration. Try disable bytecode caches, if you
use any. Try pruning the Horde cache storage, if you configured
caching in Horde. If everything fails, build a new PHP.
What do you mean by "message source"? The email could not be sent due
to this problem. Therefore we do not have a message from which we
could send you the source.
New Attachment: webmail_source_new_mail.zip
However, this rather sounds like some very broken PHP behavior.
a ".doc" file.
However, this rather sounds like some very broken PHP behavior.
do, and what happens when? What you write is very confusing.
2. The popup windows opens and we enter the recipients email address.
3. Then we select a file from our hard disk. This is a Microsoft Word
document with a ".doc" extension. After clicking the refresh button
(in german: "Aktualisierung") the page is beeing reloaded.
4. At the top of the page there are a huge number of question marks in
one line, which is not normal. Below the message for the successfully
added attachment is displayed (in german: ""Test.doc" als Anhang
hinzugefügt.
"). The Microsoft Internet Explorer is also showing a script error on
the page (in german: "Fehler auf der Seite").
Despite of that the source sent to the client is incomplete, because
it begins with the question marks, followed by a number of HTML
"script" tags and the rest of the source.
It is not possible to send the email by clicking the appropriate button.
There are no errors in the horde log or the PHP error log.
The real problem seems to be the incomplete (or cut) source generated
and sent to the client, because the file was successfully attached.
We are using the latest version of PHP 5.2
Summary ⇒ Error adding attachment - Internet Explorer 7 - script error in compose.php and incomplete source sent to client
State ⇒ Feedback
do, and what happens when? What you write is very confusing.
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Error adding attachment - Inetnet Explorer 7 - script error in compose.php and incomplete source sent to client
Type ⇒ Bug
Priority ⇒ 1. Low
experiencing the following problem when trying to add a Microsoft Word
file (.doc extension) as an attachment to a newly created mail:
The data sent to the client contains 1248 "?" characters in the first
place followed by "<!--a75c305b1c0a6022--><script
type="text/javascript" src="/horde/js/prototype.js"></script>" and the
other, normal content of the page.
The browser is also displaying an error on line 104 within the source,
sent to the client containing the following data:
<input type="hidden" name="identity" value="tag:identity_default />" />
xxxxxx@xxxxxxx.de (Standardidentität)
(Maybe the content "tag:identity_default />" of the value attribute is
invalid, because not escaped properly?)
Because of these errors it is not possible to send the mail.
Using version 8 of the Microsoft Internet Explorer or the latest
version of Mozilla Firefox as a browser the problem is not occurring.