WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] WP 3.6 doesn't work with CF7 (24 posts)

  1. sit441
    Member
    Posted 10 months ago #

    Hello,

    Any of my sites with wp 3.6 (newest) does not work with CF7 (any version). Checked everything twice - any CF7 version doesnt send message (red error). But with WP 3.5.2 the newest CF7 works greatly at the same server and same mails.

    Example may be found here: http://www.galgostudio.lt/kontaktai/

    Any help would be nice :)

    http://wordpress.org/plugins/contact-form-7/

  2. crystalgroves
    Member
    Posted 10 months ago #

    It has also stopped working for me. Says it is sent, but doesn't send. I don't know if this is since the upgrade or what.

  3. davejampole
    Member
    Posted 10 months ago #

    Not true. I have CF7 on a WP 3.6 based site. Just tested it and it works 100%.

    Not saying you don't have a problem with your configuration, but the problem is not because of CF7 running on WP 3.6

  4. buzztone
    Member
    Posted 10 months ago #

    We always get a number of similar comments in this forum after each WordPress upgrade. It might seem an obvious conclusion but nevertheless it's typically incorrect.

    I updated to WordPress 3.6 on a number of sites and CF7 continues to work flawlessly.

    Upgrading to the latest CF7 and/or WP version is unlikely to be an issue unless this resulted in some specific problems with your install.

  5. AIResearcher
    Member
    Posted 10 months ago #

    I am having problems with my specific install. I am trying to trace the problems, but I thought I'd post what I've found so far here so that it may help others.

    WordPress 3.6 upgraded by jQuery to 1.10.2, when I downgrade it back to jQuery 1.8.3 I have no problems.

    The jquery form plugin (in Firefox 23.0.1) passes a complex form DOM component as the "method". The plugin then attempts to convert this to upper case using toUpperCase. Because this is not a string, it fails.

    In safari (7.0) 'undefined' is passed as the method which also doesn't allow a toUpperCase() to be run on it.

    When bypassing this function, It further passes components up to the jQuery root but not as strings which causes further breaks.

    Again, putting jQuery 1.8.3 back in place seems to fix all issues related to Contact Form 7. However, I still have to see if that breaks anything anywhere else in the 3.6 install.

  6. sit441
    Member
    Posted 10 months ago #

    Thanks for replies!

    I stil haven't found whats causing the bug.
    Just installed a clean test web page and still red error is brightening the layout :)

    Could this be a server problem somehow?

  7. Thiago.Ribeiro
    Member
    Posted 10 months ago #

    My sites with wp 3.6 (newest) does not work with CF7 (any version).
    Says it is sent, but doesn't send.
    Other plugins can email usually as a plugin to backup BD, recover password, newsletter registration, this leads me to believe that it is not about server problems or installation of wordpress.
    I tried also to change the jquery 1.8.3 but still did not work. : (
    Someone knows I might be happening?

  8. davejampole
    Member
    Posted 10 months ago #

    I would discount NOTHING! I recently had a problem with the Upcoming Events view and after much head bashing, cussing and thinking about trying to fix the problem with a hammer, it turned out to be a problem with my satellite modem! The Hughes tech I talked to did a remote reset and fixed the problem.

  9. jack96161
    Member
    Posted 10 months ago #

    There is actually a bug in the 3.6 release that causes Contact-7 forms to fail to be emailed - but it only affects those hosts using the Qmail based email systems. It appears that WordPress used a few month old version of class-phpmailer.php one where a bug had been introduced for Qmail based email systems, the Authors of phpmailer.php had already issued an update for the file but WordPress issued the 3.6 upgrade with class-phpmailer.php version 3.5.4 (version 3.5.5 had already been fixed). In any event they are now aware of the issue and have already indicated that a more current version of class-phpmailer.php (one that is fixed for Qmail) will be included when WordPress 3.7 is released.

    Meanwhile, If you go to this link:
    https://github.com/PHPMailer/PHPMailer/blob/master/class.phpmailer.php
    And copy the actual file contents starting with:
    <?php
    /*~ class.phpmailer.php

    Then replace the contents of your wp-includes/class-phpmailer.php with the code from the above file, that should correct the issue if related to the Qmail bug. NOTICE!!! the name of the file is class(dash)phpmailer.php, not (dot) as it appears in the second line comment of the source.

  10. Thiago.Ribeiro
    Member
    Posted 10 months ago #

    Editing the file "wp-includes/class-phpmailer.php" as mentioned above but unfortunately it did not work, I still have the same problem.
    Says it is sent, but doesn't send.
    Anyone have another solution?

  11. crystalgroves
    Member
    Posted 10 months ago #

    Welp, this issue makes companies lose business, so I'm going to have to switch contact forms until this is fixed (or for good, I don't know). I really like Contact Form 7, don't mind donating to it, etc. But I'm dealing with some angry customers right now :)

  12. crystalgroves
    Member
    Posted 10 months ago #

    Also to note, this happened to all of our sites at once right after we upgraded. It wasn't just one site that we maintained, it was all of them.

  13. jack96161
    Member
    Posted 10 months ago #

    The big question is -- are all the failing sites hosted with the same company? I have a dozen sites that are running the latest WordPress and Contact-7 releases with no problems whatsoever.

    The only ones that failed were hosted on servers that use the Qmail email system, as many hosting companies do... In every one of those cases, updating the class-phpmailer.php file to the version that will be included in WordPress 3.7 solved the problem. If problems still persist, it's most likely a plugin or template problem involving misuse of the current jQuery library installed by WordPress 3.6.

    Contact-7 is not at fault. Either blame WordPress for releasing 3.6 with the previous version of class-phpmailer.php... or, the hosting company for running Qmail -- however, Qmail, a Unix based replacement for the older Unix sendmail, has many advantages over sendmail, especially superior security measures, which is why Qmail is more prevalent in serious security conscious hosting companies.

  14. davejampole
    Member
    Posted 10 months ago #

    Jack reinforces my earlier comment that when there is a problem, DISCOUNT NOTHING! Of course, a reasonable person will ask, 'How the heck am I supposed to know that this is the fault of the email system the host is using?'

    Luckily Jack is knowledgeable enough to know what the problem is and kind enough to share it with the rest of us.

    That kind of willingness to help other users is what makes these messageboards what they are.

  15. sit441
    Member
    Posted 10 months ago #

    Hello!

    Thanks, Jack, for advice. I copied older version of class-phpmailer.php over newer - works as a charm.

  16. ferreste
    Member
    Posted 10 months ago #

    Not sure if anyone here experiencing the problem are on Bluehost, but just in case - I've just found a solution for my Bluehost hosted sites.

    The solution relates to making sure that the contact form FROM email is changed from the user-entered value on the form to a fixed email that exists on your Bluehost account. It doesn't matter whether you use Bluehost for your email. I use Google but I simply created a dummy email entry on Bluehost and it worked fine.

    So the email from Contact Form 7 will arrive showing that it was sent from that new fixed address. This means that you have to make sure you include the user-entered address in your message body, otherwise you will not be able to reply back.

    Now, before I upgraded to WordPress 3.6 I got away without having to do this, but since I've upgraded it's the only way I could get the contact form to work. Check out the full solution here: http://wordpress.shadowlantern.com/how-to-make-contact-form-7-work-on-bluehost/

  17. sit441
    Member
    Posted 10 months ago #

    That's really hard way to do this. Just simply copy newer (3.7 beta) or older class-phpmailer.php file over the one from 3.6. Or wait for 3.7 to come and fix this bug.

  18. ferreste
    Member
    Posted 10 months ago #

    Yep it's a hard way but waiting for 3.7 isn't an option as I have a live site, and for some reason copying the other versions of phpmailer.php just didn't work for me. And having read some other forums there are some people in the same position. So yep, it's a dirty workaround but it works on Bluehost and will keep me going until 3.7

  19. susantau
    Member
    Posted 10 months ago #

    I've been trying to get Contact Form 7 to work for days (current version installed from WordPress.org 9/6/13 - my site uses WordPress 3.6).

    I have learned some of the issues have had to do with requirements by my host, DreamHost - I needed to do what ferreste describes above, but not just with the From address but also the To in the CF7 settings. Each of these addresses have to be email accounts associated with domains that live on a Dreamhost server. This is, i believe, an anti-spoofing measure on the part of DreamHost.

    After I made this change to CF7 6 days ago, the form worked for a couple of days. Then 4 days ago i changed the perceived url of this WordPress site to be the root AND around this same time Dreamhost's mail server went down. DreamHost support tells me today 9/12/13 that the mail server is back up and fine, but messages do not appear in my client's email.

    Through this entire time beginning with the initial problems last week, CF7 always gives the green SENT message each time - the messages just don't make it to my client's mailbox. EXCEPT when I tried the Qmail fix described above by Jack96161: I copied that code into class-phpmailer.php and uploaded it, but when I tried to send a message, CF7 went into some kind of infinite loop, the circling arrows beside the Submit button kept on and on. I never saw that happen before. So i've re uploaded the original phpmailer file again.

    I believe that the problem is not CF7, but how it is working with the Dreamhost server - and I am corresponding with DreamHost support, but so far, to no avail.

    I am at my wit's end about this problem and am on the verge of just inserting an email link on my client's Contact page - who is desperate for her website contact page to start working.

    Thanks to anyone out there for any good ideas...

  20. lisa thirdside
    Member
    Posted 10 months ago #

    Can we mark this as re-opened? I appear to be having the same issue with Contact Form 7 and Dreamhost. I have one client using their hosting, and this is the second time I've had email issues within the week. None of my other clients are having any issues, so the only variable has to be the hosting.

    As susantau said above, any ideas would be most appreciated.

  21. susantau
    Member
    Posted 10 months ago #

    lisa, do you know the name of the dreamhost email server that your client is on? the dreamhost mail server that went down this week is homiemail-sub4. went down tuesday and supposedly is happy and healthy again as of last evening.

  22. lisa thirdside
    Member
    Posted 10 months ago #

    Hmm, I'll look. I know one of their other forms (they have four total) was kicking back a "null" error a couple of days ago, and that might explain why. It's just kind of weird that it's a different issue now, where it doesn't even show the "null" box. I'll check into the email server though. Thanks for the tip!

  23. susantau
    Member
    Posted 10 months ago #

    GREAT news for me and my client: CF7 is working finally.

    I think the probs we were having were a combo of not getting the CF7 settings quite exactly right (see below) and also DreamHost having issues with their mail server this week.

    Here's a pretty good tutorial explaining how to set up CF7 so that a DreamHost server will not interfere with mail delivery.
    http://savorywatt.com/2012/10/10/fix-contact-form-7-not-working-with-dreamhost/

  24. rabbijason
    Member
    Posted 8 months ago #

    Are users finding that updating to WordPress 3.7 fixes this problem. On most of our clients' sites we're finding that Contact Form 7 did not work (unless it was a Gmail address). I'm hoping that updating to WP 3.7 will fix CF7.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags