• Resolved ea4dqx

    (@ea4dqx)


    I’m working with EME several months ago, and updated to 2.1.39 this morning (30-9-2019)

    But, now, i can’t create or modificate any events.

    When i click to “save” or “update” in the events screen, this is the error message:

    Ach, some problems here:

    Please correct the RSVP form format to use #_SUBMIT.
    Press the back-button in your browser to return to the previous screen and correct your errors

    I can create or update templates, but not events.

    • This topic was modified 4 years, 11 months ago by ea4dqx.
    • This topic was modified 4 years, 11 months ago by ea4dqx.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ea4dqx

    (@ea4dqx)

    My web details:

    Wordpress 5.2.3
    EME 2.1.39
    PHP 7.3.6
    Mysql 5.6

    All was wordking until 2.1.39

    Plugin Author Franky

    (@liedekef)

    Does the template you’re using for your RSVP form include #_SUBMIT in some way?

    Edit: I think the problem is if you don’t use RSVP and the main existing RSVP template is also empty. I added some extra checks but forgot to account for that.
    I’ll update and release a new version this evening. Currently a workaround would be that in your generic EME settings make sure that the RSVP template has #_SUBMIT in it …

    • This reply was modified 4 years, 11 months ago by Franky.
    Thread Starter ea4dqx

    (@ea4dqx)

    Yes, but it doesn’t work even without RSVP Form.

    For example, a new event, only name, date and hour, no notes, no event template, bookings disabled, and when i clik “Save”, the message error is displayed and no new event is saved

    • This reply was modified 4 years, 11 months ago by ea4dqx.
    Plugin Author Franky

    (@liedekef)

    Did you see my edited remark concerning the workaround?

    Thread Starter ea4dqx

    (@ea4dqx)

    This is the RSVP form settins in plugin settings:

    <table class=’eme-rsvp-form’>
    <tr><th scope=’row’>Nombre:</th><td>#REQ_FIRSTNAME</td></tr>
    <tr><th scope=’row’>Apellidos:</th><td>#_LASTNAME</td></tr>
    <tr><th scope=’row’>E-Mail:</th><td>#_EMAIL</td></tr>
    <tr><th scope=’row’>Teléfono Móvil*:</th><td>#REQ_PHONE</td></tr>
    <tr><th scope=’row’>Plazas*:</th><td>#_SEATS</td></tr>
    <tr><th scope=’row’>Precio:</th><td>#_DYNAMICPRICE</td></tr>
    <tr><th scope=’row’>Comentario:</th><td>#_COMMENT</td></tr>
    </table>
    #_SUBMIT{ENVIA TU RESERVA}

    But, the error is also displayed with templates. This templates was working very fine with 2.1.38

    Thread Starter ea4dqx

    (@ea4dqx)

    I downgraded to 2.1.38 and all is working again.

    No changes in settins, no changes in templates or events.

    I will upgrade with the new version.

    Thank you very much Franky

    Plugin Author Franky

    (@liedekef)

    ah, shame on me: I also forgot to check for #_SUBMIT{xxx}
    Quick fix: go in eme_events.php , and change on line 4643:

    if (preg_match('/#_SUBMIT$/', $result)) {

    to (remove an “$” too much):

    if (preg_match('/#_SUBMIT/', $result)) {

    Plugin Author Franky

    (@liedekef)

    Version 2.1.40 fixes this problem.

    Thread Starter ea4dqx

    (@ea4dqx)

    Thanks a lot Franky

    • This reply was modified 4 years, 11 months ago by ea4dqx.
    Thread Starter ea4dqx

    (@ea4dqx)

    2.1.40 works fine

    Thanks Franky

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Version 2.1.39 problems’ is closed to new replies.