Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


You are about to change this thread status. Are you sure you want to change its status? Please review this thread information below before you change its status. If you do want to change this thread status, please enter your current password to confirm.

Please review this thread before you change its status:
Thread Topic Problem solved? ... all the weird JavaScript errors/oddities that people have been having
Thread Body Ever since I started using your site, I've had the same problems that many other users have reported (default date is Jan 1, 2000...also many event details are lost when trying to edit.)

I also have been getting a Javascript exception when loading any add/edit page:

Line: 1043
Char: 1
Error: Access is denied.
Code: 0
URL: http://localendar.com/elsie?DAM=EventEditor&event_id=7&public_event=Y

It struck me just now that this is probably related. So I traced the initial Click on Add Event into a debugger. The above error happens when your PopulateForm() function attempts to access properties of "document.styleSheets[1]". Even attempting a quick watch on "document.styleSheets[1].rules" yields "Access is denied". The URL of the offending stylesheet is "http://www.localendar.com/css/niftyCorners.css".

So somehow this stylesheet isn't recognized as being in the same security domain as the page/script that is trying to access it. Notice the url I've been using is "localendar.com". The script is trying to access "www.localendar.com". To the browser, this is two different domains, and access will be denied. It would be allowed if it were the other way around (child domains are allowed to access parents'.)

If you haven't reproduced it yet, you are probably using "www". I'll bet if you omit that and type just "localendar.com" you'll see the problem right away.

There may be something you can do on your servers to configure them to see the two as the same domain....another solution is to redirect people to "www" if you detect that they tried to go to "localendar.com".

Sorry for analyzing/intruding. I'm an engineer myself; I can't help it. biggrin

-John B.
Posts 3
Pending Posts 0
Forum Known Problems
Current Thread Status Normal
Thread Status
Your current password

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us