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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.2 Release Testing »
  • mailing preview broken
Pages: [1]

Author Topic: mailing preview broken  (Read 5225 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
mailing preview broken
July 27, 2010, 08:53:05 am
The mailing preview (step 4) is broken -- yields an empty screen. This is reproducible on the sandbox.

The $mime object seems to have all the header values passed to it, but not the _htmlbody or _txtbody values. Not sure where the breakdown is, but my best guess is that those values aren't being passed to the session correctly (as I understand the code, the mime object is primarily constructed from the session).

CRM/Mailing/Page/Preview.php
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: mailing preview broken
July 27, 2010, 09:31:11 am
Thanks Brian, filed http://issues.civicrm.org/jira/browse/CRM-6546

Kurund
Found this reply helpful? Support CiviCRM

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: mailing preview broken
July 28, 2010, 03:54:11 am
Brian,

This might be related to some weird php bug, I am able to replicate on demo, it's on 5.2.4

Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: mailing preview broken
July 28, 2010, 07:06:16 am
FWIW, the site where the bug was discovered is running 5.2.9
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: mailing preview broken
July 28, 2010, 07:25:05 am
As mentioned I was able to replicate on demo which is on 5.2.4, but another install it works on  5.2.4. So I am guessing it might be something to do with server. Any thoughts on this issue?

Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: mailing preview broken
July 29, 2010, 04:53:04 pm
I pulled things apart last night, comparing against 3.1 codebase for anything that might have caused the problem, but couldn't find anything. This particular client just did a big jump from 2.2.x to 3.2, so it's more difficult to identify what in the transpiring code changes might have caused that function to stop working.

support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

anton

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
Re: mailing preview broken
August 05, 2010, 05:00:53 am
I am having a slightly different issue - the mailing preview displayed is that of an old archived e-mail (the earliest e-mail on the system), however the test e-mail and resulting actual mailout are fine.

Difficult to test on the demo server as to replicate it I'd have to do a mailing first.

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: mailing preview broken
August 05, 2010, 05:15:24 am
anton,

You can try to replicate this on demo, just create test mailing.

Kurund
Found this reply helpful? Support CiviCRM

anton

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
Re: mailing preview broken
August 05, 2010, 05:22:23 am
I'd need a completed mailing - can't archive a draft/unscheduled mailing.

BTW there is something wrong with the Drupal theme on the demo server.

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: mailing preview broken
August 05, 2010, 05:23:57 am
Quote
I'd need a completed mailing - can't archive a draft/unscheduled mailing.
You can do that on demo. Once you schedule mailing run http://....../civicrm/mailing/queue

Quote
BTW there is something wrong with the Drupal theme on the demo server.
We are working on it.

Kurund
Found this reply helpful? Support CiviCRM

anton

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
Re: mailing preview broken
August 05, 2010, 05:49:27 am
Thanks for fixing the theme.

I've replicated the bug on the demo server - created a mailing called test 1, sent it and archived it, then when I go to create a mailing called test 2 I see the contents of test 1 in the preview boxes.

Thanks Kurund!

EDIT: clarified some info
« Last Edit: August 05, 2010, 06:03:30 am by anton »

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: mailing preview broken
August 05, 2010, 06:01:12 am
Thanks, updated: http://issues.civicrm.org/jira/browse/CRM-6546

Kurund
Found this reply helpful? Support CiviCRM

karunadave

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 0
    • Karuna Dev
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 6.30 or Drupal 7.26 Drush 6.2.0
  • MySQL version: 5.5.35-cll - MySQL Community Server (GPL)
  • PHP version: 5.3.21
Re: mailing preview broken
August 09, 2010, 11:23:51 am
Quote from: Kurund Jalmi on August 05, 2010, 06:01:12 am
Thanks, updated: http://issues.civicrm.org/jira/browse/CRM-6546

Kurund

Great, I have the same trouble. How might I get 3.2.1?

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: mailing preview broken
August 09, 2010, 11:32:10 am
You will have to wait few days for 3.2.1 release.. or you below patches:

http://fisheye2.atlassian.com/changelog/CiviCRM?cs=29086
http://fisheye2.atlassian.com/changelog/CiviCRM?cs=28925

Kurund
« Last Edit: August 09, 2010, 11:33:51 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.2 Release Testing »
  • mailing preview broken

This forum was archived on 2017-11-26.