• Resolved canonite

    (@canonite)


    hi, i am working on an office intranet and am trying to use EME as an events calendar with RSVP function.

    I have set up the RSVP form, but seem to run into the problem with the #_EMAIL field. it has obtained the information from my log in credentials, but has deemed it as invalid ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    There’s a small fix that will be done in the next version, but:

    – assuming the email field is well present in the form (and if you view the html source, should have the id “email”)
    – what is your email? If something internal: does it contain “weird” characters? The wordpress is_email function is not RFC nor i18n compliant ==> maybe I should switch to the php function FILTER_VALIDATE_EMAIL … I’ll check later this evening for that

    Thread Starter canonite

    (@canonite)

    Hi Franky.

    – assuming the email field is well present in the form (and if you view the html source, should have the id “email”)
    ===> html source of the registration page?

    – what is your email? If something internal: does it contain “weird” characters? The wordpress is_email function is not RFC nor i18n compliant ==> maybe I should switch to the php function FILTER_VALIDATE_EMAIL … I’ll check later this evening for that
    ===> it’s a valid work email that contains a period (.) in it… tested it with Send Mails | Test mail without issue..
    have switched my user account email to my personal gmail accounts (with and without . in the email) and have the same issue (No Valid email provided)

    Thread Starter canonite

    (@canonite)

    Hi Franky,

    i took a look at the code in eme_rsvp.php, line 624
    $event['event_properties']['email_only_once']

    it seems that it was affected by my setting in Event | RSVP, where i checked “Allow only 1 registration per unique email address”

    Thread Starter canonite

    (@canonite)

    Setting this option “Allow only 1 registration per unique email address” will give a No Valid Email Provided error.

    Setting this option “Allow only 1 registration per person (combo email/lastname/firstname)” does not produce an error

    Setting both options does not produce an error.

    Plugin Author Franky

    (@liedekef)

    “1 registration per person” takes precedence over “1 registration per unique email address”, that’s the reason for that.
    Could you try to change the line with is_email(…) in eme_rsvp.php to:

    if (!isset($_POST[’email’]) || !filter_var($_POST[’email’],FILTER_VALIDATE_EMAIL)) {

    But again: I need to update parts of that code … will try this evening

    Thread Starter canonite

    (@canonite)

    if (!isset($_POST['email']) || !is_email($_POST['email'])) {
    changed to
    if (!isset($_POST['email']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) {

    still have the same error…

    Whats the difference between both settings? the information in the fields (first/last/email) cannot be changed on the fly

    • This reply was modified 7 years, 1 month ago by canonite.
    Plugin Author Franky

    (@liedekef)

    Please do check the latest dev-version (I’ll test later this evening too).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“No valid email provided” error’ is closed to new replies.