ThemeShaper Forums » Thematic

[closed]

Error loading single posts in gallery theme

(2 posts)
  • Started 9 years ago by NativePaul
  • Latest reply from NativePaul
  • This topic is not resolved
  1. I'm having a strange problem with my site and would really appreciate some help.

    My 'single post' pages suddenly stopped loading (I'm quite sure I didn't make any changes other than adding a few more posts).

    Please take a look at http://www.nativenoise.co.za
    Then click on one of the posts.
    It seems to time-out while loading the categories menu.

    It's a fairly inconsistent error, sometimes it loads more of the menu than other times. Although it hasn't loaded the full menu since the problem started yesterday.

    I tested the site with other themes and it works fine.
    I also tested it with clean installations of Thematic and Gallery... that gave the same error.
    Thematic on it's own works.

    I created a back-up of the entire site and database and tested it on a local server... then it worked.

    So the problem is a combination of the gallery theme and my host.
    I have no idea what the problem might be, so I'm not sure what to contact my host about.

    Any suggestions will be greatly appreciated.

    Posted 9 years ago #
  2. If anyone is interested, I found a solution to my problem, although I'm certain it's not the best one.

    I copied single.php from thematic to gallery's theme folder.
    I then cut the "single post" code from gallery's functions.php and pasted it into my new single.php file. I removed most of the code from thematic's single.php file and it didn't make a difference.

    <?php get_header() ?>
    	<div id="container">
    		<div id="content">
    
    // Paste the Single Post code from gallery's functions file
    
    <?php thematic_comments_template(); ?>
    		</div><!-- #content -->
    	</div><!-- #container -->
    <?php get_footer() ?>

    I still don't know why my site wasn't working and I have no idea why this makes it work instead.

    My server is really slow and this theme makes my site even slower. I think the error was caused by the page timing out before all the functions could be called.

    I worry that using a theme framework is slowing it down - is that likely to be the problem?

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.