Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.