With a default installation, I tried to create a user account. Each time, I get the error "Please enter a username" but the username field is already filled! No matter what I do, I keep getting that error even if all the fields are filled correctly.
-
MODX Staff
- 12,272 Posts
Please provide more information about your server, MODx version, etc. See my signature (help us help you) for more details.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Sorry about that, still kinda new here.
Web Server: Apache
PHP version and how it’s running (suexec, mod_php, CGI, etc.): 5.2.5, mod_php
Operating System and version: centOS 5
Database:
MySQL 5.0.54
List of any tables over 1MB in size
MODx:
0.9.6.1
Any changes you’ve made: none
Any snippets you’re running on the page that is not working properly: none
Any plugins you’re running: none
Browser/Client:Safari 3
Operating System and version: Mac OSX Leopard
-
MODX Staff
- 12,272 Posts
How are you trying to create the user account?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 24,524 Posts
Are you sure that you have the right name for the input field as the value being checked for input? If you look at the source code for websignup.inc.php, it’s looking for
$username = $modx->db->escape($modx->stripTags($_POST['username']));
...
if($username=="") {
$output = webLoginAlert("Missing username. Please enter a user name.").$tpl;
return;
}
...
In your form, you have wsu_username.
Thanks, it works now. I had to remove wsu_ from username, email and password. Just as a note, this was a clean install of MODx, I did no changes. In other words, it came like that so the devs might want to take a look into that.
-
MODX Staff
- 12,272 Posts
Thanks for pointing that out... should be addressed for 0962
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Thanks for the confirmation, I was having the same issue (clean install no changes). Tossed the wsu_ and everything works well now.