Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter cwrichardson

    (@cwrichardson)

    @bcworkz — yes, I had tried all of those things.

    @jdub233 — I never did find out exactly what was causing the problem, but I guess it was a corrupted docker image cached somewhere. Previously, removing docker and reinstalling had not fixed it; however, removing NPM NVM and Docker and reinstalling all 3 resolved the issue for me. ¯\_(ツ)_/¯

    Thread Starter cwrichardson

    (@cwrichardson)

    OK, thanks! That makes sense.

    In that case, I’d like to add as a “nice to have” feature, the ability to add the note when manually adding guests. The use case is, you have people who for whatever reason don’t RSVP with the form (they send an email, a twitter direct message, or a physical card … all of which have happened for this event 🙂 ), and it would be nice to capture the message they actually send in one place when I manually add them.

    Thread Starter cwrichardson

    (@cwrichardson)

    Also, I just saw your email. All good!

    Thread Starter cwrichardson

    (@cwrichardson)

    Hmm. This didn’t seem likely, as the utf8mb4 upgrade came in WordPress 4.2, and this site is only about 5 months, but, just to double check, I

    1. Put an emoji in a post comment (it worked fine)
    2. Checked the character encoding for tables in the database

    This was weird. The appropriate WordPress tables are utf8mb4:

    mysql> SHOW FULL COLUMNS FROM wp_comments WHERE Field="comment_content";
    | Field           | Type | Collation              |
    | comment_content | text | utf8mb4_unicode_520_ci |

    But, indeed, the RSVP plugin is set to regular utf8:

    mysql> SHOW FULL COLUMNS FROM wp_attendees WHERE Field="note";
    | Field | Type | Collation       |
    | note  | text | utf8_unicode_ci |

    So … I changed it:

    mysql> ALTER TABLE wp_attendees MODIFY note text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;

    Woohoo! Problem solved!

    So, thanks for the help, and all good at my end! But, why would it have created it that way in the first place?

    Thread Starter cwrichardson

    (@cwrichardson)

    Hey Mike,

    Thanks for getting back to me! I’ll send a similar note by email, so we can go back and forth if necessary, but, I have an update:

    Upon further investigation, it appears to be completely replicable. The problem has something to do with text in the comments box. The system indicates success, but silently fails, if there are certain characters in the comment box. An emoji smiley will demonstrate the problem:

    😊

    Unfortunately, I’m not seeing any errors in either the PHP or database logs, but I guess this discovery does make it more urgent — hopefully I don’t have a bunch of people showing up to my wedding that I don’t know about, because they put smiley faces in their comments 🙂

Viewing 5 replies - 1 through 5 (of 5 total)