$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>User saved through Wordpress backend does not show up in database table users|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

User saved through Wordpress backend does not show up in database table users

matteradmin10PV0评论

I am troubleshooting WordPress installation. When I save the user through the user interface in Wordpress, the newly created user does not show up in the user table in the database. The strange thing is that I can log in with the new user to WordPress backend. When I create a user directly in the DB (users + usersmeta), I cannot log into the WordPress. Database information in the config.php is correct and I am login into the database I am working on. The one discrepancy I am finding is the table prefix in the config file: 'wp_' in the config and in the database the prefix is different. So far I have tried creating new database admin accounts to see if it a matter of user rights. I have contacted hosting provider's staff to check if there are any redirections or other issues. I have also checked the files for other config.php files and also checked other databases on the hosting server. Did anyone have similar experiences? The website is a few years old. Thank you in advance.

I am troubleshooting WordPress installation. When I save the user through the user interface in Wordpress, the newly created user does not show up in the user table in the database. The strange thing is that I can log in with the new user to WordPress backend. When I create a user directly in the DB (users + usersmeta), I cannot log into the WordPress. Database information in the config.php is correct and I am login into the database I am working on. The one discrepancy I am finding is the table prefix in the config file: 'wp_' in the config and in the database the prefix is different. So far I have tried creating new database admin accounts to see if it a matter of user rights. I have contacted hosting provider's staff to check if there are any redirections or other issues. I have also checked the files for other config.php files and also checked other databases on the hosting server. Did anyone have similar experiences? The website is a few years old. Thank you in advance.

Share Improve this question asked Oct 27, 2018 at 17:24 eikzeikz 1
Add a comment  | 

1 Answer 1

Reset to default 0

I am posting my findings hoping that someone will find it helpful. After checking the database for the umpteenth time, I have realised, that there have been other installations in the same database. All of them not in use and long forgotten. Everything has been saved in the database in the tables with the correct prefix, there were just so many tables! It was a project for someone else and I simply did not realise in the first place that there were more installations in the same db.

The database was correct and all information found.

Post a comment

comment list (0)

  1. No comments so far