HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Vanilla 3.3] "There was an error rendering this rich post" warning appears intermittently

Hey there!

Im having a hard time understanding what is going wrong, but several posts will be replaced with "There was an error rendering this rich post" when posting. It doesn't seem to happen when there is only text, but once a special symbol like an apostrophe is inserted, or for instance a smiley, I consistently get the error. I also had this on Vanilla 3.2, but less frequently. I don't know if it may be related, but I've also had a bug where symbols like apostrophes were replaced by the 'â' symbol.

My forum is located at: https://kimpetrasnow.com

Comments

  • Options

    To clarify, the forum is at https://kimpetrasnow.com/community/ not at the root of the site 😊

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    It would be even better if you could link to a discussion where that problem shows up. 😉

  • Options

    Good point actually haha. I’ve narrowed the problem down by changing the character encoding in my database to utf8mb4-unicode-ci, which resolves the specific error I wrote about, but now characters like emoji are rendered incorrectly. An example can be found here, in the last two comments: https://kimpetrasnow.com/community/discussion/13/feedback-thread

  • Options
    db98db98 New
    edited October 2019

    Sorry for repeatedly replying to my own thread, but I wanted to update on the fact that I've tried a few different things in the meantime. Fresh installs of Vanilla 3.2 and 3.3 give me the same behavior (emojis are rendered as 'Ÿ˜ŠŸ˜Ÿ˜ŠðŠ'), even with completely fresh databases. I do notice that emojis seem to render correctly when using the emoji picker in the Rich Editor, but not when inputting them natively from the macOS picker. They do render correctly when changing the editor to 'Text' instead of 'Rich', even with the macOS picker. In the database they also seem to render correctly. What I did notice is that when using the Rich Editor emoji picker, "{"insert":{"emoji":{"emojiChar":" is used instead of just "{"insert":"

    The weird thing is that on this community, the native behavior (using macOS emoji picker) does work, so I'm wondering why I can't get it to work on my own community.

Sign In or Register to comment.