Roundcube Community Forum

 

0.1.1 attachment issue

Started by daniel_rodriguez, July 29, 2008, 08:42:19 AM

Previous topic - Next topic

daniel_rodriguez

I'm using preview pane activated and there's an annoying problem when an attachment is clicked. New window is open and file attachment is shown as a huge list of code. Is there any way to avoid this behavior and just send attached file to the user?

regards

dc2698

Hi I am encountering the exact problem you have!  I am using 0.1 stable.  And it doesn't matter if the preview panel is on or off.  I am thinking about the get.inc file has something wrong with the attachment download procedure.......but couldn't anything useful yet.........hope some experts can help me/us out!

Potassic

I suggest that you look for empty lines that are not enclosed by "" in php files, especially in the main.inc.php & db.inc.php files that are created by your good self. These empty lines will force php to flush http header to client and rendering the header() calls in get.inc not working. Hence, the http content-type can never be set and is always text/html.

rvn2k

Any other idea to fix this? I checked my .php files and they don't have any empty spaces

JohnDoh

It could be a problem with the detection of what type of attachment it is check this http://www.roundcubeforum.net/showpost.php?p=13203&postcount=3
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

dbucher

#5
(sorry wrong thread)