ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Mailing List not working 2.7.0

September 22, 2013 7:07am

Subscribe [3]
  • #1 / Sep 22, 2013 7:07am

    mashamit

    2 posts

    Good Afternoon,

    im having a problem getting the mailing list to work in 2.7.0.  I recently moved servers (both LAMP), and as part of the move I decided to move rebuild my developing site as I went.  This meant that the rebuild was on the lastest 2.7.0 build of EE (was previously 2.6.x).  I have setup the mailing list and form, however if I submit an email address it just reloads the home page and nothing happens.

    I am able to add addresses directly through the Addon itself.

    The site is running EE2.7.0 and Cartthrob Pro 2.3.6.  I have the .htaccess adjustment to remove index.php.

    Any help would be appreciated.

    Nick

  • #2 / Sep 22, 2013 11:16am

    Jan Vantomme

    18 posts

    I’m having the same problem on a 2.7.0 install. So do other people: http://expressionengine.stackexchange.com/questions/13777/mailing-list-module-not-working

    Adding addresses from the control panel works fine. The {exp:mailinglist:form} tag seems to be broken in 2.7.0.

    Home Ellislab fixes this one soon.

  • #3 / Sep 22, 2013 3:44pm

    mashamit

    2 posts

    Ahh,  I was hoping that was the case, and not just something stupid id done 😊 Im sure Ellislab are all over the issue.  I think ill try drop them a report anyway see what happens.  Thanks for the swift response Jan.

  • #4 / Sep 24, 2013 5:10pm

    Jan Vantomme

    18 posts

    I filed a bug report on this issue.

  • #5 / Sep 25, 2013 10:32am

    Robin Sowell

    13255 posts

    Thanks for the heads up, Jan.  If you folks ever run into something you think is a bug, don’t hesitate to post it in the tracker.  It will be seen much more quickly.

    And this was indeed a bug- I’ve got it fixed up for the next entry and a patch outlined on the bug report.  And to save you a ‘click’- here’s the patch:
    In system/expressionengine/modules/mailinglist/mod.mailinglist.php around line 162 remove the secure forms check- so take out the code below:

    // Secure Forms check - do it early due to amount of further data manipulation before insert
       if (ee()->security->check_xid(ee()->input->post('XID')) == FALSE) 
       { 
         ee()->functions->redirect(stripslashes(ee()->input->post('RET')));
       }

    Then on line 260, remove that other xid reference:

    //  Clear security hash
      ee()->security->delete_xid(ee()->input->post('XID'));

    Let me know if you have any trouble with it, but this should take care of it.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases