I just updated to webform 2.2, and I realize that the email I sent out has nothing in blank.

I rolled back to previous version, it is fine, maybe there is bug for generating email content.

CommentFileSizeAuthor
#3 webf1.jpg31.72 KBcmgui
#3 webf2.jpg26.53 KBcmgui
#3 webf3.jpg31.73 KBcmgui

Comments

quicksketch’s picture

Did you run update.php after upgrading? The 2.2 version needs your theming cache cleared.

quicksketch’s picture

Status: Active » Fixed

Eh, shoot. Looks like the release got out and that can't find the "webform-mail.tpl.php" file. :/

I've fixed this in CVS and I'll get out a new release after fixing any other reports. As a work around, you can just copy webform-mail.tpl.php to your theme directory, then clear your Drupal cache at admin/settings/performance.

cmgui’s picture

StatusFileSize
new31.73 KB
new26.53 KB
new31.72 KB

hi quicksketch

i tried copying webform-mail.tpl.php to the theme directory and clearing the cache, but still it didn't work.

attached are some screen shots showing the output in drupal after submitting the form.

thank you.
gui

danmurf’s picture

Hi quicksketch

I'm also having the same problem. I copied the webform-mail.tpl.php from the previous version, cleared the cache but the email is still coming out blank.

Any more ideas?

Many thanks
Dan

jrglasgow’s picture

Status: Fixed » Active
whitelaw’s picture

Hi quicksketch,

I am also having this issue, I will try your work around and see what happens...

daddydo’s picture

And the same happened to me.
Felix

matty15’s picture

Blanks emails for me too with 2.2. Rolled back to previous 2.1.3 and everything is back to normal.

Am I okay running the previous version for now? It seem to work fine, just want to check.

Im sure you'll get a fix posted shortly, good luck and thanks for keeping up this excellent module!

Thanks

quicksketch’s picture

Status: Active » Fixed

Here's the patch that fixes the problem. It's already been committed (so this bug is "fixed") and I'll release a new version shortly. Using the new version would be very helpful in nailing down any last bugs in this new release.

Patch: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/web...

Or for those that prefer something more manual:

Change line 1733 from:

$messages[$cid] = theme(array('webform_mail_'. $node->nid, 'webform_mail'), $form_state['values'], $node, $sid, $cid);

to

$messages[$cid] = theme(array('webform_mail_'. $node->nid, 'webform_mail', 'webform_mail_message'), $form_state['values'], $node, $sid, $cid);
esskay’s picture

Looks like it works!

ozon’s picture

Hey quicksketch, big Thanks. It works for me too.

izkreny’s picture

Working for me too, although I had 6.x-2.1.3 version, and in there you need to do replacement in line 1704 (after some patching!).

rares’s picture

great, waiting for a 2.2.1 release to fix this.

hankpalan.com’s picture

I just installed the dev version to correct the blank e-mails.
Unfortunately its sending everything except the values put in the text fields. Its even sending the fieldsets, just not the text users put in those.

hankpalan.com’s picture

I have installed a slew of versions including the dev version. I even patched the latest version. I ran update.php and cleared the cache. I still am getting blank e-mails. Is anybody else having this issue?

chrisopeterson’s picture

I tried the first suggested fix, which was to simply copy the webform-mail.tpl.php file into my theme. That has fixed the blank email problem for me. Haven't noticed anything else off since.

suydam’s picture

Spanky,
Make sure you put the .tpl.php file in the folder of your active theme.
That fixed the issue for me on version 6.x-2.2

Christopher Herberte’s picture

Status: Fixed » Active
izkreny’s picture

Hi everybody.

This is really strange, because I just upgraded my Webform module to version 6.x-2.x-dev (October 21, 2008 - 12:14), and I don't have any "blank mail / fields" issues. Also in my active theme folder I don't have webform .tpl.php files.

I think this issue is really fixed. Or?

Cheers.

Anonymous’s picture

Category: bug » support

I'd be willing to help test the next upgrade if necessary.
I have a Drupal 6.5 test site that I use to check all modules on prior to moving them to the production site. Just let me know if you'd like a tester.

I'm primarily interested in making sure that the Email problem is fixed. Right now I'm using your patch and it's working fine. v2.2

Techgy

darkskywv’s picture

Category: support » bug

I guess I should have just waited for the update, being such a newby. I added the code and now I get this: "warning: Cannot modify header information - headers already sent by (output started at...".
On the bright side the emails are no longer blank so it fixed that. What did I mess up though? Pages have to be refreshed or closed and reopened or they're blank white.

izkreny’s picture

@darkskywv: The best thing to do (not just with webform module, but with any other Drupal module) is to update (reinstall) your Webform module to the latest development version -> 6.x-2.x-dev and then check that everything is working as it should.

quicksketch’s picture

Status: Active » Fixed

I release the 2.3 version today. Anyone experiencing this problem should upgrade to that version.

hankpalan.com’s picture

I have uninstalled, deleted, reinstalled, wiped clean, installed this module several time since the 2.3 version came out and I still am getting blank e-mails. Is anybody else still having this issue or is it just me?

jrglasgow’s picture

after installing 2.3 everything is working fine for me

izkreny’s picture

It's working fine for me too!

@spankteal: IMHO Webform module is not affecting your blank emails, it must be something else...somewhere else. Try clean install of Drupal 6.6 and only Webform 2.3 module on same server machine where you have blank mail issue, and see what will happen.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.