SQL Error : 1062 Duplicate entry '0' for key 1

Folosiţi acest forum pentru a discuta problemele apărute în timpul folosirii forumului phpBB 2.0.x.
Închis
bughycluj
Nou venit
Mesaje: 5
Membru din: 26-Ian-2007, 14:08:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Cluj - Napoca
Contact:

SQL Error : 1062 Duplicate entry '0' for key 1

Mesaj de bughycluj »

salut,

am instalat de ceva vreme un forum ,totul a fost ok,db-ul a functionat etc etc.

aseara am primit un telefon cum ca nus emai poate posta pe forum,ca da ceva eroare.m-am uiatt eu prin tabela dar nu i-am dat de cap.

eroarea care o da unui utilizator cand vrea sa posteze ceva este:


Error in posting

DEBUG MODE

SQL Error : 1062 Duplicate entry '0' for key 1

INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES (259, 2, 2, '', 1169812896, 'c1e206b8', 1, 0, 1, 0)

Line : 271
File : functions_post.php




link spre forum : http://www.kumm.ro/forum/

ms mult
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

E un bug MySQL , poate te ajuta acest link : http://bugs.mysql.com/bug.php?id=2027 .
flowers
AdministratorAdministrator
Mesaje: 4641
Membru din: 03-Iun-2004, 17:50:34
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti, România
Contact:

Mesaj de flowers »

Verifica din phpMyAdmin daca ai la tabela phpbb_posts, campul post_id pus pe auto_increment.
bughycluj
Nou venit
Mesaje: 5
Membru din: 26-Ian-2007, 14:08:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Cluj - Napoca
Contact:

Mesaj de bughycluj »

ms,faza cu autoincrement era problema
Închis

Înapoi la “2.0.x Funcţionare”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator