View previous topic :: View next topic |
Author |
Message |
j u l i e
Joined: 10 Jul 2004 Posts: 1
|
Posted: Sat Jul 10, 2004 8:47 am Post subject: HELP. URGENT {PARSE ERROR} |
|
|
I KEEP getting this error
Parse error: parse error, unexpected $ in /home/esiee7e/public_html/b2/index.php on line 63
although the number at the end (63) varies when i edit the code
i can't find anything wrong w/ it. .. this is what i have right now
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<html>
<head>
<title>esiee.com/b2 : blog</title>
<style type=text/css>
body
{font-size: 10px;
font-family: lucida sans unicode, verdana;
}
.img
{position:absolute;
top:0px;
left:0px;
z-index:1;
}
.blog
{position:absolute;
top:7px;
left:7px;
width:173px;
height:300px;
z-index:2;
overflow: auto;
scroll: yes;
scrollbar-arrow-color: #12406F;
scrollbar-base-color: #12406F;
scrollbar-3dlight-color: #12406F;
scrollbar-face-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-shadow-color: #12406F;
scrollbar-darkshadow-color: #ffffff;
filter: chroma (color=#ffffff);
}
</style>
</head>
<body>
<div class=img>
<img src="1.png">
</div>
<div class=blog>
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("","",""); ?> , <?php the_time() ?>
<?php the_content(); ?>
<?php the_author() ?> - <?php comments_popup_link() ?>
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?>
</div>
</body>
</html>
PLEASE HELP AND I":LL BE SO GRATEFUL |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 894 Location: Oslo, Norway
|
|
Back to top |
|
 |
Resha
Joined: 14 Sep 2004 Posts: 5
|
Posted: Tue Sep 14, 2004 1:29 pm Post subject: |
|
|
Eurgh! I have the same problem!
Code: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?> | I have put that at the very top of the template.
Code: |
div style="position:absolute;left:0px;top:550px;background-color:#F9ACE2;border-style:dashed;border-width:1px;color:#0092C8;width:550px;">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("d.m.y","<h1>","</h1>"); ?>
<p>
<?php permalink_anchor(); ?>
<strong><?php the_title(); ?></strong> (category: <strong><?php the_category() ?></strong>)<br />
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<em>posted by <strong><?php the_author() ?></strong> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
<br />
<a href="<?php comments_link() ?>"><?php comments_number("no comments", "1 comment", "% comments") ?></a>
</p>
<?php include ("b2comments.php"); ?>
</div>
|
What's wrong there!?!? Please help me! |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 894 Location: Oslo, Norway
|
Posted: Tue Sep 14, 2004 1:58 pm Post subject: |
|
|
You haven't closed the b2-loop after the <?php include ("b2comments.php"); ?> and before the final </div>:
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?> _________________ Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
|