MySQL Error & Template Problem
-
I am having two problems trying to get a custom template to work on my website @ http://www.bleikamp.com.
1. I cannot get posts to show up on the main page at all. I don’t understand why, I have been working for 3 hours and looking through the forums.
What I did was copy the div class “post” from the original template and inserted that into my design, then I uploaded that as the index.php. I have been trying everything I can think of and nothing seems to work.
2. I get this error on the main page:
Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND comment_approved = ‘1” at line 1]
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’;
Any help wuold be great.
The topic ‘MySQL Error & Template Problem’ is closed to new replies.