Roundcube Community Forum

 

Class "washtml" not found?

Started by Josch, March 04, 2013, 04:27:20 PM

Previous topic - Next topic

Josch

Hi there,

I've got a strange problem for which I haven't found one hit via websearches.

In my roundcube installation (0.84) I've got the problem, that HTML email isnt't shown,
only when "Show HTML" is deactivated in the user preferences it works. Otherwhile when
clicking on a HTML email the "Load" spinnig whell is spinnig endlessly.

But where others got the error that "Class 'DOMDocument' not found" I get this:

roundcube: php fatal error: class 'washtml' not found in /var/www/confixx/html/roundcube/program/steps/mail/func.inc on line 692

As you see it is a confixx with roundcube installation. But the rights of the files
and folders don't change anything on this error. I set files to chmod 666 and
folders to 777 - error still exists.

I changed the group and owner of the roundcube folder and subfolders and
files to root, to www-data (the apache user), to confixx - the error still exists.

What can cause this error? I'm a bit speechless and got stuck in my search.

Can anybody help me out?

Thanks a lot in advance and regards,

Josch

SKaero

It sounds like your using the GPL (dependent *) version of RoundCube that does include the washtml library.

Josch

#2
Hi,

no, I have got the complete package.

What I did is to copy the complete "class washtml" from the file 'program/lib/washtml.php'
to the end of the file 'steps/mail/func.inc' - now the HTML displaying works.

I wonder, why 'program/lib/washtml.php' cannot be accessed by 'steps/mail/func.inc'?
Strange ...

Thanks a lot in advance and regards

Josch

EDIT: Corrected write error "washtmp.php" to "washtml.php"

SKaero

The file should be <RC root>/program/lib/washtml.php not <RC root>/program/lib/washtmp.php

Josch

Ups, sorry - that was a write error - I meant "washtml.php".