CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • textarea visibility:hidden and no wysiwyg
Pages: [1]

Author Topic: textarea visibility:hidden and no wysiwyg  (Read 4521 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
textarea visibility:hidden and no wysiwyg
January 08, 2014, 02:12:27 pm
I am on Civi 4.3, and out of the blue getting a very odd error happening with the WYSIWYG. I have my CiviCRM wysiwyg set to ckeditor, which I haven't changed. Now, any CiviCRM textarea is hidden (see attached screenshot). If I remove the "hidden" format in Firebug, then I can see the textarea, however it doesn't show the wysiwyg buttons. If I change my Civi wysiwyg to be tinymce, then in that case I can see the textarea, however I still don't see any wysiwyg buttons, just a plain text box.

The only thing I can possibly think of that might be related is that we moved to a multisite Drupal installation recently. However, have seen no other issues with Civi. All my directories, resource urls, and permissions appear to be correct. Have rebuilt cache numerous times.

Any idea how I can better debug this or any idea what might be causing it?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 02:14:26 pm
Also note that I tried changing civi theme to seven so as to ensure there is no theme-related overrides. This did not change anything.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 02:15:41 pm
Can I ask the obvious? Have you deleted the contents of your sites/files/civicrm/template_c directory?
Try asking your question on the new CiviCRM help site.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 02:27:54 pm
How I wish that was the answer, but unfortunately I have indeed deleted contents of templates_c multiple times to no avail.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 02:39:38 pm
Hmmm. I wonder if Varnish is my culprit. Recently made a few changes to our Varnish config - you can see the config here https://drupal.org/comment/8350893#comment-8350893

and that combined with what I read here http://forum.civicrm.org/index.php?topic=23693.0 makes me think this is the likely culprit. Will have to look into this further, but if anyone has suggestions let me know!

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 04:57:00 pm
My tech does not believe this is a Varnish issue since it's not an anonymous issue and Varnish therefore isn't caching. So my next thought is that maybe this is somehow related to moving to a multisite drupal install? After a little debugging it looks like ckeditor text boxes is not working because of js error in that it couldn't find the skin.

- GET http://mysite.org/sites/all/libraries/ckeditor/skins/moono/editor.css?t=D08E 404 (Not Found) ckeditor.js:71

So it seems like after multisite install it started to to look for the ckeditor library in the wrong place, as opposed to sites/all/modules/civicrm/packages/ckeditor it is looking in above.

Any ideas on how to fix so that it loads correct ckeditor for civi? Hoping that will be the resolution.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 05:05:20 pm
Are you by any chance using the Drupal WYSIWYG in CiviCRM?
Try asking your question on the new CiviCRM help site.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 08, 2014, 05:24:46 pm
Nope. It is set to ckeditor at civicrm/admin/setting/preferences/display?reset=1

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 09, 2014, 08:57:55 am
Is there any way to force Civi to load the correct ckeditor? Or might this be a bug with multisite installs on Drupal?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 13, 2014, 06:49:38 am
I have since moved off the multisite installation and upgraded my civicrm db to 4.4.3 so that I'm on latest stable. I still have the same issue where these textfields are not loading.

In addition, after upgrade I have this error in my logs:

[Mon Jan 13 09:41:14 2014] [error] [client 127.0.0.1] PHP Warning:  include_once(): Unable to allocate memory for pool. in /home/mysite/root/sites/all/modules/civicrm/drupal/modules/views/civicrm.views.inc on line 115, referer: http://mysite.org/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade


emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 13, 2014, 06:56:34 am
In my firebug console, it does look like ckeditor is loading the correct Civi ckeditor now, but there is still an error in the console.

error is coming from http://mysite.org/sites/all/modules/civicrm/packages/ckeditor/ckeditor.js and is as follows:

Code: [Select]
TypeError: b is undefined
http://mysite.org/sites/all/modules/civicrm/packages/ckeditor/ckeditor.js
Line 493

Ideas?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: textarea visibility:hidden and no wysiwyg
January 17, 2014, 06:10:08 am
See this thread for final fix to this: http://forum.civicrm.org/index.php/topic,17229.15.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • textarea visibility:hidden and no wysiwyg

This forum was archived on 2017-11-26.