Author Topic: Class "washtml" not found?  (Read 4371 times)

Offline Josch

  • Newbie
  • *
  • Posts: 4
Class "washtml" not found?
« on: March 04, 2013, 04:27:20 PM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Class "washtml" not found?
« Reply #1 on: March 05, 2013, 01:06:50 AM »
It sounds like your using the GPL (dependent *) version of RoundCube that does include the washtml library.

Offline Josch

  • Newbie
  • *
  • Posts: 4
Re: Class "washtml" not found?
« Reply #2 on: March 08, 2013, 03:23:01 AM »
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"
« Last Edit: March 08, 2013, 04:13:28 AM by Josch »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Class "washtml" not found?
« Reply #3 on: March 08, 2013, 04:06:28 AM »
The file should be <RC root>/program/lib/washtml.php not <RC root>/program/lib/washtmp.php

Offline Josch

  • Newbie
  • *
  • Posts: 4
Re: Class "washtml" not found?
« Reply #4 on: March 08, 2013, 04:11:51 AM »
Ups, sorry - that was a write error - I meant "washtml.php".