Notifications
Clear all

WPEmbeds causes with certain code being posted

8 Posts
2 Users
1 Likes
914 Views
Posts: 16
Topic starter
(@hansaplastique)
Eminent Member
Joined: 8 years ago

(see also this post in the WPForo forum and this previous (locked) post in this gvectors forum)

After upgrading to WPForo Embeds 3.0.9, and initial error was fixed, however a new issue came in its place.

When posting code using the "<>" button, on some occasions the post becomes blank.
Looking at the <div> that is supposed to hold the post content, you'll see it's empty.
Initially this happened with C-code being posted, twice, and later on with a regular log post. All in "<>" blocks.

When editing the post however, all the content is available, but when saving the edited content, it's all gone again. Meaning: the content seems to exist in the database, but is simply not shown in the post. At all.

Initially I assumed this could be a tricky sequence of characters triggering this, but could not find how or where. Until I disabled the WPForo Embeds addon. Disabling the Embeds addon made everything show proper again.

Additional info:

Web Server Apache
PHP Version 8.0.30
MySQL Version 10.3.39-MariaDB
Worpress 6.3.2 (Multisite)

wpForo 2.2.3
wpForo Ads Manager 3.0.3
wpForo Advanced Attachments 3.1.2
wpForo Embeds 3.0.9

Any assistance would be very much appreciated.

p.s. Affected forum posts (that currently work because the WPForo Embeds is disabled - If needed for testing, I can enable it again):
- post 1 (c-code)
- post 2 (test post with c-code)
- post 3 (log dump)

Based on that 3rd post;
What the post looks like to viewers (with Embeds Addon enabled)

viewers

What the same post looks like when editing (after seeing a blank post)

editing
7 Replies
Razmik
Posts: 76
Admin
(@blackraz)
Famed Member
Joined: 9 years ago

Hi @hansaplastique ,
Could you please create an admin user and provide the details? This will allow our developers to debug and identify the issues.

Reply
Posts: 16
Topic starter
(@hansaplastique)
Eminent Member
Joined: 8 years ago

I'm extremely hesitant providing that kind of access.
Is there anything else I can do to assist?

Reply
1 Reply
Razmik
Admin
(@blackraz)
Joined: 9 years ago

Famed Member
Posts: 76

@hansaplastique 

There is no alternative; the debugging process can be challenging for non-developers, making it difficult for us to provide you with technical details about debugging. We can assist you if you provide the necessary access.

Reply
Posts: 16
Topic starter
(@hansaplastique)
Eminent Member
Joined: 8 years ago

I understand your request from a developers perspective, but I hope you understand that providing admin access to my website is simply a no-no for me.

On that note: it is triggered by the last WPEmbeds fix you guys did.
I suspect something in the code makes it return a blank (see previous issue), and your fix somehow now allows a blank result to return.

Reply
1 Reply
Razmik
Admin
(@blackraz)
Joined: 9 years ago

Famed Member
Posts: 76

@hansaplastique 

You are partially correct, but the issue only arises on your end and is specific to the reply content. We need the original database version of your problematic post content for testing and fixing purposes. Could you provide the database version of your problematic post content? This will allow our developers to simulate the problem on our end and identify and resolve it.

Reply
Posts: 16
Topic starter
(@hansaplastique)
Eminent Member
Joined: 8 years ago

I've encountered this issue with 2 different posts, as mentioned before. One was a piece of C++ code and the other one was a simple log file (not code).

Web Server Apache
PHP Version 8.0.30
MySQL Version 10.3.39-MariaDB

Just updated to WPForo 2.2.5, and when I enable WPEmbeds the issue sis till there - not sure if that would have fixed that of course, just thought I should mention it.

I'm not sure what you mean with "the database version of your problematic post content" though? 

Reply
Page 1 / 2
Share:
Scroll to top