?
Solved

CKEditor not showing in hosted server

Posted on 2011-05-12
7
Medium Priority
?
858 Views
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!.

0
Comment
Question by:dejaanbu
  • 5
  • 2
7 Comments
 
LVL 14

Author Comment

by:dejaanbu
ID: 35745792
I have also tried with DLL implementation of CKEditor. No soln though..
0
 
LVL 3

Expert Comment

by:redeinterna
ID: 35746285
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.

0
 
LVL 14

Author Comment

by:dejaanbu
ID: 35746562
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?



0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
LVL 14

Author Comment

by:dejaanbu
ID: 35746777
added the following also:

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

no soln yet.. anyone?
0
 
LVL 3

Expert Comment

by:redeinterna
ID: 35748184
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.
0
 
LVL 14

Accepted Solution

by:
dejaanbu earned 0 total points
ID: 35770745
@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 ...
0
 
LVL 14

Author Closing Comment

by:dejaanbu
ID: 35807029
Chosen another editor and it works well..
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

840 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