Eroare la deschiderea unui topic nou
Scris: 13-Sep-2007, 13:34:51
Am un forum pe xhost. L-am reinstalat si am pus versiunea noua de phpbb 2.0.22 pe curat(inainte aveam instalate MOD-uri ca: at a glance, attachement mod, split topic type, antispam the humanizer, Links mod, stilul folosit inainte era aqua, stilul recent este subSilver). Dupa instalarea pe curat a forumului, am dat restore la baza de date veche.
Apoi cand am incercat sa deschid un topic nou si sa postez imi apare urmatoarea eroare:
Error in posting
DEBUG MODE
SQL Error : 1062 Duplicate entry '0' for key 2
INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Reinstalare forum', 2, 1189672948, 30, 0, 1, 0)
Line : 227
File : functions_post.php
La linia 227 din includes/functions_post.php imi apare asa:
if (!$db->sql_query($sql))<br>
Cum pot rezolva problema?
Apoi cand am incercat sa deschid un topic nou si sa postez imi apare urmatoarea eroare:
Error in posting
DEBUG MODE
SQL Error : 1062 Duplicate entry '0' for key 2
INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Reinstalare forum', 2, 1189672948, 30, 0, 1, 0)
Line : 227
File : functions_post.php
La linia 227 din includes/functions_post.php imi apare asa:
if (!$db->sql_query($sql))<br>
Cum pot rezolva problema?