• Hi,

    I recently changed the domain of my blog and merged wordpress over to new hosting and a new domain.

    I imported the sql database to the new hosting and it’s all set up fine – however whenever anyone goes to post a comment it displays a blank page, and I haven’t been receiving the usual 50 spam comments a day!

    If anyone could take a look and advise I’d be so grateful.

    The URL is: http://koko.pelli.co.uk

    Please feel free to do a dummy post if you need

    Many thanks

    S

Viewing 13 replies - 1 through 13 (of 13 total)
  • The site doesn’t load for me. Looks like it’s missing the nameservers. link

    Thread Starter simonbailey

    (@simonbailey)

    Hi drmike, could you explain what this means?

    Sorry

    Thread Starter simonbailey

    (@simonbailey)

    Is that because you entered the sub-domain?

    If you enter http://www.pelli.co.uk it seems to return a DNS report?

    You don’t have a comment link

    Thread Starter simonbailey

    (@simonbailey)

    Hi Sweet,

    Could you explain that more? I’m not sure I understand – the comment link has been rewritten “No Love” under each post.

    Thread Starter simonbailey

    (@simonbailey)

    Anyone have any ideas on this prob?

    Thread Starter simonbailey

    (@simonbailey)

    bump

    Thread Starter simonbailey

    (@simonbailey)

    Still anyones guess πŸ™‚

    Any ideas brainy people?

    Thread Starter simonbailey

    (@simonbailey)

    Sorry, just wanna bump this again incase anyone can help πŸ™

    That happened to mee too after a backup restore from my host. The host solved the problem, telling me that they turned some filters off – I really don’t know what that means – try to ask you new host!

    Thread Starter simonbailey

    (@simonbailey)

    Strange, I will try them thanks although I don’t think that would be the problem, when I switched hosting, I switched my other blog the same way and I can post comments on there fine:

    http://www.pet-detectives.co.uk

    Thread Starter simonbailey

    (@simonbailey)

    Figured it out .. it’s the way I have set up my comments in my code.. all a bit back to front, can’t figure it out: here is the existing code

    <?php get_header(); ?>

    <div id=”wrapper”>

    <div id=”black”>

    <div id=”left_logo”>
    <img src=”/images/archives.gif” alt=”View Kokopelli Archives” />
    <!– left logo close –></div>

    <?php include (“http://koko.pelli.co.uk/navigationblack.php&#8221;); ?>

    <div id=”blog”>

    <div class=”blog_divide”></div>
    <?php include (“http://koko.pelli.co.uk/recentphotosleft.php&#8221;); ?>
    <div class=”blog_divide”></div>

    <div class=”comments”>
    <p>This amazingly un/interesting post was filed lovingly under <?php the_category(‘, ‘) ?>. If you’re mad, you can follow any responses to this entry through the <?php comments_rss_link(‘RSS 2.0’); ?> feed.</p>

    <p><?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can leave some love, or ” rel=”trackback”>trackback from your own site.

    <?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can ” rel=”trackback”>trackback from your own site.

    <?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link(‘Edit this entry.’,”,”); ?></p>

    <?php comments_template(); ?>
    <!– comments close –></div>

    <div class=”blog_divide”></div>

    <!– blog close –></div>

    <!– black close –></div>

    <div id=”white”>

    <div id=”right_logo”>
    <!– right logo close –></div>

    <?php include (“http://koko.pelli.co.uk/navigationwhite.php&#8221;); ?>

    <div id=”journal”>

    <div class=”journal_divide”></div>
    <?php include (“http://koko.pelli.co.uk/recentphotosright.php&#8221;); ?>
    <div class=”journal_divide”></div>

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

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h1><?php the_title(); ?></h1>

    <div class=”entry”>
    <?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’); ?>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>

    <div class=”journal_divide”></div>

    </div>
    </div>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    <!– journal close –></div>
    <!– white close –></div>
    <!– wrapper close –></div>

    <?php get_footer(); ?>

    It works perfectly if i move the:

    <p>This amazingly un/interesting post was filed lovingly under <?php the_category(‘, ‘) ?>. If you’re mad, you can follow any responses to this entry through the <?php comments_rss_link(‘RSS 2.0’); ?> feed.</p>

    <p><?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can leave some love, or ” rel=”trackback”>trackback from your own site.

    <?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can ” rel=”trackback”>trackback from your own site.

    <?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link(‘Edit this entry.’,”,”); ?></p>

    <?php comments_template(); ?>

    above the:

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    If that makes any sense … Is there any way I can have the post page as it is with the comments / post comment in the left and the actual post in the white on the right?

    Thread Starter simonbailey

    (@simonbailey)

    SOLVED:

    I kept the code as is above but moved the:

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

    line to the top – apologies

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cannot Post Comments’ is closed to new replies.