Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Access denied - ajax nonce check failed
Avatar
Bluedrake42
Member
sp_UserOfflineSmall Offline
Feb 5, 2016 - 11:18 pm

Access denied - ajax nonce check failed

Do you need to log in? (Log in)

Randomly started getting this error whenever trying to do anything with the forums. Can't seem to edit or create any forums, or make any changes. It just kicks me out to the home page every time I try to do anything.

Avatar
Bluedrake42
Member
sp_UserOfflineSmall Offline
Feb 5, 2016 - 11:39 pm

Its it just possible to purchase an install? We're having so many issues with this installation of Simple:Press, it seems like one break after another. I'd very much like someone to reinstall it properly, and ensure all the SP components are working, than to just keep tinkering with bugs like this one at a time.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 6, 2016 - 2:22 am

Before going down that route - which we could do but most probably is not necessary.

This is not a bug. It's just a pain and a nuisance. It is WordPress being, well... WordPress. If you leave your WP  administration on any page or panel that is filled by Ajax calls too long,  and then come back to use it without refreshing the whole page, then you will get some sort of nonce or permission error. Imagine the nonce is a security key - after a while it runs out and is no longer valid. It happens to us all.

After such ,a pause what you need to do is to reload the whole page - that is use the WordPress Admin menu over on the left to reload whatever you are using. This will be the case for most SP Admin panels bit also other plugins where similar constructs are used - like tabbed forms for example.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Bluedrake42
Member
sp_UserOfflineSmall Offline
Feb 6, 2016 - 1:14 pm

Well keep it in mind, because a full reinstall might fix some of the other issues we've been having (still can't send private messages properly, and tagging doesn't seem to work correctly either)

So I don't understand, is there a quick fix for this then? How do you pause? Not sure if I comprehend.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2016 - 1:27 pm

you would have to ask wp... the nonces are theirs and they have a limited life (few hours)...

not sure I understand the pause question... what do you want to pause?

Andy was saying that if you have been sitting on a page for a long time (overnight or while you ate dinner), the wp nonce may have expired hence the message...  if you are saying you just get it between two subsequent page loads or actions, then something odd would be happening...

do you have any custom login plugins or actions?  do you run any kind of security plugin? what about mod_security on your server?  any caching?

how long has the forum been going?  a full reinstall would of course wipe any existing data...

Avatar
Bluedrake42
Member
sp_UserOfflineSmall Offline
Feb 6, 2016 - 2:10 pm

Yeah I've been getting it every time for two entire days now.

"After such ,a pause what you need to do is to reload the whole page"

Maybe I misunderstood, I saw that and thought maybe pause meant something.

However yeah, its not one or two page loads. Its happening to every single admin we have, no matter if I log out, refresh, or anything.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2016 - 2:13 pm

for some reason wp is confused, it seems... that is their message... of course, we create the nonces using wp api...

and my other questions?  mod_security on server?  cache? plugins that deal with members, logins, etc??

if you want to provide access to us, we can take a look...  pm the details for temp wp admin and sp admin account to Andy, Ike and Mr Papa...  make sure to link back to this topic so we know what its about...  include url to your site of course too...

Avatar
Bluedrake42
Member
sp_UserOfflineSmall Offline
Feb 6, 2016 - 2:20 pm

Sure thing, I'll give you my account. Because right now I can't give anyone admin to SP haha since its not letting me access the backend correctly.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2016 - 2:50 pm

okay, I have to run out after lunch - woot, afternoon/night out with the wife... but will try to take a quick look...  Andy/Ike may have more time...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2016 - 3:12 pm

was able to take a quick look before I have to run out... there is something wrong with your wp...  most of your wp admin page are throwing errors...  not just sp pages... even the wp dashboard...

you are getting a bunch of network errors and 500 internal server errors...  most of the time is coming from the wp admin load-scripts.js file...  seems related to whenever you have an ajax response on pages..

might be worth turning off script concatenation in admin by adding

define(‘CONCATENATE_SCRIPTS’, false);

to your wp-config.php file and see if that does anything...  seems to be fair number of reports of this causing issue in wp...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625