I’m sorry if I wasn’t clear in my instructions. I’ve modified them to add a few warnings.
It’s not a bad idea to Export the DB in PhpMyAdmin before messing with security so you can easily get back to where you started.
It’s hard to tell exactly what you did because there are several things that would put you in that situation. I’m kind of guessing here, OpenGeek could give you a better answer, but I think this will do it. Before each step, delete the browser cache and cookies. You may have to delete the files in /core/cache/ also (everything but index.php). Check after each step (if you alter anything) to see if things are fixed.
FYI, If you didn’t delete the admin user from the Administrators user group, then you either assigned a role with too high a number or a minimal access policy to that user, or edited the Administrator policy (to be avoided).
You’ll have to do some work in PhpMyAdmin
First, check the modx_user_group_roles table. The second entry should be the Super User. Make sure the authority level is 0.
If not, making it 0 might fix things.
Next, look at the modx_user_groups table. The first entry should be 1 1 1 2
Next, check the modx_access_context table.
The first two entries should look like this:
1 mgr modUserGroup 1 0 2
2 web modUserGroup 1 0 2
If that doesn’t do it, look in the modx_access_policies table. The data field for the Administrator policy should look like this. If it doesn’t, you could paste it in in PhpMyAdmin:
{"about":true,"access_permissions":true,"action_ok":true,"actions":true,"change_password":true,"change_profile":true,"charsets":true,"content_types":true,"countries":true,"create":true,"credits":true,"customize_forms":true,"database":true,"database_truncate":true,"delete_category":true,"delete_chunk":true,"delete_context":true,"delete_document":true,"delete_eventlog":true,"delete_plugin":true,"delete_propertyset":true,"delete_snippet":true,"delete_template":true,"delete_tv":true,"delete_role":true,"delete_user":true,"edit_category":true,"edit_chunk":true,"edit_context":true,"edit_doc_metatags":true,"edit_document":true,"edit_locked":true,"edit_parser":true,"edit_plugin":true,"edit_propertyset":true,"edit_role":true,"edit_snippet":true,"edit_template":true,"edit_tv":true,"edit_user":true,"element_tree":true,"empty_cache":true,"error_dialog":true,"error_log_erase":true,"error_log_view":true,"export_static":true,"file_manager":true,"file_tree":true,"flush_sessions":true,"frames":true,"help":true,"home":true,"import_static":true,"languages":true,"lexicons":true,"list":true,"load":true,"logout":true,"logs":true,"manage_metatags":true,"menus":true,"messages":true,"namespaces":true,"new_category":true,"new_chunk":true,"new_context":true,"new_document":true,"new_document_in_root":true,"new_plugin":true,"new_propertyset":true,"new_role":true,"new_snippet":true,"new_template":true,"new_tv":true,"new_user":true,"package_builder":true,"packages":true,"property_sets":true,"providers":true,"publish_document":true,"purge_deleted":true,"remove":true,"remove_locks":true,"resource_tree":true,"save":true,"save_category":true,"save_chunk":true,"save_document":true,"save_parser":true,"save_password":true,"save_plugin":true,"save_propertyset":true,"save_role":true,"save_snippet":true,"save_template":true,"save_tv":true,"save_user":true,"search":true,"settings":true,"steal_locks":true,"undelete_document":true,"unpublish_document":true,"unlock_element_properties":true,"view":true,"view_category":true,"view_chunk":true,"view_context":true,"view_document":true,"view_element":true,"view_eventlog":true,"view_offline":true,"view_plugin":true,"view_propertyset":true,"view_role":true,"view_snippet":true,"view_sysinfo":true,"view_template":true,"view_tv":true,"view_user":true,"view_unpublished":true,"workspaces":true}
If everything else fails, you could do another install of MODx (using the same username and password for the admin), Export the modx_access* and modx_user* tables (but NOT modx_users or modx_user_attributes), and Import them into your site.
Hope this helps.