Hi there,
I installed the new version of roundcube and it tells me the following, when I try to convert from HTML to text:
QuoteFatal error: Class 'html2text' not found in /var/www/roundcube/bin/html2text.php on line 6
The bugreport is VERY useful..."worksforme".... :rolleyes:
http://trac.roundcube.net/ticket/1485138
Can anyone tell me, what to do here? Whats wrong in PHP config? I am using PHP5.
this bug was closed 5 weeks ago ....
probably because it is not a bug, but some kind of misconfigured installation.
1) what kind of server is your installation running on?
2) do you have thest 2 files on your server?
./bin/html2text.php
./program/lib/html2text.php
1) Debian etch, PHP5, Apache 2, what else?
2) yep...
hmm, maybe you have to clear the cache of your browser....
Same problem.
my php5 is installed as php5-cgi -- /usr/bin/php is still php4 for some very good reasons.
is this being invoked with /usr/bin/php ? if so, how can I help it to locate a php5 binary?
Well, I traced the call and realized it can't be my php4 since it's definitely calling html2text.php over the web which is hitting php5 -- but for some reason the autoload just doesn't work.
Rather than pull my hair out trying to figure that out, I just bypassed autoload and required the appropriate file directly.
in bin/html2text.php
at line 6 (Before the line $converter = ...) add this to get it working:
// autoload not working? had to add this line.
require INSTALL_PATH.'program/lib/html2text.php';
Had the same problem here.
Adding this line seems to have fixed it.
Thanks!
Problem is fixed in SVN trunk.