Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RTE 3.0 B1 runtime error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedRTE 3.0 B1 runtime error

 Post Reply Post Reply
Author
GerS View Drop Down
Newbie
Newbie
Avatar

Joined: 22 January 2005
Location: Netherlands
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote GerS Quote  Post ReplyReply Direct Link To This Post Topic: RTE 3.0 B1 runtime error
    Posted: 22 January 2005 at 4:39pm

I installed the RTE V3.0  Beta 1 version in my site, that is up and running already.
Then modified an existing page that was allright before. The page has a form with a texarea,
 so I put the few lines of code in the form, as states in the install docs.txt.
 
When running on localhost, the page is getting loaded and displaying my form
 and also the RTE icons above the textarea.

At the same time, an error message is displayed:
run time error: access denied , line 60
Then, Microsoft Visual Studio Debugger points to:

file: RTE_javascript.asp
function intiframe()
source error line: 

editor.attachEvent('onkeypress', editorEvents);

I can put some text in the the texarea, emoticons as well.
next:
submitting my form.

results in:
run time error: access denied, line 74


The debugger point again to the last of these three lines:
 
      //get textrea value from RTE and run any original onSubmit events
       textArea.form.onsubmit = function(){
        textArea.value = editor.body.innerHTML;


and for the last time:
run time error, access denied, line 91:


 //unload event so we don't loose the data
 window.onunload = function(){
  textArea.value = editor.body.innerHTML;

(needless to say that my typings in the textarea are not saved in the database; the rest of the form
got saved well !!)

I use IIS V5.1, IE v6.0, XP-PRO
Any suggestions?????

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 8:26am
It seems like some sort of permissions problem with your browser.

A few things you could try:-

Try changing the permissions to a lwer setting in your browser

If running on a loacl host try disabling anti-virus software as some Internet Security software, like Norton, can prevent JavaScript from running correctly.
Back to Top
woodlander View Drop Down
Newbie
Newbie


Joined: 24 January 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote woodlander Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2005 at 3:59am
I had the same problem and you could say it's some sort of browser problem. I installed the RTE 3.0 Beta 1 on my webbserver and connected it to a access database. On two of  my three computers it worked perfectly but on my home computer I got almost the same error as you, if not the same. I don't have the VS Debugger so I just got a JavaScript error from the browser. Still the end result was the same as GeRs, the text from the textarea didn't got posted in the form, therefore not beeing saved to the database. The rest of the form did.
 
Anyway, I checked what browser version I had on my computers. The computers working well had the same IE version, 6.00.2900.2180, but the home computer did not, version 6.00.2800...something. It turned out that my home computer was not up to date. It lacked a number of security updates and most important of all in this matter, XP Service Pack 2. I installed it and now it works (The IE version is now the same on all three computers). I did a quick check in the securuty settings in IE and there are some new options in the custom settings. Binary & script Behaviours, maybe that has something to do with it.
 
Conclusion is that everybody who visits my page has to have XP SP2, which I guess most has. Still not everybody has it, and that's a problem.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2005 at 5:09am
Thanks woodlander your a legend.

I've been pulling my hair out for days trying to get to the bottom of this problem. see the following topic with 3 pages of trying to workout what's wrong:-

http://forums.webwiz.net/forum_posts.asp?TID=13406&PN=1&TPN=4&FID=17

At fist I thought it was Norton or ZoneAlarm, as they both course problems with scripts running, but after many tests I was just coming to the conclusion that it's something to do with a particular version of IE.

It looks like IE6.0.28 suffers from this bug, but IE6.0.29 doesn't.

Some people with SP2 also have this problem, so it looks like going to windows update and getting IE6.0.29 solves the problem as it also happens with IE6.0.28 on Win98.


Edited by -boRg- - 26 January 2005 at 5:15am
Back to Top
woodlander View Drop Down
Newbie
Newbie


Joined: 24 January 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote woodlander Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2005 at 5:29am

No problem, glad to help. Smile

I forgot to tell you that the RTE editor didn't show up at all first on on of my computers (with the correct version of IE) but it was Zone Alarm. Tongue 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.