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) »
  • HTML files for mailings never load
Pages: [1]

Author Topic: HTML files for mailings never load  (Read 779 times)

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
HTML files for mailings never load
December 18, 2013, 06:19:26 pm
Using CiviCRm 4.4.3, D7

I'm creating a new mailing, and on step 3  I want to load an html file for the for the Content

After browsing and selecting my html file, and hitting next to go to step 4 I see the following errors in the Drupal log:
1. a php notice:
Notice: Trying to get property of non-object in CRM_Mailing_Form_Test->buildQuickForm() (line 169 of path/to/modules/civicrm/CRM/Mailing/Form/Test.php).
2.a civicrm debug message:
CiviMail will not send an empty mail body,

Previewing the message shows a completely blank are except

Subject:

even though I set the subject field

Seems like the html file is either not uploaded, or not processed...

Anyone seen something like this, any ideas?

« Last Edit: December 18, 2013, 06:27:34 pm by jackrabbithanna »

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: HTML files for mailings never load
December 18, 2013, 06:22:50 pm
Actually, trying just a plain text file for the content doesn't work either, same results

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: HTML files for mailings never load
December 18, 2013, 06:27:18 pm
Same on 4.4.1 on a different installation

Seems like the file must load to be processed at the time of clicking the previous button because if you don't have the require tokens in the file, then it detects that they are missing

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: HTML files for mailings never load
December 18, 2013, 06:53:48 pm
can replicate on CiviCRM demo site 4.4

http://drupal.demo.civicrm.org/

1. Create new mailing
2. Go through steps 1 and 2, whatever settings
3. Step 3 Select I want to Upload Content
4  Try to upload either a text or html file
5 Hit next -- will get previously mentioned errors in log
6. Preview will be blank

davyivins

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 2
    • PURCO SA
  • CiviCRM version: 4.5
  • CMS version: Drupal 6.33
  • MySQL version: 5.5.34
  • PHP version: 5.4.33
Re: HTML files for mailings never load
January 07, 2014, 06:57:49 am
Did you manage to get this resolved? I've just run into the problem too. D6 with Civi 4.4.3.
There are times I love technology...and then there are times I *love* technology :-)

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: HTML files for mailings never load
January 09, 2014, 07:29:29 pm
No I haven't....we worked around it by copy and pasting the html code into the WYSIWYG editor

I tried to chased down the bug but had to move on....I need to create an issue for this bug

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: HTML files for mailings never load
January 09, 2014, 07:46:26 pm
created issue: http://issues.civicrm.org/jira/browse/CRM-14064

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • HTML files for mailings never load

This forum was archived on 2017-11-26.