Hi!
I switched to version 6.x-1.3 yesterday, and since then, the CKeditor toolbar has desappeared on all contents, as if all elements have been excluded from CKEditor.

What is really strange is that I updated CKeditor yesterday morning, and the problem only appreared overnight...

You can see on the picture below what it looks like now :-(
thank you very much for help!

I checked everything, disabled the Wysiwyg module, and I really do not know what to do now :-(

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mkesicki’s picture

Hi,
can you check in Firebug (add-on to Firefox) if there are any javascript errors ? You can also check if all files are loaded correctly (firebug -> web tab). Remember to clear all drupal cache after update.

craspouille’s picture

thanks for your answer!
I cleared all caches, but the problem is still here. I have firebug, I see the "script" tab, but I do not know how to know if there are problems, can you help me?

mkesicki’s picture

Please look at firebug Web tab -> All (sub tab) . You should see what files are loaded and if there is a problem you should see 404 error (this file is marked red color). Second thing is Console tab and there are errors listed (if there are any ).
Please write also what modules do you have installed/enabled in your drupal installation.

kbrinner’s picture

FileSize
2.42 KB

I too had this problem when I upgraded from 6.x-1.2 to 6.x-1.3. I can see where the body of the node should be, but the editor is not there, it simply reads:

Body:
[ckeditor would normally be here, but there is nothing here]
Switch to plain text editor
CKEditor: the ID for excluding or including this element is wiki@node/639/edit.edit-body.

I upgraded a bunch of modules (sitemap, logintoboggan, imagefield, google analytics, filefield) and added the sitemap module before I noticed that this happened, but reverting back to 6.x-1.2 solved the problem for the ckeditor.

Don't know if this is relevant, but when I was editing content where the ckeditor was excluded (before reverting to the older version solved the problem), I could still edit the text.

When I look at the firebug Net tab (I believe you meant 'Net' not 'Web'?) -> All (subtab), I see the following (see attached txt file) I don't see any errors.
When I look at the firebug Console tab -> All and Error tabs, I see the following problem that seems like it's probably relevant:
(red x) w is undefined -> ckeditor.js?I (line 87)
Let me know if this is not the information you were looking for and I'll try again.

I have been using the CKeditor on a local/staging/prod setup, so I left the CKeditor 'unfixed' on the staging site, but fixed on my local machine. I hadn't moved the changes to prod as I was testing still. If you want to check out the problem on the staging site, it's a wiki so anyone with an account can log in and change the content - you could see for yourself the problem if you'd like. The staging site is as http://stage.drivetheamericas.com/ - sign up for an account and then try editing any page or wiki page - for example http://stage.drivetheamericas.com/wiki/purchasing-vehicle-your-trip

Modules installed and enabled:
admin_menu
advanced_help
autosave
backup_migrate
cck
ctools
date
diff
features
filefield
google_analytics
htmlpurifier
imageapi
imagecache
imagefield
jquery_ui
jquerymenu
link
linkchecker
logintoboggan
migrate
mollom
nodequeue
nodewords
panels
pathauto
site_map
site_verify
tableofcontents
token
twitter_pull
views
xmlsitemap

craspouille’s picture

FileSize
78.65 KB

Hi!

I checked the console, and found this message "Drupal is not defined
[Stopper sur une erreur] Drupal.ckeditor = (typeof(CKEDITOR) != 'undefined'); (please see pictures enclosed)

the problem happened when I updated the following modules together :
ck editor
author pane
voting api
logintoboggan
imagefield
google analytic
filefield

The following modules are installed on my website :
abuse
administration menu
advanced forum
advanced help
athor pane
better permissions
captcha
chaos tools suite
cKeditor
conditionnal fields
contact forms
content complete
content constrcution kit (cck)
content profile
content templates
custom breadcrumbs
custom permissions
custom search
date
embedded media field
external new tab
filefield
filter permission
fivestar
FAQ
Gmap module
google analytics
hover preview for image cache
image api
image cache
image field
jquery ui
jquery updates
link
localisation client
location
login toboggan
media : videoflotsam
media : vimeo
media :youtube
megamenu
pagetitle
panels
pathauto
remember me
sexy exposed
skinr
special menu items module
taxonomy export
token
views
views group by
voting API
watcher
workflow
xml sitemap

thanks again for your help !

mkesicki’s picture

Hi,
@craspouille can you check in firebug Net tab if all js files are correctly loaded (not 404 error) ?
Try disable modules that you have recently updated (one by one ) and check when CKEditor start works.

craspouille’s picture

FileSize
129.17 KB

Hi!
I see no error in firebug net tab
I tried to disable author pane, voting api, logintoboggan, google analytic

I still have to try with imagefield and filefield, but my site bugs each time I try to disable a module, it takes a lot of time :-(
I switched back to ckeditor 1.2, but it did not solve the pb ...

if you have time to help me, you can create an account on my website (www.aiguillezmoi.com) and then try node/add/aiguilles, you should see the ckeditor below "description du produit"
, but nothing :-(
I am really sorry but it's driving me crazy !
but there are some things really strange : ckeditor is Ok on the maintenance page and on the breadcrumbs page panels, for example (included for breadcrumb visibility, excluded for breadcrumbs title, see picture enclosed)

here is the list of the fields excluded from the global profile of ckeditor, if it can help:

admin/user/settings.edit-user-mail-*
*.edit-pages
*.edit-pathauto-ignore-words
*.edit-recipients
*.edit-reply
*.edit-description
*.edit-synonyms
*.edit-img-assist-textareas
*.edit-img-assist-paths
*.edit-nodewords-description
*.edit-nodewords-description-value
admin/content/nodewords/global*
*.edit-relatedlinks-fieldset-relatedlinks
*.edit-allowed-values-php
*.edit-allowed-values
*.edit-update-notify-emails
*.edit-googleanalytics-*
*.edit-piwik-*
*.edit-feedburner-useragents
*@*.edit-webform-*
webform@*.edit-extra-items
admin/*/logintoboggan
admin/settings/actions/configure/*
*.edit-target
*.edit-wysiwyg-filter-*
ctools/context/ajax/access/configure/page_manager_task_handler-*
admin/content/types/*
contact.edit-message
admin/build/translate/edit/12862.edit-translations-fr
admin/build/translate/edit/12860.edit-translations-fr
admin/build/translate/edit/12876.edit-translations-fr
admin/build/translate/edit/12865.edit-translations-fr
admin/build/contact/settings.edit-contactforms-information
user/1565/contact.edit-message
user/uid/contact.edit-message
user/%uid/contact.edit-message
user/%username/contact.edit-message
*/contact.edit-message
admin/settings/watcher/settings.edit-watcher-notifications-templates-header
admin/build/custom_breadcrumbs/panels/add.edit-titles
admin/build/custom_breadcrumbs/panels/add.edit-paths
admin/build/custom_breadcrumbs/node/add.edit-visibility-php
admin/build/custom_breadcrumbs/node/add.edit-titles
admin/build/custom_breadcrumbs/node/add.edit-paths
admin/build/custom_breadcrumbs/node/edit/*
admin/build/custom_breadcrumbs/node/edit/*

dczepierga’s picture

Status: Active » Closed (works as designed)

Ok i check that on your website and after update you lost CKEditor library. So pls download CKEditor library from site http://ckeditor.com/download and unzip it to your CKEditor module directory - everything is written in README file.
After this everything will be works without problem.

Only check in Firebug it was needed - nothing else.

If u have more question or problems pls reopen this issue.

Greetings

craspouille’s picture

Hi y dczepierga!

I am sorry, you logged in just at the wrong moment.
I have just downloaded and reinstalled ck editor from here, http://ckeditor.com/download, but the problem is still there.
It must be a problem with my theme, because when I switch to Garland, CKeditor is BACK :-(

Do you have any idea how I could repair this problem? My webdesigner do not know what to do.

thanks you very much again !

Marie

craspouille’s picture

Status: Closed (works as designed) » Active
dczepierga’s picture

Could u paste here source of your page.tpl.php file? It's in your theme directory.

Greetings

craspouille’s picture

that is very kind of you to take time for me
is that what you requested?


print $language->language " xml:lang=" print $language->language " dir=" print $language->dir ">

print $head
print $head_title
print $styles

			$block = module_invoke('megamenu', 'block', 'view', 0);
			print $block['content'];
		
print $breadcrumb

if ($tabs){

print $tabs

}
if ($show_messages) { print $messages; }
print $help
print $content;
/* print $feed_icons; */

if ($right) {

}


print $closure

print $scripts

function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i


dczepierga’s picture

After this peace of code:

<?php print $styles ?>

put sth like this:

<?php print $scripts ?>

After this clear all cache and everything should work fine.

Greetings

craspouille’s picture

You are a genious!

Thanks! it works now. But this code is also at the bottom of page.tpl.php (as you can see above)
should I keep both?

thanks!!!

mkesicki’s picture

Status: Active » Closed (fixed)

I think that you should have this only one time in please @dczepierga wrote. This way you have load scripts only one time in head section. Your way (two times) you add scripts 2 times (you can check this in firebug -> firefox add-on NET tab) and this is unnecessary.
I mark this ticket as closed. If you have any other problems/questions about this please reopen it.

craspouille’s picture

Thank you everybody, that is perfect !