Roundcube Community Forum

Release Support => Pending Issues => Topic started by: shatteredgears on October 10, 2024, 07:03:52 PM

Title: HTML Message body not displaying
Post by: shatteredgears on October 10, 2024, 07:03:52 PM
I have an Alma9 server with roundcubemail installed from epel repository, v1.5.9-1



No errors in the logs. Kinda scratching my head on this one.
Title: Re: HTML Message body not displaying
Post by: shatteredgears on October 10, 2024, 07:15:40 PM
Ah, forgot to note:
Title: Re: HTML Message body not displaying
Post by: alec on October 11, 2024, 02:18:35 AM
Possibly this issue: https://github.com/roundcube/roundcubemail/issues/9644
Title: Re: HTML Message body not displaying
Post by: shatteredgears on October 11, 2024, 11:31:30 AM
Does not appear to be so, the source of the messages do not have any SVG elements in them

If I generate HTML messages with linked or embedded images, no problems. Both Thunderbird and GMail generated.

Gmail's HTML is not full doc, just HTML elements.
Thunderbird's HTML is pretty barebones, it's got the full doc structure, but no style references or doctype DTD references.
Title: Re: HTML Message body not displaying
Post by: shatteredgears on October 11, 2024, 11:46:48 AM
Tried installing 1.6.9-1 from the remi repositories
No change.

Some dependency?
Title: Re: HTML Message body not displaying
Post by: alec on October 12, 2024, 02:20:09 AM
SOunds like https://github.com/roundcube/roundcubemail/issues/9586, but it was supposed to be fixed in 1.6.9.
Title: Re: HTML Message body not displaying
Post by: shatteredgears on October 12, 2024, 05:40:31 PM
Sort of? But in this case, nothing at all displays. The body is completely empty.
Title: Re: HTML Message body not displaying
Post by: shatteredgears on October 12, 2024, 06:37:35 PM
So, saw this in the PHP logs:

[12-Oct-2024 15:14:19 America/Phoenix] PHP Warning:  Undefined property: DOMElement::$tagName in /usr/share/roundcubemail/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 661

Went digging around trying to see if the dom module was broken. Found that it was being loaded in both the php.ini and in /etc/php.d/20-dom.ini
Removed the line from php.ini, and all is well.

🙄 🤦🏼