Support » Plugins » Visitors appear in MyBlogLog but not in Stats !!!

  • Resolved imagiscapeca

    (@imagiscapeca)


    Using the [?official?] WordPress Stats plugin, version 1.1.1, by Andy Skelton, visitors appear in MyBlogLog but not in Stats.

    The API is entered (correctly).
    The Stats tab on the plugins page says: “The WordPress.com Stats Plugin is configured and working.”

Viewing 5 replies - 1 through 5 (of 5 total)
  • I see on the FAQs page that I need to put
    <?php wp_footer(); ?> just before </body> on [all] my templates.

    Can I use <?php get_footer()' ?> instead?
    That’s what’s in my theme.

    <?php wp_footer(); ?> gives me an Internal Server Error.

    Can I have </center></div> after the footer call?
    My theme needs it.

    The note that <?php wp_footer(); ?> is required just before </body> ought to be on the installation page, and the plugin tab should not say that the plugin is configured and working without warning that we have to edit our theme templates.

    Can I use <?php get_footer()’ ?> instead?
    That’s what’s in my theme.

    NO! That’s a completely different thing.

    <?php wp_footer(); ?> gives me an Internal Server Error.
    Then you are putting it in the wrong place: it should be IN your footer.php before the closing </body> tag… since the footer.php file is called by ALL your pages – it will be everywhere.

    Actually, a decently coded theme (more exactly, its footer.php file) SHOULD have that line.

    Thanks – that’s a needed clarification.

    Ok, I moved everything after <?php get_footer(); ?> in my index.php template to the end of footer.php.

    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    It half-ate my footer! The text and the butterflies are there, but the css-invoked background image is not, and nor are the css-ruled margins applied.

    http://www.imagiscape.ca/blog/

    Help
    Please
    Thank you.

    (P.S. Yes, I will remove the closing tags from my other templates, now they are in the footer.)

    1. (P.S. Yes, I will remove the closing tags from my other templates, now they are in the footer.)
    Explain this – I don’t get it.

    2. You must be doing something wrong. That wp_footer code shouldn’t cause any visible change in your layout.

    3. Paste your footer.php to http://wordpress.pastebin.ca and post back with the address/url.

    RESOLVED!

    I was sure I had no extra /div tags, but I did. I found the /div tag that closed my div pre-maturely.

    (I use WinSCP with SciTE 1.74 or Notepad++ but I have not found how to automatically find extraneous/incomplete tags, except by eye-balling it (looking). Is there a way? Oh – perhaps HTML Tidy?)

    To explain #1 (see previous post),
    since I now have
    </div><?php wp_footer(); ?></body></html> in my footer,
    I removed the closing tags </div></body></html> that were in all my template files (except comments and sidebar and header).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Visitors appear in MyBlogLog but not in Stats !!!’ is closed to new replies.