vaguely_clear
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…Hahaha, ahaha. Well, I’m a blubbering idiot. I (finally) had the good sense to compare my single.php to the final Google code version and needless to say it was way off.
You both deserve medals for your patience. Without knowing exactly what part of what file was missing, I would probably still be doing this next month.
Anyway, everything works peachy now. Thanks a million!
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…Well, I went looking for a private message service here on the forums so I could send you a temporary log-in but I see that none is present. Instead, here is a .zip archive of my theme: IanTest1.1
Was there something in the Control panel that you wanted to check out?
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…1) No plug-ins running. There are a few installed, like Akismet, but none are activated.
2) I couldn’t find this line anywhere in comments.php:
<input name="comment_post_ID" value="" id="comment_post_ID" type="hidden">
but I see that it is indeed showing up in the generated page source. Where else might this code be coming from?
3) I tried removing the header and the footer individually, neither made a difference. I also tried removing both at the same time but to no avail.
I’m curious, is there something specific you are looking for that tells you there’s no value for
comment_post_ID
? Or is the blank page the indicator?After trying this many different things, I’m starting to fear that the problem is a missing semicolon somewhere or something like that. :\ Is there anything left I can try?
By the way, I made a dumb mistake a bit ago and messed up my original install, so here is a fresh new install with my theme dropped in.
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…Checked items 2 and 5 again, they seem to be correct. I could not see anything in functions.php that looked like it was modifying
$id
, but I probably wouldn’t know it if I saw it. If you have the time, the functions.php from the tutorial is available on Google code. As far as I can tell mine is identical.@miqrogroove, you say that my theme might be failing to call
the_post()
. Where do you think I would find that? I searched comments.php for “the_post” and it returned nothing. Maybe it needs to be in there somewhere?Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…Thanks all for the help, I really appreciate it.
I’m quite certain that the code in step two is present. From step five, the code in my file is identical to what wordpress suggests. I did try the two alternatives from this step but I reverted when the did not work. Regardless, I will check both again in the morning just in case.
From reading both of your posts together, I have a feeling I will find a problem in functions.php. Admittedly, I know there is a good amount of code provided by the tutorial that I will not employ, and I know that is not really a good practice when it comes to coding anything. When I feel more secure about how all the PHP works I might go through and try to clean it up.
Maybe searching for
$id
will highlight the problem? I’ll post what I find.Thanks again!
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…I can’t see anything that is explicitly an include, like
<?php include(); ?>
or something like that. There is this line:<?php comments_template('', true); ?>
Does that do the same thing? I apologize, I’ve gathered a pretty good grasp of CSS but PHP is still beyond me. Would it be helpful for me to post the whole single.php file?
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…So I ran a page with comments through the validator:
But I can’t figure out what the output means. It would seem that I have a character that is causing problems. Is there any chance this could be the cause of my commenting problems?
Forum: Fixing WordPress
In reply to: Another blank wp-comments-post.php problem…Oh dear, I’m afraid I scared everyone off.
There are two of us working on this site at the moment. Combined we’ve spent many hours googling for a solution. My compatriot and I are getting a bit discouraged, it seems like we tried everything known to fix the issue. Any thoughts? Anybody? I really don’t want to be left with just disabling comments forever.