Editing name errors
Posted: Sun Nov 10, 2013 12:39 pm
I got my Zuluru install set up and working (with a bit of kicking and fighting) and logged into it with the admin account ("admin"/"password").
Now, when I log in, the system immediately asks me to edit my incomplete profile (all fine and good really -- URL like http://myhost.com/Z/index.php/people/edit ). I fill in the details, put in a name in the first name and last name fields, and get this lovely error on both first and last name (the image is of the 3rd or 4th try with different names I had):
"Names can only include letters, numbers, spaces, commas, periods, apostrophes and hyphens."
As best I can tell from looking at it, "Bob" includes only letters, so should not be an issue...
EDIT:
Inline followup #1:
With debug on, I get this warning across the top of the screen (I didn't notice it at first, I blame my Sunday morning eyes!):
Now, when I log in, the system immediately asks me to edit my incomplete profile (all fine and good really -- URL like http://myhost.com/Z/index.php/people/edit ). I fill in the details, put in a name in the first name and last name fields, and get this lovely error on both first and last name (the image is of the 3rd or 4th try with different names I had):
"Names can only include letters, numbers, spaces, commas, periods, apostrophes and hyphens."
As best I can tell from looking at it, "Bob" includes only letters, so should not be an issue...

EDIT:
Inline followup #1:
With debug on, I get this warning across the top of the screen (I didn't notice it at first, I blame my Sunday morning eyes!):
This seems to be found at line 44 of models/user.php and NAME_REGEX seems to be found at app_model.php (line 39). Is there any logical reason that one isn't pulling in the other?Use of undefined constant self::NAME_REGEX - assumed 'self::NAME_REGEX'