boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HELP. URGENT {PARSE ERROR}

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
j u l i e



Joined: 10 Jul 2004
Posts: 1

PostPosted: Sat Jul 10, 2004 8:47 am    Post subject: HELP. URGENT {PARSE ERROR} Reply with quote

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
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Sat Jul 10, 2004 11:58 am    Post subject: Reply with quote

You've this displayed twice:
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>

Remove the top one. Should work.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Resha



Joined: 14 Sep 2004
Posts: 5

PostPosted: Tue Sep 14, 2004 1:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Tue Sep 14, 2004 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group