Forums

Cannot post correctly - ID of post is always 1 (2 posts)

  1. Llasse
    Member
    Posted 2 years ago #

    I have installed WordPress 2.8.4 with bbPress not yet working and my own theme.

    When I'm trying to publish a new post, WP shows me an empty wp-admin/post.php and enters two entries in the wp_posts table with the following values:

    ID: 1
    post_author: 1
    post_date 2009-09-15 14:21:02
    post_date_gmt 0000-00-00 00:00:00 2009-09-15 12:21:02
    post_content empty
    post_title Post-test
    post_excerpt empty
    post_status 0
    comment_status open
    ping_status open
    post_password empty
    post_name empty 1-revision
    to_ping empty
    pinged empty
    post_modified 2009-09-15 14:21:02
    post_modified_gmt 0000-00-00 00:00:00 2009-09-15 14:21:02
    post_content_filtered empty
    post_parent 0 1
    guid http://thc.franziskaner-fc.de/wordpress/2009/09/ empty
    menu_order 0
    post_type post revison
    post_mime_type empty
    comment_count 0
    forum_id 1
    topic_id 1
    poster_id 0
    post_text empty
    post_time 0000-00-00 00:00:00
    poster_ip empty
    post_position 0

    In every entry the two entries (although I only pubslished it once) show the same value, except for the ones were I marked the second entry bold. I can't make an sense of this, though, as the guid for the first post is http://thc.franziskaner-fc.de/wordpress/2009/09/ (so not correct) and the second one is empty, whereas the post_date_gmt is 0000-00-00 00:00:00 is also not correct, but the second one shows the correct date filled in.

    On my index-page, TheLoop shows me all older articles (which I made some days ago) correctly, but only shows the heading (as there is no post-content in the database).

    When I try to publish another post, I get an empty wp-admin/post.php again and in the database there is the post with that shares the same values that the first entry of the problem I showed above. (ID:1, post_date_gmt: 0000-00-00 00:00:00, guid empty etc.)

    In my admin-dashboard, WP shows me, that there are 0 Posts, although I can see them in the wp-admin/edit.php, however, I cannot edit them (redirect to edit.php)

    I hope you can understand what my problem is, and I'm really looking forward for some help..

    Regards,
    Lasse

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Since it's new, I'd DROP all the WordPress database tables, then do the wp-admin/install.php again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.