WordPress.org

Ready to get started?Download WordPress

Forums

Front end problem (9 posts)

  1. Creationrobot
    Member
    Posted 6 years ago #

    I used the maintenance script (http://wordpress.org/extend/plugins/maintenance-mode/) to set the splash page during my upgrade to WP 2.5. Now that I have deactivated the script my site no longer displays the front page, see http://www.creationrobot.com, the backend is all working, see http://www.creationrobot.com/2008/03/pavane-the-first-steampunk/

    How do I repair the site after using the maintenance script? What changes did it make?

  2. nathanrice
    Member
    Posted 6 years ago #

    we need much more information than that.

    Are you using a custom home page?
    Have you modified your template?

    Also, paste the code from the index.php file in your theme folder.

  3. Creationrobot
    Member
    Posted 6 years ago #

    OK, thanks. The home page is custom (index.php), the template is not modified. The theme in use is Cutline (http://cutline.tubetorial.com/).

    The index.php is as follows:

    <?php get_header(); ?>

    <div id="content_box">

    <div id="content" class="posts">

    <p ><div style="margin:10px;" align="middle">
    <script type="text/javascript"><!--
    google_ad_client = "pub-6614090734036311";
    /* 468x60, created 2/22/08 HomePage */
    google_ad_slot = "2730902168";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></div></p>

    <?php if (have_posts()) : ?>

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

    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    <h4><?php the_time('F jS, Y') ?><!-- by <?php the_author() ?> --> · <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></h4>
    <div class="entry">
    <?php the_content('[Read more →]'); ?>
    </div>
    <p class="tagged"><span class="add_comment"><?php comments_popup_link('→ No Comments', '→ 1 Comment', '→ % Comments'); ?></span>Category: <?php the_category(' · ') ?></p>
    <div class="clear"></div>

    <?php endwhile; ?>

    <?php include (TEMPLATEPATH . '/navigation.php'); ?>

    <?php else : ?>

    <h2 class="page_header center">Not Found</h2>
    <div class="entry">
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    </div>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    </div>

    <?php get_footer(); ?>

  4. nathanrice
    Member
    Posted 6 years ago #

    not sure if the forum here removed formatting or not, but this doesn't look right:

    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>

    It should look more like this:

    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>

    Anyway, take a look at your Admin > Settings > Reading and make sure you don't have a static home page or posts page specified.

  5. Creationrobot
    Member
    Posted 6 years ago #

    Thanks nathanrice, the forum removed the formatting. I then checked the reading setting and it is set to Posts, not to a specific page.

    I've tried setting the site to the default template and it does the same thing, so the issue is not template based.

  6. nathanrice
    Member
    Posted 6 years ago #

    have any plugins installed? Your category archive seems to be working fine. If it's not a plugin conflict, then you may have me stumped.

  7. Creationrobot
    Member
    Posted 6 years ago #

    Interesting, nothing seemed to conflict and yet deactivating all plugins seems so have cured the issue. Should have done that earlier, but no matter. I'm going to go through the plugins and post back here with which plugin kills things. Just so this thread has some use for someone else :)

    Thanks again nathanrice, the assistance is appreciated.

  8. nathanrice
    Member
    Posted 6 years ago #

    you bet. once you figure out which plugin caused the problem, post back here and mark this thread as resolved.

  9. Creationrobot
    Member
    Posted 6 years ago #

    OK, so the cache is disabled, so no interference from that. I then activated one plugin at a time, followed by shift-F5. Every plugin I had running before is now running again and ... no conflict or problem. Deactivating and reactivating all my plugins 'cured' whatever the problem was. I've not heard of that one before but, well, whatever. Might be something useful for someone else to try in a similar position.

    "The most overlooked advantage to owning a computer is that if they foul up there's no law against whacking them around a little." -- Joe Martin

Topic Closed

This topic has been closed to new replies.

About this Topic