Roundcube Community Forum

 

Attached Images and Embedded Images Corrupted RC 0.9.4

Started by toddg, October 07, 2013, 11:37:51 AM

Previous topic - Next topic

toddg

No matter where the email is sent from , RC is not displaying the thumbnail of the image, and when downloading, the image appears to be corrupted. This does not apply only to image files, but nearly any attached file at all.

Using IE10, Firefox, or Chrome. IE and Chrome shows an x for the image, and Firefox does not show an x.

Running W2K3 R2, PHP 5.4, mySQL 5.6, RC 0.9.4.

Any thoughts? Seems this is an old issue that is still hanging around.

Thanks

SKaero

My guess is you have whitespace in one of your config files, make sure your main.inc.php, db.inc.php, and any other plugin config files start with "<?php" with no spaces and just remove the bottom ?> to make sure there is no extra whitespace.

toddg

You are on the right track!  The problem was a plugin named "filters". When I removed it, the problem instantly went away.

So, if you are using RC 0.9.4 and the "filters" plugin" is installed, remove it if you see this issue.

My list of plugins: $rcmail_config['plugins'] = array('emoticons','newmail_notifier','password');

I checked the filters.php file to look for whitespace issues, but did not find anything obvious. I have simply removed it.
Maybe it will be fixed by the author?

Thanks

SKaero

I did a quick look though the plugin (version 2.0) and found whitespace in pl_PL.inc and zh_TW.inc language files, but the problem maybe elsewhere. If you using version 2.0 of the plugin you should probably submit a ticket to the developers so they know about it.

toddg

I did the same thing, and the result was the same - images not showing up. I will contact the author and let him know that the "filters" plugin does not play well with RC 0.9.4.  Thank you!