cannot get it to work below is the debug error i get, trie msie 6.0 firefox 0.9 and opera 7.53 of course JS is enabled and source shows calls to htmlarea, folder location of installation was double checked as suggested in a few posts here.
[
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/story
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: site_mission.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/admin/system
site_mission.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/page
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/story
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/story
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/story
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
Event thread: onload
Error:
name: TypeError
message: Statement on line 26: Expression evaluated to null or undefined and is not convertible to Object: body.config
Backtrace:
Line 26 of inline#3 script in http://lubavich.it/node/add/story
body.config.sizeIncludesToolbar = false;
In unknown script
initEditor();
At unknown location
{event handler trampoline}
]
Comments
Comment #1
TDobes commentedAre you certain you placed htmlarea under the misc directory as per the instructions? You should be able to navigate to http://yoursite/misc/htmlarea/htmlarea.js
Also note that HTMLArea does not function with Opera, as far as I know.
Comment #2
thorpexmachine commentedIf you are running php 5, it might be the problem.
If it's the case, the htmlarea footer is actually not well created and because that's where the initEditor javascript function is added, the browser throw an error.
The reason is that array_merge is more strict in php 5 and merge only arrays and not array+string.
my quick patch in the htmlarea.module is the following.
it is based on the 4.4.0 freshly downloaded on November 12th.
PS: I used < in my post, otherwise it was consider souspicous 'cause of the script tag:(
Comment #3
gordon commentedI have included this fix in cvs and 4.5.0. The strange thing is that in the issue, there is alot of references to js problems but no mention of php errors. Also from my testing this would work, as php5 would not output the footer.
Comment #4
(not verified) commented