CKEditor not showing in hosted server

Posted on 2011-05-12
Last Modified: 2012-05-11
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!.

Question by:dejaanbu
    LVL 14

    Author Comment

    I have also tried with DLL implementation of CKEditor. No soln though..
    LVL 3

    Expert Comment

    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.

    LVL 14

    Author Comment

    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?

    LVL 14

    Author Comment

    added the following also:

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

    no soln yet.. anyone?
    LVL 3

    Expert Comment

    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.
    LVL 14

    Accepted Solution

    @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 ...
    LVL 14

    Author Closing Comment

    Chosen another editor and it works well..

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now