Wow – someone had the same problem 4+ years ago!
Those strings are not in the normal translations files as they are available to translate on the forum admin > profiles > tabs and menus admin panel. But NOT the slugs. And therein lies the puzzle.
Wow – someone had the same problem 4+ years ago!
Those strings are not in the normal translations files as they are available to translate on the forum admin > profiles > tabs and menus admin panel. But NOT the slugs. And therein lies the puzzle.
I might be on to something here… will keep you informed.
Can we confirm that you translated the profile tab and menu names in the forum admin?
Sounds good 🙂
I am not sure what you mean with “you translated the profile tab and menu names”. I think the translations were made somewhere else. But I attached a screenshot from the menu item you wrote.
I did not set up the forum. My client just came to me because of this issue. So I am not too much into the whole system.
Would be great if you could figure out the issue 🙂
Yes – you can see those labels are no longer in English and have been translated. And that means I do know what the problem is. Just amazed that this has not come up before now.
hmmm… @yellow-swordfish didnt let me know what the issue was, so we likely need to wait until he returns tomorrow… I am still unable to replicate the issue…
you say you are using the sp admin translations? based on the image, cannot tell.. do so a few words translated but guessing the german admin translation is incomplete since many are not..
for the poster in the link I gave, the key was having the admin translations loaded, but not having the admin actually translated.. sounds like you dont have same situation…
forum – toolbox – housekeeping, when resetting the profile tabs and menus, should reset everything – not sure how its not… but after doing that, the profile tabs and menus wouldnt be translated… they get translated on forum – profile – profile tabs and menus… they are not in any translation file…
still playing and will come back, but hate to spend a lot of time if @yellow-swordfish already knows the issue…
I’ve found a way to replicate it (at least in my environment)
1. Housekeeping – resetting profile doesn’t fix the saving issue so i ve uninstalled all translation via simple-press language page.
2. Resetting profiles now works and you can save your data.
3. Install the translations again
4. Reset profiles in housekeeping page
5. I ve the issue again
I think there is something that translates the slugs at housekeeping process. I’ll probably check the code when i’m at home.
As said over the last few posts – we have found the cause. Now it is just a matter of deciding the best way to fix it.
those strings never should have been translatable… the profile tab and menu panel was where translations or renaming was to have occurred… somewhere, I think, we noticed some untranslated strings and made them translatable and thus breaking it… still discussing the fix, but likely we will remove them from the translations file – its the safest… but may require users to retranslate them… no clear cut choice…
So you are aware of this issue right? Can you already say until when it will be fixed? Just to tell my client. I guess the fix comes with the next update then?
Thank you for taking care about this! 🙂
The problem was fixed in the 5.7.5 version released last weekend.
But it does restore the way Profiles were intended to be translated all along which is by using the forum admin > profiles > profiles tabs and menus control panel. They should never have been added to the PO file for translation.
So to rectify, you need to use the toolbox housekeeping task to reset them and then the above admin panel to translate them. This allows for a much looser and personalised translation as well of course.
You will also need to update any Simple:Press plugins that may create profile panels before performing the reset.
Ok great!
I made the updates and reset the profile. Looks good now! Thanks a lot!!!
But: I still have one issue where I hoped it would be fixed by this fix too. After updating any profile data and clicking to another menu item there is the message:
——-
Access denied – security check failed
Unable to complete the request
Please reload the page and retry the operation
——-
It works after reloading the page. But not directly after updating any profile data. Any idea what this could be?
It is that last bit that bothers me. Why it should work on a page refresh makes little sense when one considers the main reasons the call fails.
Basically the message is telling you that the WordPress ‘nonce’ has been checked by the post data routines and found to be incorrect. One reason could be that the URL we are sending is getting trashed by some third party process. We have seen this before now.
Another possibility would be the use of mod_security on the server which is the bane of any developers life! You should check with your hosting support on whether this module is active and could it be the culprit.
Bot then we come back to the fact that when you refresh the page again – the data gets saved and it works. Which it means it must be using the same url and the dame post-save routines. @mr-papa – any ideas on this one? it doesn’t seem to make a lot of sense to me?
I thought about the “nonce” thing too. And I was hoping that as soon as the urls are fixed it would work again. Did you find a solution for this already?
I will check the “mod_security” thing with the hoster…
not sure what solution we are looking for… no known problem yet.. its an isolated case so far, so need to understand what might be going on specific to your server or configuration… unless its just another symptom of a security or plugin trashing query args but this one reacts quite differently…
and as Andy said, not sure how it could possibly work on a refresh… shouldnt kick off the ajax request again…. doesnt make much sense..
when you get the security warning, what is the ajax response via the browser console? the actual ajax request sent might be useful too just to verify its correct…
Hey, I didn’t text for a while but the issue is still there.
So after changing the password in the profile settings and clicking somewhere else in the profile (here: Edit photos), this error occurs:
Access denied – security check failed
Unable to complete the request
Please reload the page and retry the operation
When I look to the error log it shows a nonce error:
Nonce Security Alert
profile: failed nonce check
| action | profile |
| tab | profile |
| menu | edit-photos |
| user | 397 |
| rand | 1677665145 |
| _wpnonce | b34c921c10 |
Does this help to find a solution for this issue?
Best,
Mike