Hi

I'm running drupal 4.4.1 and have installed htmlarea. When attempting to edit a blog entry I get an error on Line: 19 Char: 2 Error: 'combos' is null or not an object. Unfortunately I don't have any idea even what file it is talking about. I initially got a similiar error, but realized that it had to do with internationalization and that I had forgotten to copy the lang folder into misc/htmlarea. To avoid problems such as this I copied the complete contents HTMLArea-CVS into the directory. Maybe something is out of place.

Hope this helps as it's a really cool idea.

Cheers,
Marc

CommentFileSizeAuthor
#4 css-plugin_script_error.jpg28.99 KBgunner

Comments

moshe weitzman’s picture

Category: bug » support

sorry - canot reproduce

mik’s picture

Category: support » bug
Priority: Normal » Critical

i also get same error on two drupal sites with three browsers MSIE 6 FIREFOX .9 OPERA 7.53
I TRIED 4.4.0 AND CVS VERSION NONE OF THEM WORK FOR ME!
here is a link you may login with drupal id

http://lubavich.it/node/add/story

Anonymous’s picture

any updates on this bug. I am also getting the same bug.

gunner’s picture

StatusFileSize
new28.99 KB

same thing happens in CVS version. It's in htmlarea/plugins/css/css.js.

Anonymous’s picture

I get this two. I have tried updating my Java RTE and all.

As far as I can see it is a Java error that can't cope with the declaration of the combo boxes being null. I looked at in a debugger (but don't know java and couldn't fix), but the line of code seems to be a declaration of the combo boxes. I'd attach a screen shot but my computer died. If I ever get it working again I'll add it.

gordon’s picture

Hello,

I have investigated this. the CSS plug-in does not work with drupal. This is becase you need to pass parameters to it. something like this

HTMLArea.loadPlugin("CSS", array(...));

ATM we are unable to pass the second parameter to the loadPlugin method so you are unable to set up the array of css settings so they can be inserted into your node.

I have been playing with a couple of ideas but I have not found a method that I really like. It might just end up being a text field to enter the parameter into.

BTW HTMLArea is not a Java program.