Moderator
James Huff
(@macmanx)
Volunteer Moderator
It sounds like you only created an account with the lowest possible user level.
If you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the wp_users table and find the row for your user_login. Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id. Set the value of this row to:
a:1:{s:13:"administrator";b:1;}
Alternatively, try this method to change the original account’s password, as you’ll see its username along the way too: https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin
Tried that but it comes with this message Sorry, you are not allowed to access this page.
-
This reply was modified 7 years, 4 months ago by deljaynie.
And worst my WordPress database tables don’t have the prefix “wp” instead they have “wpjc” for example instead of “wp_capabilities” i have “wpjc_capabilities”
Moderator
James Huff
(@macmanx)
Volunteer Moderator
That’s not really a problem, the tables can have any prefix set in wp-config.php: https://codex.wordpress.org/Editing_wp-config.php#table_prefix
In this case then, it sounds like the safest path would be to restore your access to the original account.
Try this method to change the original account’s password, and you’ll see its username along the way too: https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin
You’ll find phpMyAdmin in your hosting account’s control panel.
It just keeps saying “Sorry, you are not allowed to access this page”. Thanks though for the help.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
That’s after you recovered access for the original account?
If so, repeat the steps from my first reply on that account.