Hi everybody,
I used to have an old version (several months) of CKEditor on my site, and it worked perfectly. Though, I thought it was a good idea to upgrade my version, but I have a BIG problem : with the new versions (3.5 and nightly), my textareas just vanish !
Here is my code (HTML4, PHP5) :
Here is my config.js :
Of course, config.js, css01.css and ckeditor.js are where they are supposed to be (and I have not made any change)...
I'm quite desperate, why doesn't it work ?
I used to have an old version (several months) of CKEditor on my site, and it worked perfectly. Though, I thought it was a good idea to upgrade my version, but I have a BIG problem : with the new versions (3.5 and nightly), my textareas just vanish !
Here is my code (HTML4, PHP5) :
<head> ...... <script type="text/javascript" src="../ckeditor/ckeditor.js"></script> </head> <body> ........ <textarea name="descr">'; if ($_SESSION['descr']!='') { echo $_SESSION['descr']; } else { echo $_SESSION['descrini']; } echo '</textarea> <script type="text/javascript"> CKEDITOR.replace( \'descr\', { customConfig : \'ckeperso/config.js\', height: 100, resize_enabled:true, resize_maxWidth:\'%\', contentsCss : \'ckeperso/css01.css\' });
Here is my config.js :
CKEDITOR.editorConfig = function( config ) { config.language = 'fr'; config.toolbar = 'outils'; config.toolbar_outils = [ ['Font','FontSize','Format'], ['Bold','Italic','Underline','Strike'], ['TextColor','BGColor'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['Subscript','Superscript'], ['Link','Unlink'], ['Table','HorizontalRule','Smiley','SpecialChar'], ['Cut','Copy','Paste','PasteText','PasteFromWord'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ]; config.removePlugins = 'elementspath' ; config.enterMode = CKEDITOR.ENTER_P; config.shiftEnterMode = CKEDITOR.ENTER_BR; config.fontSize_sizes='Minuscule/xx-small;Très petit/x-small;Petit/small;Moyen/medium;Gros/large;Très gros/x-large;Énorme/xx-large'; config.format_tags='p;h1;h2;h3;h4'; config.toolbarCanCollapse = false; };
Of course, config.js, css01.css and ckeditor.js are where they are supposed to be (and I have not made any change)...
I'm quite desperate, why doesn't it work ?
Re: Problem with new versions
Re: Problem with new versions
Re: Problem with new versions
If I had any errors or warnings, I would have told it ! I have not the faintest idea of what I should have checked or tried since my code (which is very simple) used to work with a previous version. I have copied/pasted my program... What else could I say ???
And I have read the documentation...
Re: Problem with new versions
Re: Problem with new versions
Re: Problem with new versions
OK, here it is :
- Old 3.? version
- 3.4.3 version
- 3.5 version
Re: Problem with new versions
The 3.4.3 has a corrupted ckeditor.js and shows an error (3 in fact) while loading the page. Have you used filezilla to upload the files?
Re: Problem with new versions
Yes, I have used Filezilla, as usual. Each of the versions has a different directory.

I think that you have found the answer, or something nearby : I'm using Opera 11, and you are right, CKEditor works fine with Firefox, Chrome, IE and Safari, but there is definitely a problem with Opera. I'm used to test my programs with main browsers (FF, IE, Opera, Safari, Chrome), but only when they are finished or almost finished...
I've tried this page with Opera 11 on my both computers (one with XP, the other one with Vista), and the problem with CKEditor is the same.
Has anyone experienced problem with Opera, yet ?
It is strange that an older version of CKEditor works properly with Opera...
Re: Problem with new versions
I repeat what I've said in other problems like this one: All the reports that I've seen so far that end up being due to a corrupted file have been due to the usage of Filezilla, so I would advice to look carefully from now on at the uploaded files as long as you keep using it because it just doesn't make sense that a ftp client isn't able to perform its task correctly.
In Opera it states that there's a javascript error in http://www.lgv.on-web.fr/ckeditornouv/c ... ?t=B0C84VH and so it seems that it doesn't keep processing the javascript.
Trying to load that file you'll see that the server returns a 404, so other browsers seems to ignore the missing file but Opera 11 throws and error and stop there.
Re: Problem with new versions
I think that you are right, but I don't understand what happens.

The directory named ckperso is not in CKEditor directory, because I wanted to be sure not to erase it when updating CKEditor. This directory ckperso is in valinfotest directory (just like my programs).
Here it is in Filezilla :
I have downloaded the files in order to check them, but they don't seem to be corrupted.
config.js :
css01.css :
And the test program :
I guess that my problem is as huge as an elephant, but I'm unable to see it.
Re: Problem with new versions
Re: Problem with new versions
You are perfectly right !
What I don't understand is why an older version would behave like I expected, and why new versions don't.
Anyway, my problem is solved, I thank you for your help (and patience...)