WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts appearing twice after post.php shows blank page (5 posts)

  1. wolfstad
    Member
    Posted 8 years ago #

    For a while now I have been having many problems with WordPress.

    Since a few days posts are appearing twice. This is what happens: I click Publish to publish the new post, and the browser starts loading. This takes a long time. If in another window I check my site the posts is there right away. The admin window takes about a minute to finish loading, and then returns a blank page. At THAT time when I go back to my site the post is there TWICE. So it is not published twice right away, but it takes a while as post.php is busy.

    Does anyone know what could be causing this?

    Thanks,
    Arthur

  2. obeattie
    Member
    Posted 8 years ago #

    Try changing the line:

    <?php while (have_posts()) : the_post(); ?>

    to

    <?php while (have_posts()) : the_post(); $do_not_duplicate = $post->ID; ?>

    in your tmplate files.

  3. wolfstad
    Member
    Posted 8 years ago #

    Thanks, but this doesn't help. The duplicate posts are actually in the database with unique IDs.

    It looks like post.php is publishing them twice.

    PS: I have no plug-ins installed or made any mods. I have four different installations with the same host that all give the same symptoms: Dashboard broken, post.php gives blank page, RSS feeds don't work, and duplicate posts.

  4. wolfstad
    Member
    Posted 8 years ago #

    Anyone?

  5. wolfstad
    Member
    Posted 8 years ago #

    These problems have now been resolved. It turned out that my host had upgraded to PHP 4.4.1 about a month ago when all the problems started. I found this out by running <?php phpinfo(); ?>

    They just upgraded to PHP 4.4.2 and all the problems are gone. :o)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags