Topic: Register problem
Hi What should I do with my postgre base when I got this error:
Database reported: ERROR: duplicate key value violates unique constraint "pun_users_pkey"
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
Hi What should I do with my postgre base when I got this error:
Database reported: ERROR: duplicate key value violates unique constraint "pun_users_pkey"
This error means that the forum tried to add new a user upon registration with an existing id. What mods have you got installed?
Is it possible to change value of pun_users_pkey?? I'm using PostgreSql.
This error appear when I tried to add new mod Anti-bot, beacause some Russian Bots (I think) registering on my forum.
I have already installed User Diaries, Users Online and Upload Images and as I remember everything works fine.
Last edited by tomasz (2009-04-02 11:28:34)
Setting the id count would affect the pkey setting. However, if you haven't suffered this problem previously, I'd be looking at that mod, not altering the DB to work around something which seems broken, as it will break things again if so.
heh it's not the mod ;p
I've check and after manualy deleting some users from database I've forgot to change users_seq ;p
I was searching this in users table but it was in main"directory" of database:P
problem solved
thx for Your time.
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.