betman_kizo Posted July 19, 2009 Share Posted July 19, 2009 Hi all, this is my first message on this forum ! Like first, to say that I don`t have a clue about PHP. I have a forum and suddenly it started to make problems to me - I can make "replay" but can`t make "new post" - every time when I try to do that I receive this message: General Error Error in posting DEBUG MODE SQL Error : 1062 Duplicate entry '749' for key 1 INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('test12', 3, 1248035422, 2, 0, 0, 0) Line : 228 File : functions_post.php Can you help me, what should I do?? ("test12" is the name of new post I tryed to post) Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/166543-problem-with-post-function/ Share on other sites More sharing options...
ignace Posted July 19, 2009 Share Posted July 19, 2009 SQL Error : 1062 Duplicate entry '749' for key 1 http://sql-info.de/en/mysql/gotchas.html#1_2 Link to comment https://forums.phpfreaks.com/topic/166543-problem-with-post-function/#findComment-878284 Share on other sites More sharing options...
betman_kizo Posted July 20, 2009 Author Share Posted July 20, 2009 Like first, to say that I don`t have a clue about PHP. Sorry mate, it doesn`t help me...as I said, I don`t have a clue about PHP, if ypou could just tell me what I should do...thx. Link to comment https://forums.phpfreaks.com/topic/166543-problem-with-post-function/#findComment-878372 Share on other sites More sharing options...
ignace Posted July 22, 2009 Share Posted July 22, 2009 The behaviour of auto-increment is not defined if a user gives a negative value to the column or if the value becomes bigger than the maximum integer that can be stored in the specified integer type. -- http://dev.mysql.com/doc/mysql/en/InnoDB_auto-increment_column.html This may have several reasons, however have you made changes in your db like the next auto_increment value for table phpbb_topics? Link to comment https://forums.phpfreaks.com/topic/166543-problem-with-post-function/#findComment-880338 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.