• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 916
  • Last Modified:

CKEditor not showing in hosted server

Hello All,

I have a ASP.Net page which has CKEditor for accepting formatted input. The Ckeditor is wokring fine in local system. after updating to server, the CKEditor does not disply.

in fireFox console, i have noted ckeditor.js is marked as "500 Internal server error" status.
what could be the problem? i am sure the path is correct.

I am displaying CKEditor with the following JS:

 var ts = document.getElementById('<%= txtPlain.ClientID %>');
    var   ck = CKEDITOR.replace(ts);

in window onload event.

anybody please help!.

  • 5
  • 2
1 Solution
dejaanbuAuthor Commented:
I have also tried with DLL implementation of CKEditor. No soln though..
the path to the files is wrong in one of the cke config files, check those for any reference to the file paths and change accordingly.

dejaanbuAuthor Commented:
for testing, we have hosted to a subfolder and the subfolder has the ckeditor folder in its path.

to be clear,

/www  (ROOT Folder)

and the page that is using ckeditor is inside MyWebsite folder.
and i am referring the script as

<script type="text/javascript" src="ckeditor/ckeditor.js"></script>

FYI, in hosted server, if i access ckeditor/_samples/index.html  ->that also gives the same internal server error..

any ideas?

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

dejaanbuAuthor Commented:
added the following also:

clientScriptManager.RegisterClientScriptBlock(Me.[GetType](), "js1", "<script language='javascript' src='" & ResolveClientUrl("~/ckeditor/ckeditor.js") & "'></script>")

no soln yet.. anyone?
could be server config, ask hosting to check perms and .htaccess params.
mod rewrite could be causing the problem.
install fresh copy of cke in another subfolder, check file perms in ftp client.
could be that also.
dejaanbuAuthor Commented:
@redeinterna, thanks for the help..

fresh copy also didnt work.

So it is the pbm with server configuration. i have no permission to modify/check the server configuration for my client.. so i chose another editor "TinyMCE".. and it works well ...
dejaanbuAuthor Commented:
Chosen another editor and it works well..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now