Roundcube Community Forum

 

HTML2TEXT error with Windows servers [FIX INSIDE]

Started by 8125577, April 21, 2008, 08:37:25 AM

Previous topic - Next topic

8125577

Switching from html to text in the HTML editor will try to get html2text.php from the bin folder. This will result in a 404 error. On a Windows server with ASP.NET installed you can not access the bin folder.

Solution: edit editor.js (program/js)

old:
var url = rcmail.env.bin_path+'html2text.php';

new:
var url = 'program/lib/html2text.php';