html editor: server files & permissions

html editor: server files & permissions

napisao/la jobe jobe -
Broj odgovora: 8
I have four Moodle installations on a server & in each the html editor doesn't show & the text when editing appears with the html tags.

The html editor is 'allowed' in the config. & the user sections. No probs with the config.php files. I have also installed a new Moodle & the same problem appears so I can only conclude that it is a server problem.

My hosing co. is looking into it but not having much luck.

I was wondering where the different components of the html editor can be found in the server files & what the premissions should be. Maybe the premissions have been automatically changed.

On a different server Moodle is running fine.

Any ideas would be appreciated. Thanks.


U odgovoru na jobe jobe

Re: html editor: server files & permissions

napisao/la Janne Mikkonen -
The editor files can be found at /yourmoodlenstalldir/lib/editor

Although editor is javascript based it main code is in htmlarea.php and it should have same rights that any other php script on your server (which depends what kind of server + php setup you have).

You could also check that your firewall isn't blocking scripts from that server (if you're using firewall).
U odgovoru na Janne Mikkonen

Re: html editor: server files & permissions

napisao/la jobe jobe -
Thanks Janne. I checked out the files & all seems fine.

The problem is cross-browser & computer. It's a linux server & all was running fine last week on all installs - something happened & nobody seems to know what could have changed things.
U odgovoru na jobe jobe

Re: html editor: server files & permissions

napisao/la Janne Mikkonen -
Well this sounds weird? What have been changed on server side since last week? Do you use same theme on every installation (some have problems)? Do you get any javascript error messages what could give any information what's going on?
U odgovoru na Janne Mikkonen

Re: html editor: server files & permissions

napisao/la jobe jobe -
Exactly.
I get the 'HTMLArea is not defined' Javascript error.

Different themes have been tried as well.
U odgovoru na jobe jobe

Re: html editor: server files & permissions

napisao/la Janne Mikkonen -
Does this happen with both browsers, IE and Mozilla? Could it be possible to me to take a look at your site? If it is send me e-mail privately.
U odgovoru na Janne Mikkonen

Re: html editor: server files & permissions

napisao/la jobe jobe -
Yes, it happens with both browsers. 
U odgovoru na jobe jobe

Re: html editor: server files & permissions

napisao/la Steve Jones -

Hi Jobe,

Have you checked your config.php file to see whether there are any extra lines of 'whitespace' added to the end of your script?

If there are, just delete them and see if this fixes your problem.

Apologies if you've already tried this without success...

Jonesy1

U odgovoru na Steve Jones

Re: html editor: server files & permissions

napisao/la jobe jobe -
I have tried that thanks.

The problem has been resolved now. Apparently the admins installed 'a security patch that secures the Apache request with /lib'.

Thanks again all.