1
taherk
ERROR: Displayname taken
  • 2005/7/31 3:35

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


Hello,

I upgraded from 2.0.13 to 2.2 Stable. When ever I try to register a new user it gives an error

ERROR: Displayname taken.

I have tried 10 different combinations. I just can register anyone.

I had this same issue with RC2 also. I see few others have had this issue.

Can anyone from XOOPS provide a solution please.

Thanks a lot

Taher

2
taherk
Re: ERROR: Displayname taken
  • 2005/8/1 21:59

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


bump

3
taherk
Re: ERROR: Displayname taken
  • 2005/8/2 12:58

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


bump

4
Dave_L
Re: ERROR: Displayname taken
  • 2005/8/2 13:20

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Try checking the database to ensure that the name is not already there. You can use this query, where XXXX is the name to be checked.

SELECT * FROM xoops_users WHERE uname='XXXX' OR loginname='XXXX'

5
taherk
Re: ERROR: Displayname taken
  • 2005/8/2 15:36

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


Thanks Dave for taking time to respond.

I checked the table and it has only two users admin and test.

The usernames I am trying to register are real names, not generic like admin, test etc.

When I run the query you mentioned it returns 0 rows. Then why would it give that error on Web.

6
taherk
Re: ERROR: Displayname taken
  • 2005/8/3 16:51

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


bump

7
Dave_L
Re: ERROR: Displayname taken
  • 2005/8/3 17:27

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


[XOOPS 2.2]

That string is defined in modules/profile/language/english/main.php:

define('_PROFILE_MA_DISPLAYNAMETAKEN','ERROR: Displayname taken.');


_PROFILE_MA_DISPLAYNAMETAKEN occurs in one place, in modules/profile/include/functions.php:

...
    if (
$display_count 0) {
        
$stop .= _PROFILE_MA_DISPLAYNAMETAKEN."";
    }
...


If I were experiencing this problem, I would insert some debug code in functions.php to figure out what's going on.

8
taherk
Re: ERROR: Displayname taken
  • 2005/8/6 15:35

  • taherk

  • Just popping in

  • Posts: 78

  • Since: 2005/6/28


Hi Dave,

I am not much of a PHP programmer, just barely get my way around. The reason I am posting on forums is that I just have a plain XOOPS installation with new tables, So I thought many others would have same issue.

I will try to look further. But incase you have suggestions let me know

Taher

Login

Who's Online

336 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 336


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits