Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4935 closed Bug (invalid)

editor not showing if web server is running on port other than the defaut port 80

Reported by: Andrey Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0.2
Keywords: Pending Cc: lamnt.8x@…

Description

CKEditor vesion 3.0.2 Firefox 3.5.6

BUG: Editor won't show up if the web server is running on port other that the default port(80). For example,

http://192.168.1.101/ckeditor/_samples/api.html - works great http://192.168.1.101:3030/ckeditor/_samples/api.html - won't work

(gives L.Lang.About undefined error in JS errors window)

Workaround: run server on default port.

Probable cause: Path parsing function does not handle port numbers correctly.

Change History (5)

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: Pending added

I've been working for two months with CKEditor on port 8888 and I haven't noticed such problems. Just right now I've changed in IIS with the current trunk of CKEditor to port 8080 and it seems to work fine.

Are you sure that this isn't something on your server? For example an explanation would be some other setting that merges scripts and change the name of ckeditor.js file

comment:2 in reply to:  1 Changed 14 years ago by Andrey

Resolution: invalid
Status: newclosed

Replying to alfonsoml: After two hours of working great, the CKEditor suddenly reverted back to "Lang.About undefined error, for no reason at all. I made no changes to the project.

And that's on the default port.

So the port number was just a coincidence. The reason for it not working lies somewhere else..

I was trying to make it work inside a AJAX tab control instanciating it dynamically after postbacks from an UpdatePanel where the Ajax tab resides.

It was just unstable, giving the above mentioned error, but sometimes it worked. I could not pinpoint the exact circumstances.

I don't have time in my project schedule for this, so I switched to TinyMCE, but I would love to come back to CKEditor. It looks great.

I can't use the default Ajax HTML editor because it take 3 secs and 25% of web server's CPU to instantiate (2.8GHz Quad processor), - and that's use prohibitive for me. Even on their examples site, it is that visibly slow.

Does the CKEditor really needs to mess around with the application path? Just a thought.

I closed the ticket, setting it's status to "Invalid"

Andrey

I've been working for two months with CKEditor on port 8888 and I haven't noticed such problems. Just right now I've changed in IIS with the current trunk of CKEditor to port 8080 and it seems to work fine.

Are you sure that this isn't something on your server? For example an explanation would be some other setting that merges scripts and change the name of ckeditor.js file

comment:3 Changed 14 years ago by Frederico Caldeira Knabben

Checkout #4348... may be related.

comment:4 Changed 14 years ago by Lam Nguyen

Cc: lamnt.8x@… added
Component: GeneralServer : Java
Version: 3.0.23.3.2

I trying to debug ckeditor.js on version 3.3.2, maybe i see somethings :

this.editor=l;this._.listeners=[];this._.functionId=e.addFunction(function(m){this._.panel.hide();l.focus();l.execCommand(m);},this);this.definition={panel:{className:l.skinClass+' cke_contextmenu',attributes:{'aria-label':l.lang.contextmenu.options}}};},_:{onMenu:function(l,m,n,o){var p=this._.menu,q=this.editor

As you see the code above

this.editor = l; // l is instance of CKEDITOR

You can check on console of firebug the problem :

var editor = CKEDITOR.instances['instanceName'];
editor.lang.contextmenu // there is no property contextmenu in lang.

Do you know about this?

comment:5 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Component: Server : JavaGeneral
Version: 3.3.23.0.2
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy