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
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 :
Re: Problem with new versions
Re: Problem with new versions