No Comments
-
I just upgraded to version 2.0 and for some reason when I click on the link to go to my comments, the blog reappears in the popup with no form for commenting.
-
Here is the index file I’m using. It’s from my old wordpress and considering everything else was fine, I thought I wouldn’t have a problem using this one again.
<?php
/* Don’t remove this line. */
require(‘./wp-blog-header.php’);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html>
<LINK REL=stylesheet HREF=”https://fauxamour.net/wp/style.css” TYPE=”text/css”><TITLE>__blog</TITLE>
<style type=”text/css”>
html {
scrollbar-track-color:#000000;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color:#FFFFFF;
scrollbar-face-color:#000000
}<!–
A:link {color:#AD9673};}
A:visited {color:#000000;}
A:active {color:#AD9673;}
–>
<!–
b {color: #FFFFFF;}
i {color: #FFFFFF;}
u {color: #FFFFFF;}
strike {color: #000000;}
–></style>
<head profile=”https://gmpg.org/xfn/1″>
<title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title><meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –><style type=”text/css” media=”screen”>
@import url( <?php echo get_settings(‘siteurl’); ?>/wp-layout.css );
</style><link rel=”stylesheet” type=”text/css” media=”print” href=”<?php echo get_settings(‘siteurl’); ?>/print.css” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” /><link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head><body>
<div id=”content”>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?><table width=”325″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr>
</tr>
<tr>
<td bgcolor=”#777F38″><div align=”right”><?php the_date(“”,”<b>”,”</b>”); ?> <b>;</b>
<i><?php the_time(); ?></i>
</div></td>
</tr>
<tr>
<td bgcolor=”#F7E7D6″><div align=”justify”>
<div class=”post”>
<div class=”storycontent”>
<base target=”_blank”>
<?php the_content(); ?>
<BR>
<BR>
<b>Plugs:</b>
</div>
</tr></td><br><tr>
</div></td>
</td>
<td bgcolor=”#F7E7D6″><div align=”right”>
<?php wp_link_pages(); ?>
<?php comments_popup_script(400, 500); ?>
<?php comments_popup_link(‘zero’, ‘one’, ‘more’,
‘CSSclass’, ‘none’); ?>
</div><!–
<?php trackback_rdf(); ?>
–></div>
<?php endforeach; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>
</div></div>
</div>
</body>
</html>Don’t post long code here, please!
It is difficult to read and nobody really bothers to take a look at it. You can use https://pastebin.com or similar services – and post back with the URI.
For posting small code snippets, please read carefully the instructions here below the text input area: the “backticks” usually are located on top-left of your keyboard, where ~ [tilde] is.i’m having this exact same problem with a different kind of template…my links show that i have a comment (on the hello world post that you get when you install wp) but when i click the link, i have no form, and no comment list.
that’s my code, if anyone can tell me what’s going on i’d appreciate it.
Sorry I haven’t been to this board in almost a year. We used to be able to post it like that.
Is there anyone that actually can help Nimil and me?
it appears that i am using version 1.5 (installed by my host) if that will help anyone with my problem. i would really like to have this solved please.
my appoligies for double posting but prolifik? i went to your site and your commenting form showed up for me. could you please explain how you fixed it?
The exact same thing is happening to me. The same thing as Nimil. I’ve been trying to fix it for hours and I still can’t get it right. I installed and tried versions 1.5.2 and 1.5. I used WordPress before, I just had to change hosts and now when I’m trying to re-install it, the comments aren’t showing up, just the same same stuff as on the index page of the blog.
Getting an error here too … anyone ?
well here’s how i finally fixed it. my template just didn’t have the comments link in it, so i looked at the orignal templates and found where the comment link was placed, and stuck it into my template. all is fixed.
- The topic ‘No Comments’ is closed to new replies.