1
desubri
Cannot create new users
  • 2004/5/14 12:04

  • desubri

  • Just popping in

  • Posts: 10

  • Since: 2003/8/25


hi,

When people try to register at my website, or if i manually try to create new users, XOOPS says it cannot create a new user. That's the only thing i get back, is there a way how i can find out what the problem is that it can't create new users?

2
DonXoop
Re: Cannot create new users

Any errors shown with debug turned on?

Common reasons I've seen this happen is from using the gzip option in Admin/System/Prefs/General. Turn that off. Other reasons are from using PHP's zlib Output Compression (same issue as gzip I think).

3
desubri
Re: Cannot create new users
  • 2004/5/14 21:31

  • desubri

  • Just popping in

  • Posts: 10

  • Since: 2003/8/25


hi, i turned debug on, and it seems that it hangs on uid .

The value of this key must be zero.

SELECT FROM xoops_config WHERE (conf_modid AND conf_catid 1ORDER BY conf_order ASC 
SELECT sess_data FROM xoops_session WHERE sess_id 
'b1338d282f1ac9d62e159294f765a416' 
SELECT FROM xoops_users WHERE uid=
SELECT 
FROM xoops_modules WHERE dirname 'system' 
SELECT FROM xoops_modules WHERE dirname 'pbboard' 
SELECT FROM xoops_modules WHERE dirname 'system' 
SELECT COUNT(*) FROM xoops_users WHERE uname 'digita2' 
SELECT FROM xoops_config WHERE (conf_modid AND conf_catid 4ORDER BY conf_order ASC 
[color=CC0000]
INSERT INTO xoops_users (uidunamenameemailurluser_avataruser_regdateuser_icquser_fromuser_siguser_viewemailactkeyuser_aimuser_yimuser_msnmpasspostsattachsigranklevelthemetimezone_offsetlast_loginumodeuordernotify_methodnotify_modeuser_occbiouser_intrestuser_mailokVALUES (0'digita2''''''''blank.gif'1084572675''''''0'''''''''bfe4f2d99be98c7b1ed8cc2321fc7af7'0001''1.000'nest'110''''''0)
Error number1062
Error message
Duplicate entry '0' for key 1 
[/color]
SELECT FROM xoops_group_permission WHERE (gperm_name 'module_admin' AND gperm_modid AND (gperm_groupid OR gperm_groupid 2))



Is there a way to manually set it to another number?

Thanks
desubri

4
desubri
Re: Cannot create new users
  • 2004/5/18 21:34

  • desubri

  • Just popping in

  • Posts: 10

  • Since: 2003/8/25


Does anyone know the answer of the my question?

5
Dave_L
Re: Cannot create new users
  • 2004/5/18 22:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Quote:
Error message: Duplicate entry '0' for key 1

That sounds like the auto-increment attribute is missing for the uid column. Can you check that with phpMyAdmin or the equivalent?

6
glaringwolf
Re: Cannot create new users
  • 2004/5/19 0:53

  • glaringwolf

  • Just popping in

  • Posts: 6

  • Since: 2004/5/19


I have the same problem but for my was working till last 2 weeks.
Can somebody help me ?

7
desubri
Re: Cannot create new users
  • 2004/5/19 13:21

  • desubri

  • Just popping in

  • Posts: 10

  • Since: 2003/8/25


Quote:
That sounds like the auto-increment attribute is missing for the uid column. Can you check that with phpMyAdmin or the equivalent?


Yep it was turned off, thanks

8
irmtfan
Re: Cannot create new users
  • 2004/5/19 13:31

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


maybe this problem related to firewalli
i and some of my users have this problem with firewall
and u must define ur site for norton firewall (or another) or u can disable it.

9
solo71
Re: Cannot create new users
  • 2004/5/19 14:24

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Last month one of our member had the same problem. It was linked to the "username restiction" in the XOOPS settings.

Have you changed something there recently?


10
glaringwolf
Re: Cannot create new users
  • 2004/5/21 0:12

  • glaringwolf

  • Just popping in

  • Posts: 6

  • Since: 2004/5/19


Was working before ok . I was not in admin area for a month and just happened.
Now I was in admin area at preferences-user info seting and play there but nothing change.
I manage to create a new id from admin area.
I don’t know if is the fire wall. I was trying for 3 or 4 comp to create the id.
About "username restiction" in the XOOPS settings I don’t know where is that.
Hoppe in help.

Login

Who's Online

109 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 109


more...

Donat-O-Meter

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

Latest GitHub Commits