Forums

[resolved] Permalinked Page is Blank After Header (9 posts)

  1. authntik
    Member
    Posted 2 years ago #

    Hello.

    I recently upgraded from 2.7 to 2.7.1

    I have an issue where when I post on my blog the actual post will not show up if you go to it via it's permalink.

    The post shows up on the main page and the archives are working.

    Also when you go to the permalinked page nothing under the header is showing up on the blog.

    Here is an example:

    http://www.bmore-electro.com/?p=1026

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Looks like you have some sort of problem in your theme's single.php file. Can you post the code for that file into the Pastebin?

  3. authntik
    Member
    Posted 2 years ago #

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Almost there. The problem is in a subfile called by single.php called "theloop.php". Can you drop that in the pastebin?

  5. authntik
    Member
    Posted 2 years ago #

  6. authntik
    Member
    Posted 2 years ago #

    And thanks for the help!

  7. authntik
    Member
    Posted 2 years ago #

    Any luck with this?

  8. authntik
    Member
    Posted 2 years ago #

    I didn't have the newest single.php file from my theme in there. I must have overlooked it in an attempt to salvage my customization (there was none in this file). I also deleted theloop.php.

    All seems to be working now.

    Thanks anyways, you got me looking in the right spot.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Sorry. I think I'm in a different time zone to you...

    I can see where the script is failing. Line 105:

    <div id="post-<?php the_ID(); ?>" class="<?php echo attribute_escape(k2_post_class($post_index++, in_category($k2asidescategory), false)); ?>">

    Looks like there's a fatal error within the attribute_escape() function which, in itself, appears to use at least 2 different functions. How many posts is this happening on? Have you pasted content in from Word or any other word-processor application? What about category names or descriptions? Any unusual characters in those?

    Gut instinct is that this is a character issue. Might be worth contacting the K2 author and seeing if s/he can throw any light on it.

Topic Closed

This topic has been closed to new replies.

About this Topic