Link to home
Start Free TrialLog in
Avatar of Deja Anbu
Deja AnbuFlag for Oman

asked on

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!.

Avatar of Deja Anbu
Deja Anbu
Flag of Oman image

ASKER

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.

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

to be clear,

/www  (ROOT Folder)
-->MyWebSite
---------------->ckeditor

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?



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.
ASKER CERTIFIED SOLUTION
Avatar of Deja Anbu
Deja Anbu
Flag of Oman image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Chosen another editor and it works well..