Roundcube Community Forum

 

HTML emails are blank?

Started by bobpullen, September 12, 2019, 12:51:04 PM

Previous topic - Next topic

bobpullen

Hi all,

Looking for a bit of guidance on how to troubleshoot this one as I'm out of ideas.

Fresh install of 1.4-rc1 and almost everything seems to be working OK, however whenever I click an HTML email in the message list, all that is displayed in the body of the message in the preview pane is a blank white frame. If I view the message source, it's all there an intact, and if I elect to display all messages in plain text I can see the raw HTML. I can't see anything of relevance in any of the Apache logs but when I check the developer console in a browser, I can see some CSS errors starting with...

Source map error: request failed with status 404
Resource URL: https://domain.tld/skins/elastic/deps/bootstrap.min.css?s=1550069270
Source Map URL: bootstrap.min.css.map


Not sure if that's a red herring or not though.

Any ideas on where I can start looking with this one? It happens whether I'm using the elastic or larry skin.

TIA.

Edit: Seems that some HTML emails do actually render, minus images though. Looks like some sort of problem displaying image content  ???

bobpullen

So, on closer inspection, it seems that the browser is electing to ignore HTML content entirely:-



Anyone seen this before? If I view source, copy the output to a text file, save and reopen it, then the HTML renders perfectly fine.

bobpullen

Fixed it.

I'd (roughly) followed the installation guide here, where it (incorrectly) suggests enabling a handful of PHP extensions:-

QuoteThen add extension=dom.so to the bottom of the extension block.

Removing this resolved the issue. FWIW, the two .dll extensions shouldn't be enabled either.

syava_m

I've upgraded today from 1.3.9 to 1.4.0 and now have the same issue :( Not all, but more than a half of html email are blank. And I didn't add any extensions, just replaced the files and run the DB update script through the installer. Any ideas?

syava_m

Any ideas? I really can't find any solution for the issue, and can't disable any php modules because of a shared hosting.

JohnDoh

QuoteAnd I didn't add any extensions, just replaced the files and run the DB update script through the installer.

Did you also run the composer updates?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

syava_m

It's a shared hosting - no access to composer. Will try to find out if any updates available and do it manually.