getting this error when Ckeditor loads -
uncaught exception: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://****.local/Ckeditor/undefinedstyles/default.js?t=A39E&t=A39E
and then none of the buttons are working. i can type in and it saves in the backend but i cant do anything with the editor.
can anyone please help?
Wed, 05/05/2010 - 08:18
#1
Re: uncaught exception: [CKEDITOR.resourceManager.load] erro
hello Happylearning,
I got exactly the same error here, and can't get rid of.
I have multiple instances of ckeditor in the page, and it is not crossed-domain.
Any solution since ?
any idea ?
thanks a lot for your help !
edit : I use CKEditor v3.3.1
Re: uncaught exception: [CKEDITOR.resourceManager.load] erro
up
really no idea about it ? any clue ?
please help
Re: uncaught exception: [CKEDITOR.resourceManager.load] erro
many views, not as many answers huh ?
Ok, I read maaaany posts from here and some other places, I have eaten a lot of documentation as well, and I did not found the explanation for my bug. Maybe I did not read enough or missed the detail I needed, whatever, as it blocked me I had to find a workaround and what I did could help some others so here's the story :
- I have multiple instances of CKEDITOR in the page.
- these instances and the forms they belong to (there can be several forms with 1..* instances inside) are all loaded via ajax requests (with jQuery) while the page is loading.
- each of these forms is loaded in a specific div container which is hidden (display: none). <-- THIS might be the problem, but I cannot be sure of it (there's always problems with javascript we you try to handle things in non displayed areas...).
The workaround that saves me :
Instead of loading every form via ajax requests at the beginning, I only load one, on user demand (click), and once the container is shown. That way, the exception does not show up anymore and I can load in a container a form full of instances, via ajx request.
would have prefered to understand my first issue, but at least hope it helps.
great job from developpers here, it's huge project, just too bad the forum is quite... quiet
regards,
J
Re: uncaught exception: [CKEDITOR.resourceManager.load] error
Hi!
I had the same issue, and I fixed it by modifying the next line in ckeditor.js :
CKEDITOR.stylesSet.addExternal(f,b[1]?b.slice(1).join(":"):CKEDITOR.getUrl("styles.js"),"");
with this one:
CKEDITOR.stylesSet.addExternal(f,b[1]?b.slice(1).join(":"):CKEDITOR.getUrl("plugins/styles/styles/default.js"),"");