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) »
  • Certain html tags cause white screen: array to string conversion error
Pages: [1]

Author Topic: Certain html tags cause white screen: array to string conversion error  (Read 383 times)

nsjski

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.28
  • MySQL version: 5.6.17
  • PHP version: 5.5.13
Certain html tags cause white screen: array to string conversion error
May 30, 2014, 06:57:40 pm
When creating a mailing, if I include certain html tags in the message, eg <strong> or <h2>, then clicking 'next' on the 'new mailing content step 3 of 5' screen results in a white screen.  The text format is filtered html and both these tags are allowed.

If I use only <p> tags, or enter the message with plain text format selected, then I can reach the next screen and preview the message.

We are using the wysiwyg module and I saw the same behavior with fckeditor and ckeditor.


In the drupal side of the site, the editors work correctly, I can use <strong> and <h2> and all is well.  The white screens happen only in civimail.


The log file shows:

Strict warning: Declaration of HTML_QuickForm_DrupalWysiwyg::exportValue() should be compatible with HTML_QuickForm_element::exportValue(&$submitValues, $assoc = false) in HTML_QuickForm::_loadElement() (line 602 of [oursite]/sites/all/modules/civicrm/packages/HTML/QuickForm.php).

Notice: Array to string conversion in CRM_Mailing_Form_Upload::formRule() (line 610 of [oursite]/sites/all/modules/civicrm/CRM/Mailing/Form/Upload.php).


FIXED IT!  Enabled php extension mbstring. 

Can anyone point me to a shopping list of php extensions required by civicrm & drupal 7?   We migrated to a new hosting provider, our php and cpanel changed, and I can now pick & choose from the extensions. 




« Last Edit: May 31, 2014, 06:37:19 am by nsjski »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Certain html tags cause white screen: array to string conversion error

This forum was archived on 2017-11-26.