Anonymous
Unregistered
Posted 9 years ago #
i keep getting the same error well, the same line:
Parse error: parse error in /home/ceci/public_html/index.php on line 69
and the code is:
<?php } } else { // end foreach, end if any posts ?>
I replaced this code with the default but it still doesn't work
This is most likely the result of a missing '{' above line 69 or a missing '}' below it.
Anonymous
Unregistered
Posted 9 years ago #
What didn't work? By above or below, I don't mean directly above (line 68) or below (line 70). The opening and closing brackes will be included in <?php ?>.
Anonymous
Unregistered
Posted 9 years ago #
i'm kind of slow... can u show me the cde?!
<?{php } } else { // end foreach, end if any posts ?}>
like this?!
Would you be able to post the contents of your file somewhere? Like maybe on your site in a text file or email it to me and I can take a look?
Anonymous
Unregistered
Posted 9 years ago #
um sure. here is the link:
http://fuhen.net/layout.txt
Ewww...tables!!!! :-P
You're missing perhaps the most important part of the file:
<?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
After taking another look....I don't think you're going to like how the outcome is going to look....all of those tables are going to create quite a mess.
Anonymous
Unregistered
Posted 9 years ago #
oh.... so should I not use tables?!
Anonymous
Unregistered
Posted 9 years ago #
can you tell me the error so i can edit that tables maybe?!
That line needs to go above all of the other lines that have and <?php in them, but to tell you the truth....with all those tables, you are going to have some major design problems. Have you looked at the default index.php file that comes with the installation?