Jump to content

Problem with post function


betman_kizo

Recommended Posts

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

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.