good day dear Friends - hello dear experts
no access to admin-page: “Sorry, you are not allowed to access this page” - what could fix this?
i am facing a very interesting issue: logged in, but WordPress says:
“no access to admin-page: “Sorry, you are not allowed to access this page”
well - what could fix this funny issue?
note: i ve had a issue with the creating of salt .. but this is fixed now
And yes: i am now really close to the finish line now – ive ’ve finally overcome the most difficult problem (password_hash).
Now we just need to clear the WordPress layer.
Well - what i have tried - i did a whole lot - to get things nailed down - but untill now i have no luck i cannt access the Admin-Area!?
i tried to run serveral SQL-Commands:
**: User Level to set new ** hmm - i …
good day dear Friends - hello dear experts
no access to admin-page: “Sorry, you are not allowed to access this page” - what could fix this?
i am facing a very interesting issue: logged in, but WordPress says:
“no access to admin-page: “Sorry, you are not allowed to access this page”
well - what could fix this funny issue?
note: i ve had a issue with the creating of salt .. but this is fixed now
And yes: i am now really close to the finish line now – ive ’ve finally overcome the most difficult problem (password_hash).
Now we just need to clear the WordPress layer.
Well - what i have tried - i did a whole lot - to get things nailed down - but untill now i have no luck i cannt access the Admin-Area!?
i tried to run serveral SQL-Commands:
**: User Level to set new ** hmm - i guess that i delete first and step the new data:
Code:
DELETE FROM kampa1.wp_usermeta
WHERE user_id = 3 AND meta_key = 'wp_user_level';
INSERT INTO kampa1.wp_usermeta (user_id, meta_key, meta_value)
VALUES (3, 'wp_user_level', '10');
well i a next step i think i could
: Reset User Levels
that means that i could now delete and reset:
Code:
DELETE FROM kampa1.wp_usermeta
WHERE user_id = 3 AND meta_key = 'wp_user_level';
INSERT INTO kampa1.wp_usermeta (user_id, meta_key, meta_value)
VALUES (3, 'wp_user_level', '10');
and subsequently i think it would be a option to
** WordPress Recompute Capabilities**
WordPress sometimes caches roles. Therefore, i think it would be necesary to reset the cache key:
Code:
DELETE FROM kampa1.wp_options
WHERE option_name = 'wp_user_roles';
but - well i still struggle with the error - what causes WordPress to recreate the role system.
belive me at the moment i face the issue: 🔹 Still “Access Denied”
or 🔹 Are you now able to access the backend?
so at the moment i can log in - as a user that has the “admin capabilities”:
( one that has got but then i get: -.while attempting to access the admin -page with www.mypage.com/wp-admin.php
“Sorry, you are not allowed to access this page.”
hmm - well this means:my Login is correct
but besides this: WordPress does **not** recognize you as an administrator ➡So the problem is **no longer on the server**,(note ive had that in earlier times) but **within WordPress**, specifically with the user’s metadata.
how to fix this permanently now – directly in the database.
questions that arise:
could it have to do with the admin-role?! That said i think it could be a multi-stage process that i have to run through:
a week ago i struggled with the issue that the wp did not creat hash - at the login: now it works - with (after the ) following changes see the link: https://forums.anandtech.com/thread...password_hash-cannot-generate-a-salt.2632690/
Code:
ARGON HASH OUTPUT: [$argon2id$v=19$m=65536,t=4,p=1$K4TeU6SzVTtPOkr7TCkTnw$7D4pQ0m/JT71ihkoyk+bpcq1oJldk7P7wr6+UHQXrkQ]
phpinfo() relevant excerpts
PHP-Version: 8.4.14
open_basedir:
disable_functions:
session.entropy_file:
session.entropy_length:
Any ideas - what can solve the issue with the error that the system throws:
but at the moment i do not have any access to the admin-area will continue to work tomorrow -a nd i will keep you informed
look forward to hear from you thanks for any and all tipp
greetings