Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Comments being posted from wrong user!

5 Posts
3 Users
0 Reactions
1,741 Views
(@e-schlange)
Member Customer
Joined: 6 years ago
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#5357]

Hi All,

I was recently alerted to a problem which has occurred at least twice on my site's wpDiscuz comment system since I set it up a few months ago.

The problem is this: a user posts a comment. Then a different user posts a comment - but that comment shows up as being from the first user!

Looking at the second comment's details, it has the first user's name and email, but a different IP. I don't think these are hackers or anything weird - it's got to be a bug somewhere.

Has anyone else experienced this? Any ideas? Obviously my users are get annoyed - especially the ones whos names are being falsely attached to posts!



   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Hi @e-schlange,

Could you please deactivate the wpDiscuz plugin and check again? Please let us know how it works without the wpDiscuz plugin. 



   
ReplyQuote
(@e-schlange)
Member Customer
Joined: 6 years ago
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

The problem is that it's a rare issue--I don't know how to replicate it. I turned off the plugin, which made comments look kind of wacky on the site for a while... but I ended up turning it back on.

One user told me when they went to comment, another user's name and email address was pre-populated into the comment form. So this is what's happening.

I have a theory: that it's my CPanel OPCache doing it. That sometimes, a user submits a comment, and the site then caches their particular view of the page.

I see the OPCache settings include a "cookie bypass" option. It is described as "List of string to match in the Request cookies that will trigger a cache bypass. This is important to ensure that logged in users' pages are not being cached and shown to other visitors. The default setting should work with most Wordpress sites, but may need to be updated for certain plugins, or if using a CMS other than Wordpress."

This seems like it would do the trick, except it appears the two cookie values used by your system have a random string attached to the end, so I can't just put in a cookie key. Is that true? 

I can also have the cache bypass certain URLs... but I don't think there's a way for that to work.

Any other insights you can provide would be great. Thanks!



   
ReplyQuote
(@e-schlange)
Member Customer
Joined: 6 years ago
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

One correction: the caching I'm configuring is NGINX caching, not the OPCache. 



   
ReplyQuote
Elvina
(@elvina)
Support
Joined: 7 years ago
Posts: 1403
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

@e-schlange,

Please try to use the wpDiscuz 7, check again and see how it work.

You can download the latest Beta version of wpDiscuz 7 here: https://beta.wpdiscuz.com/

 



   
ReplyQuote
Share:
Scroll to top