Support Forum

Security popup when doing a couple of actions

DL Dana Logan
Dana Logan
Member

Hello,

I am getting a security popup when I add thanks to a post and when I try to delete a previously uploaded custom icon..  See the pics below..  Thanks

First one when I like a post and second one when I try to delete an uploaded custom icon.  The like does happen but when I get the second on while trying to delete the custom icon does not delete the icon.  Thanks

2016-10-08-at-12.30-PM.jpeg2016-10-08-at-12.32-PM.jpeg

55 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

What happens after you reload as it asks you to?

DL Dana Logan
Dana Logan
Member

It will accept the like, but it never deletes the icons I am trying to delete even after reload.

YS Yellow Swordfish
Yellow Swordfish
Member

Both the operations you are wanting use AJAX scripts. When a page is displayed WordPress assigns what it calls a nonce (a unique key) to each piece of code that uses an AJAX call. The problem with nonces is that they have a limited life. If the page is left on the screen for a while, the nonce can time out leading to it being denied access to the task and ending in the message you see.

So that should explain the original situation,

Now moving on – I have just tried deleting a custom icon and it all seems to be working fine so there is a strong chance that you are also experiencing some sort of script conflict causing the operation not to complete. Can you try it again but this time with the web browser console open looking for any reported errors.

If you need help with that then this FAQ tries to explain how to do it – it is very simple! 

https://simple-press.com/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/

DL Dana Logan
Dana Logan
Member

Thank you..  I think I figured it out.  I had uploaded a couple of icons through ftp and they were the ones that I could not delete through the forum interface.  I deleted those through ftp and now they all work fine.  Thanks so much for your help.  

DL Dana Logan
Dana Logan
Member

I have users complaining about the security popup when adding thanks to a post.  I just logged in and checked it out and I also got the security popup when adding thanks to a post.  I don’t think I was on the page long enough for the nonce to time out.. just a few seconds?

Is there any way to turn the popups off where it won’t show up for my users?

thanks

MP Mr Papa
Mr Papa
Member

sorry, what do you mean by security popup???  does the post get made? 

turning off security checking would not be a wise choice, nor possible…

DL Dana Logan
Dana Logan
Member

Yes, the thanks does get made, but they have to refresh the page every time.  Here is a screenshot..  Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

Well no – you should not get this unless sitting on the page for a really ling time (or – if unlucky – across the boundary of a nonce refresh). And I am unable to replicate this as well.

I know you may not want to actually thank us yet 🙂 – but could you try using the thanks on one of the posts above? Go through the same actions as on your own site and see if you get the popup?

DL Dana Logan
Dana Logan
Member

I think it may have ended up being a plugin..  Checking with my users on this, but it seems not to pop up on me now..  Thanks once again for your fast support.

DL Dana Logan
Dana Logan
Member

Ok, this did not get resolved.  I have deactivated all plugins on my site except for the forum plugin.  I even tested it on different themes.  I used it on the default 2016 WP theme and still have the same problem.  My users are still having the pop up also..  Any suggestions as to where to go now?  Thank you.  It doesnt happen when I add thanks to a post here, so it is something on my site, but I just can’t figure out what..  

MP Mr Papa
Mr Papa
Member

anything in the server php error log as to what failed?

how about on forum – toolbox – error log?