## Text editors

### HTML Editor not displayed after 1.52 upgrade

HTML Editor not displayed after 1.52 upgrade

Hi,

I just installed the latest stable Moodle 1.52 Everything is working fine except that the HTML editor is not displaying properly (i.e. no toolbar or buttons). I've tested it in Internet Explorer, Firefox, and Opera - all are the same. Is this a known issue? Can it be fixed easily or do I have to revert back to my older backup to get it working again?

Thanks,

Enda Lee

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

Dear Enda Lee
One thing to try Zbigniew Fiedorowicz's suggestion here:
http://moodle.org/mod/forum/discuss.php?d=21995
Tim

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

Timothy,

Thanks for the link - I tried the suggested solutions but still no editor... I have not edited any scripts other than config.php which I've changed quite a bit.

When I open the lib/editor/htmlarea.php script directly, the following warning is displayed:
<br /><b>Warning</b>:ob_start(): output handler 'ob_gzhandler' cannot be used twice in <b>/system/lib/editor/htmlarea.php</b> on line <b>8</b><br />// htmlArea v3.0 - Copyright (c) 2002, 2003 interactivetools.com, inc.This does not occur when I do the same withhttp://moodle.org/lib/editor/htmlarea.phpDoes anyone know what could be causing this?Thanks,Enda

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

An incomplete installation?

I have not seen that one before.

Tim

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade
Open htmlarea.php and comment out or remove lines:

if ( function_exists('ob_gzhandler') ) {
ob_start("ob_gzhandler");
}

After that clean your browser cache. Could you also provide more information about this:

1. Does it happen all around in your installation ( forums, resources etc ) or just in one module?
2. PHP version
3. Server platform (*nix or Windows)

- Janne -

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

I tried that when I discovered the warning and the editor displayed again. However I'm confused as to why this problem just appeared now.

I tried installing Moodle from scrach, rather than just upgrading and the result was the same.

The problem occurs in all modules which use the editor.

My server platform is Redhat Enterprise Linux AS4 with PHP 4.39. I also have Turck MMCache installed.

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

I too have similar problem. I even updated htmlarea.php from cvs, but no success.

Any solution

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

When I replaced all the files in \editor folder from my localhost testing server (Moodle 1.5.2 + (2005060222)), the html editor is visible and seems to be working well. I do not know what could be problem in Moodle 1.5.2 + (2005060224) version. For others benefit I'm attaching my editor zip file.

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

I too am still having this problem. I've upgraded to most recent build and even tried the editor.zip from venkatesan, and still no pretty tool bar like the one I am seeing on this site. (I've tried the site with Firefox and Opera to no avail).

My web hosting place just upgraded their PHP to 4.4.1 recently and I'm not sure if that has anything to do with it.

Thanks in advance,
Chris

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

I am having the same HTML editor problem. Dont know were the tool bar has disappeared to. I have checked the configuration bit and all is set properly.Does anyone know any html code I can use to inset images, video or sound files???

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

If the htmleditor is the one called htmlarea then according to their website it is now discontinued. The downloads on sourceforge have also disappeared. Time to find another html editor plugin perhaps?

I have used htmlarea in a few things and it has never been very reliable.

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade
Well, this actually is quite heavily modified htmlarea

Average of ratings: -
Re: HTML Editor not displayed after 1.52 upgrade

I've the same problem. After installing Moodle 1.52 upgrade we cannot use WYSIWIG HTML editor in Opera and Firefox - only plain text is available and HTML code is displayed instead of rich formatted text. The only chance to use advantages of full HTML editor with buttons in upper area is using M\$ Internet Explorer (or using external WYSIWIG HTML editor and copying HTML code via clipboard into Moodle editor window).

I think that HTML editor make wrong detection of Opera or Firefox viewers but I cannot find which part of PHP code is responsible for this recognition.

Average of ratings: -
ตอบ: Re: HTML Editor not displayed after 1.52 upgrade

I've the same problem too. but after i edit my account and i select editor richtext

Average of ratings: -