Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter 7784

    (@7784)

    Thank you 🙂

    Forum: Fixing WordPress
    In reply to: Parse error
    Thread Starter 7784

    (@7784)

    That did it, thanks 😀

    Forum: Fixing WordPress
    In reply to: Parse error
    Thread Starter 7784

    (@7784)

    http://www.7784.co.uk/code.phps – my whole index file, incase im missing something, it’s the code from Kubrick if that makes any difference?

    Forum: Fixing WordPress
    In reply to: Parse error
    Thread Starter 7784

    (@7784)

    Doing that results in an error on line 63 <?php } ?>. That’s what i don’t understand, it’s always been <?php } else { ?> on line 53, i’ve not changed anything in the template to make it suddenly break.

    Forum: Fixing WordPress
    In reply to: Parse error
    Thread Starter 7784

    (@7784)

    My site was down for an hour or so, should be okay now but just incase…

    “Parse error: parse error, unexpected ‘}’ in /home/co7784/public_html/index.php on line 53”

    And the code…

    <?php if (empty($_GET["cat"]) and empty($_GET["category_name"]) and empty($_GET["m"]) and empty($_GET["s"]) and empty($_GET["paged"]) and empty($_GET["year"]) and empty($_GET["monthnum"]) and empty($_GET["day"])) {
    if ((! $withcomments) && (! $single)) { ?>

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

    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <div class="post">
    <div class="title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a> (<?php comments_popup_link("0", "1", "%"); ?> <?php edit_post_link("edit","/ ",""); ?> / <?php the_category(", ") ?>)</div>
    <div class="entry">
    <?php the_content("Read in Full"); ?>
    <small>By <b><a href="mailto:<?php the_author_email(); ?>" title="Email <?php the_author() ?>"><?php the_author() ?></a></b> (<?php the_time("F jS, Y") ?>)</small>
    </div>

    </div>
    <br/>

    <hr /> <?php endforeach; ?>

    <?php } else { ?> // << LINE 53
    <h2>post not found</h2>
    Sorry, i couldn"t find the post you were looking for. I"ve either moved/deleted/renamed it or you"ve followed an out of date link.

    <ul>
    <li><a href="javascript:window.history.go(-1)">Return to the previous page</a></li>
    <li><a href="/">Go to the home page</a></li>
    <li><a href="mailto:info@7784.co.uk">Contact the webmaster</a></li>
    </ul>
    <br/>
    <?php } ?>
    </div><? } } // End Frontpage ?>
    <? // Begin Permalinks ?>

Viewing 5 replies - 1 through 5 (of 5 total)