Forums

newly Created Post's go straight to the Draft folder (4 posts)

  1. gatwick-villa
    Member
    Posted 4 years ago #

    I'm having a problem, that is doesnt appear to be directly related to version 2.5 itself, more since I have migrated to a different server, which inclused phpv5 in stead of phpv4, since this migration, any post's anyone creates, wont automaticly save when you have entered the title, and when clicking publish, they go straight to the drafts folder, and are non editable, and infact will not load up into the write screen once they appear in the drafts folder.

    Any ideas ?

    also, how do i insert a small bit of javascript without it effecting the layout of the blogg?

  2. gatwick-villa
    Member
    Posted 4 years ago #

    still nothing, This also effects comments on the blogg also, it may be of interest to note that this has moved to a different server, with the same domain name, but instead of php4 it's got php5 installed.

  3. gatwick-villa
    Member
    Posted 4 years ago #

    I have been onto my VSP provider and this is what he has come up with:

    Hello,

    This entry if from your error log located at Plesk > domain.com > Log Manager > error_log

    [Thu Apr 17 21:24:42 2008] [error] [client 89.137.123.138] WordPress database error Duplicate entry '0' for key 1 for query INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_content_filtered,post_title,post_excerpt,post_status,post_type,comment_status,ping_status,post_password,to_ping,pinged,post_modified,post_modified_gmt,post_parent,menu_order,guid,post_mime_type) VALUES ('1','0000-00-00 00:00:00','0000-00-00 00:00:00','','','Testing','undefined','draft','page','open','open','','','','2008-04-17 21:24:42','2008-04-17 20:24:42','0','0','','') made by wp_insert_post, referer: http://www.gatwick-villa.com/wp-admin/page-new.php
    [Thu Apr 17 21:24:46 2008] [error] [client 89.137.123.138] WordPress database error Duplicate entry '0' for key 1 for query INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_content_filtered,post_title,post_excerpt,post_status,post_type,comment_status,ping_status,post_password,post_name,to_ping,pinged,post_modified,post_modified_gmt,post_parent,menu_order,guid,post_mime_type) VALUES ('1','0000-00-00 00:00:00','0000-00-00 00:00:00','123','','Testing','','draft','page','open','open','','','','','2008-04-17 21:24:46','2008-04-17 20:24:46','0','0','','') made by wp_insert_post, referer: http://www.gatwick-villa.com/wp-admin/page-new.php

    This is when i try to post a page.

    This is when i try to write a post:

    [Thu Apr 17 21:21:41 2008] [error] [client 89.137.123.138] WordPress database error Duplicate entry '0' for key 1 for query INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_content_filtered,post_title,post_excerpt,post_status,post_type,comment_status,ping_status,post_password,to_ping,pinged,post_modified,post_modified_gmt,post_parent,menu_order,guid,post_mime_type) VALUES ('1','0000-00-00 00:00:00','0000-00-00 00:00:00','','','testing','undefined','draft','post','closed','closed','','','','2008-04-17 21:21:41','2008-04-17 20:21:41','0','0','','') made by wp_insert_post, referer: http://www.gatwick-villa.com/wp-admin/post-new.php
    [Thu Apr 17 21:21:52 2008] [error] [client 89.137.123.138] WordPress database error Duplicate entry '0' for key 1 for query INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_content_filtered,post_title,post_excerpt,post_status,post_type,comment_status,ping_status,post_password,to_ping,pinged,post_modified,post_modified_gmt,post_parent,menu_order,guid,post_mime_type) VALUES ('1','0000-00-00 00:00:00','0000-00-00 00:00:00','123','','testing','','draft','post','closed','closed','','','','2008-04-17 21:21:52','2008-04-17 20:21:52','0','0','','') made by wp_insert_post, referer: http://www.gatwick-villa.com/wp-admin/post-new.php

    So it seems the problem is the auto_increment field missing from the DB.

    Best Regards,

  4. jnlefebvre
    Member
    Posted 3 years ago #

    I have the same problem.
    Were you able to solve? How?
    Thanks.
    Best regards,

Topic Closed

This topic has been closed to new replies.

About this Topic