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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail WYSIWIG Image Upload Not Working
Pages: [1]

Author Topic: CiviMail WYSIWIG Image Upload Not Working  (Read 1236 times)

cadams

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.2
  • CMS version: Drupal 6.22
  • MySQL version: 5.5
  • PHP version: 5.2.17
CiviMail WYSIWIG Image Upload Not Working
December 20, 2011, 09:34:47 am
Hi all,

I am running CiviCRM 3.4.3 on top of Drupal 6.22.

In CiviMail on the step to create the HTML for the page, when I click on the button to upload an image, nothing happens.

In firebug, the error is:

Code: [Select]
Drupal.settings.wysiwyg_imageupload is undefined

invoke(data=Object { format="html"}, settings=Object { dialog={...}, path="/sites/all/modules/wysi...pload/plugins/imgupload"}, instanceId="html_message")imgupload.js?u (line 44)
data = Object { format="html"}
settings = Object { dialog={...}, path="/sites/all/modules/wysi...pload/plugins/imgupload"}
instanceId = "html_message"
exec(editor=Object { _={...}, elementMode=1, more...})ckeditor-3.0.js?u (line 192)
renameNode(k=undefined)ckeditor.js?u (line 19)
k = undefined
t(l="imgupload", m=undefined)ckeditor.js?u (line 23)
init(m=Object { _={...}, elementMode=1, more...})ckeditor.js?u (line 39)
init()ckeditor.js?u (line 39)
buildStyleHtml()ckeditor.js?u (line 9)
buildStyleHtml(f=55)ckeditor.js?u (line 9)
onclick(event=click clientX=937, clientY=119)send?_...t/seq/7 (line 2)
[Break On This Error] revisions: Drupal.settings.wysiwyg_imageupload.revisions


I have tried CKEditor and TinyMCE, the latest versions.  I have IMCE and the IMCE integration modules installed.

Any ideas?

Thanks,
-Chris

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWIG Image Upload Not Working
December 20, 2011, 10:21:16 am
Can you try upgrading to current stable 3.4.8 and check if that helps.

Kurund
Found this reply helpful? Support CiviCRM

cadams

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.2
  • CMS version: Drupal 6.22
  • MySQL version: 5.5
  • PHP version: 5.2.17
Re: CiviMail WYSIWIG Image Upload Not Working
December 20, 2011, 02:40:53 pm
Just tried updating to 3.4.8.  It did not work.  Same problem and error as before.

It is worth mentioning that the "Upload Image" button works in the same WYSIWYG editor everywhere else it is used, just not in CiviCRM.

Thanks again,
-Chris

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWIG Image Upload Not Working
December 20, 2011, 08:13:12 pm
Quote
It is worth mentioning that the "Upload Image" button works in the same WYSIWYG editor everywhere else it is used, just not in CiviCRM.
I am assuming you have configured "Drupal wysiwyg editor" as your preferred editor. We will check and get back to you.

Kurund
Found this reply helpful? Support CiviCRM

pratik.joshi

  • I’m new here
  • *
  • Posts: 9
  • Karma: 2
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.34
  • PHP version: 5.3.10
Re: CiviMail WYSIWIG Image Upload Not Working
December 20, 2011, 09:36:59 pm
I did the following things :-

For Drupal :-

1) Installed WYSIWYG module .
2) Downloaded the CKeditor Libraries folder (link given in WYSIWYG configuration settings). Extracted the zip file of it inside sites/all/libraries
3) Then Visited WYSIWYG configuration settings page and selected CKEditor in Editor select box for "Full HTML" as well as for "Filtered HTML" input formats.
4) Downloaded "IMCE module" and "IMCE Wysiwyg API bridge module" and enabled them.
5)By Visiting WYSIWYG configuration settings page,  edited each input format and selected "Image" and "IMCE" check box inside "Buttons and plugins section" and saved .

For Civicrm:-

 - Selected "Drupal Default Editor" as  WYSIWYG Editor and  "Full HTML" as Input Format in Display Preferences .

I checked it by creating a "New Event" and a "New Mailing" , it is working on my local ( v3.4.8 ).

-Pratik
« Last Edit: December 20, 2011, 09:58:08 pm by Kurund Jalmi »

cadams

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.2
  • CMS version: Drupal 6.22
  • MySQL version: 5.5
  • PHP version: 5.2.17
Re: CiviMail WYSIWIG Image Upload Not Working
December 21, 2011, 06:46:15 am
Quote
I am assuming you have configured "Drupal wysiwyg editor" as your preferred editor.

That is correct.

@Pratik,
That is how it was originally done, and it was working when we tried sending them a long time ago.  My company has not tried using CiviMail in a while.  Therefore, I think it has something to do with a CiviCRM update somewhere in the last few months, but I do not know for sure exactly when it stopped working.

-Chris

Osvaldo

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • Open source rocks!
Re: CiviMail WYSIWIG Image Upload Not Working
October 17, 2012, 10:50:00 am
What was ultimately the outcome of this? How did you resolve it?
Osvaldo Gomez
Upleaf LLC

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail WYSIWIG Image Upload Not Working

This forum was archived on 2017-11-26.