Jump to content

JavaRa htmlarea Problem


datacreek

Recommended Posts

Posted

I ran JavaRa on my systems. XP SP3 and since running have not been able to use the rtf editor htmlarea on several sites I admin.

I have spent considerable time trying to figure out what the problem could be. Installed reinstalled several browsers. Scoured the net for solution. Tried every conceivable setting in "Internet Options"... I really don't want to go back and install every version of Java.

I'm running out of ideas.

Thanks

  • Administrator
Posted

What sort of web software is using an rtf editor? Do you have links available?

Posted

What sort of web software is using an rtf editor? Do you have links available?

htmlarea is a javascript RTE that has been around forever, at least ten years (http://www.htmlarea.com/). It works with IE's MSHTML Editing Platform, and Mozilla's Midas.

I can't really provide URLs as these are in admin areas of client's shopping carts. About six sites.

Basically htmlarea is a RTE for forms. I can run it locally but not online via a website in any browser.

Could the below have affected it? I've done this on both my workstations and am pretty upset as it looks like I might have to completely remove java from my system and start over from earlier versions. I'm not even sure which version include or where these JavaScript refrences came from. Any help would be really appreciated.

From JavaRa logfile:

Found and removed: JavaScript

Found and removed: JavaScript Author

Found and removed: JavaScript1.1

Found and removed: JavaScript1.1 Author

Found and removed: JavaScript1.2

Found and removed: JavaScript1.2 Author

  • Administrator
Posted

Give this editor a try and let me know if it works: http://ckeditor.com/demo

Posted

It does and I'm familiar with other editors but I don't want to reintegrate another editor in six or more versions of osCommerce just because I can no longer access. I should be able to fix what JavaRa broke.

Thanks

Also, I just noticed I can no longer view the DHTML/javascript nav menu on one of the sites. That's just great.

Posted

I changed every every instance of <script LANGUAGE="JavaScript1.2" to <script LANGUAGE="JavaScript" and everything works. Wouldn't that mean that a registry entry or some definition on my machines that declared JavaScript1.2 was removed?

  • Administrator
Posted

Interesting that CKEditor works just fine (it's a great editor too) but the htmlarea does not.

Unfortunately I had no involvement with JavaRa's development so I'm not certain what or why you cannot access your htmlarea editors. I can attempt to get the developers here to check this thread, though.

Posted

Well I would imagine that CKEditor does not declare the script javascript1.2

Understand, I changed the declaration from javascript1.2 to javascript on the actual page the editor wasn't displaying. I also did this to the DHTML menu that wasn't displaying. After that they displayed fine. What this means is now any javascript declared as javascript1.2 will not display on my computer.

I'll bet the developer of JavaRa will understand what has happened given these facts and I would really appreciate it if you could arrange to have him look at this.

Thanks again for your response.

Posted

It looks to me as if JavaRa has trashed the Windows Registry by removing the CLSID information for JavaScript.

It's been said before, but I'll say it again, that Java and JavaScript are completely UNconnected products that have NOTHING in common, except the unfortunate same first four letters in their names.

datacreek, can you open a Command Prompt and check what the result of the following is:

REG query HKCR\JavaScript1.1\CLSID
You should get something like this:
HKEY_CLASSES_ROOT\JavaScript1.1\CLSID

    <NO NAME>   REG_SZ  {f414c260-6ac0-11cf-b6d1-00aa00bbbb58}
If, however, you get the following:
Error:  The system was unable to find the specified registry key or value
then you need to import a .reg file to fix the registry. On Windows XP, the following should work to restore those six removed keys:
Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript]

@="JScript Language"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript\CLSID]

@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript\OLEScript]


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript Author]

@="JScript Language Authoring"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript Author\CLSID]

@="{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript Author\OLEScript]


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1]

@="JScript Language"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1\CLSID]

@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1\OLEScript]


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1 Author]

@="JScript Language Authoring"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1 Author\CLSID]

@="{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.1 Author\OLEScript]


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2]

@="JScript Language"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\CLSID]

@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\OLEScript]


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2 Author]

@="JScript Language Authoring"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2 Author\CLSID]

@="{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2 Author\OLEScript]




NB: there are 2 blank lines at the end of the code above.Make sure that they are included when cutting 'n' pasting.

And, for the benefit of everyone else reading this topic:

WARNING: This registry file is given in order to fix a specified problem. Do not use it without being advised and first confirming that the relevant keys are missing in the registry. Overwriting existing registry entries could make matters worse, not better.

If in doubt, seek further advice first.

.

Posted

Yeah, I know that Javascript and Java are unrelated but I also knew that JavaRa had done something to interfere with running Javascript. I knew my reasoning to go back and install previous version of Java was flawed and didn't have high hopes but...

This is exactly what I thought might have happened but I didn't know where to look or how to replace.

This took care of it... Thanks James!

Looks like the author of JavaRa would take care of this, like yesterday.

Thanks again.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...