Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
We have CKEditor on a Drupal site public.com with the CKEditor module. This site is edited by multiple users from a company which has their webmail at private.com.
When a user recieves a mail on private.com with a link to a page on public.com, clicks on it and edits the page, their CKEditor window doesn't load.
I recreated the problem with Firebug on and i got the following error when the edit page was loading:
Permission denied for < http://public.com> to get property Window.$ from < https://private.com>.
textarea: window.opener.$('#' + Drupal.ckeditorTeaser.lookup[taid]),
I originally posted this issue on the CKEditor tracker http://dev.ckeditor.com/ticket/5953, but was referred back here
Comments
Comment #1
sydneyshan CreditAttribution: sydneyshan commentedWas this ever resolved, nirbhasa? I'm having the same problem today on a website that has been duplicated from an existing working copy... weird!
Comment #2
nirbhasa CreditAttribution: nirbhasa commentednot yet, but then again the issue is only a couple of days old :)
its interesting that you have it working on one site, and not on its duplicate - perhaps a pasted Firebug error message (if different from the above) could be help
it's worthwhile noting, that for me the window doesnt load only when a link from the private webmail is involved, apart from that it loads fine
Comment #3
sydneyshan CreditAttribution: sydneyshan commentedLuckily I was only starting out on this project when this error occurred - I re-copied my based Drupal 6 installation over the top of the my existing project and the bug went away... No changes to the database were made at all. It must be a permission error or missing/corrupted file issue?
Comment #4
nirbhasa CreditAttribution: nirbhasa commentedJust an update - I replicated this issue today for 2 public sites (rather than one private and one public). Basically I had public site A open in one tab in Firefox, and when I opened public site B and edited a page the editor failed to load, and I got a similar Firebug message
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is bizarre, I also had this happen. I opened a new Firefox tab (I had Google open in another), went to my website, and then when I went to create a story the CKEditor window was gone. The Firefox error console said this:
Error: Permission denied for to get property Window.$ from .
Source File: http://www.vilepickle.com/sites/vilepickle.com/files/js/js_9c7cfe30b88dd...
Line: 34
When I opened a new tab again and went to add a post the problem went away.
Comment #6
Eric B. CreditAttribution: Eric B. commentedI was having the exact same problem with the exact same Firebug error:
Permission denied for to get property Window.$ from .
Restarting Firefox fixed the issue for me.
Comment #7
psaleks CreditAttribution: psaleks commentedFor new versions of Drupal and modules you should enable
$cookie_domain = 'example.com';
in settings.php
Use your name of site instead example.com
Comment #8
nirbhasa CreditAttribution: nirbhasa commentedThanks for the tip! Ill check it out
However, I am using the Domain Access module, and in order to ensure a common signon across all my domains, I need to set the cookie domain to '.example.com' where example.com is my site (note the dot in front)
Comment #9
seehawk CreditAttribution: seehawk commentedI ran into this same problem, and restarting Firefox fixed it. I was on version 3.6.16, and when I restarted, it had updated to 3.6.17, so maybe something about the fact that it was between updates was causing JS issues?
Comment #10
mkesicki CreditAttribution: mkesicki commentedHi,
can you check if this problem still exists in latest version 6.x-1.3 or DEV ?.
Comment #11
mkesicki CreditAttribution: mkesicki commented