Problem with CKEditor

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/9/2011 7:36:49 PM
Gravatar
Total Posts 11

Problem with CKEditor

I downloaded and installed the latest version today. Everything seem to work, except the template button on CKEditor. When the template selection window is popped, no template is displayed in the screen, and there is a JS error saying:

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Timestamp: Thu, 10 Mar 2011 01:36:14 UTC


Message: 'imagesPath' is null or not an object
Line: 12
Char: 54
Code: 0
URI: http://mojo/ClientScript/ckeditor351/plugins/templates/dialogs/templates.js?t=B0VI4XQ

 

 

any idea?

3/10/2011 12:47:04 PM
Gravatar
Total Posts 18439

Re: Problem with CKEditor

The templates are served via json and it is possible to make a template that breaks the json and causes script errors.

What I would do is copy your custom templates into a text editor to keep a copy of them but remove them one by one and see if removing one of them fixes the template dialog. If you isolate the one that is causing a problem, I would look for things like apostrophes. If it has single quotes try double quotes or if it has double quotes try single quotes. I can't remember what combination causes it but I've seen issues like that break the template dialog.

I don't think it is a really an upgrade issue, probably just coincidence that you noticed it soon after upgrading. Or are you saying you got this error with a new clean installation? 

Hope it helps,

Joe

3/10/2011 1:07:38 PM
Gravatar
Total Posts 11

Re: Problem with CKEditor

thanks for your reply Joe, but this is a clean installation. I have not modified any codes or updated anything at all. I thought may be installation was the problem, so I even downloaded everything again and re-installed but problem is still there. Any thoughts on that?

3/13/2011 12:45:25 PM
Gravatar
Total Posts 18439

Re: Problem with CKEditor

All I can guess is maybe it can't load all the javascript files. I would double check the file system permissions for the /ClientScript folder, maybe remove permissions and then add them again and make sure that the permissions do propagate to all the child files and folders. It only needs read permissions on that folder but it sounds like it might not currently have read permissions on all the files. The user that needs permissions is the user that is the identity on the application pool.

Hope it helps,

Joe

3/14/2011 6:50:25 PM
Gravatar
Total Posts 11

Re: Problem with CKEditor

Thanks Joe

You must sign in to post in the forums. This thread is closed to new posts.