View previous topic :: View next topic |
Author |
Message |
Morgan
Joined: 27 Jan 2004 Posts: 6
|
Posted: Tue Jan 27, 2004 1:27 am Post subject: I screwed something up.. |
|
|
I was editiing my templates, and I totally messed something up
Now I have this icky message where my comments should be:
Quote: | Parse error: parse error in /home/so-glam/public_html/b2/b2comments.php on line 1 |
This is what my templates look like:
Quote: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<head>
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
<meta http-equiv="imagetoolbar" content="no" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
<?php comments_popup_script() ?>
</head>
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<LINK REL=stylesheet HREF="http://so-glamorous.org/style01.css" TYPE="text/css">
<P ALIGN=CENTER>
<table cellSpacing="0" cellPadding="1" width=100%" <TR>
<TBODY>
<br><center><img src=http://so-glamorous.org/StuffDivider1.gif></center><br>
<i>"<?php the_title(); ?>"</i> <p align=right> <?php the_date("","",""); ?> @ <?php the_time(); ?> CST </p></table>
</td>
</tr>
</td>
<img src=http://so-glamorous.org/musicnote.gif> <?php the_content(); ?><br>
<?php include ("b2comments.php"); ?>
</td>
<br>
<?php link_pages("<br />Pages: ","<br />","number") ?>
</table></p>
<?php trackback_rdf() ?>
<!-- this includes the comments and a form to add a new comment -->
</div>
</div>
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?>
</td></tr></table>
</html>
|
Help?
Keep in mind I'm B2 illiterate, and I didn't install it. |
|
Back to top |
|
 |
Morgan
Joined: 27 Jan 2004 Posts: 6
|
Posted: Fri Jan 30, 2004 12:18 am Post subject: |
|
|
Is there anyone who knows what to fix? |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 75 Location: Hungary
|
Posted: Fri Jan 30, 2004 3:32 pm Post subject: |
|
|
If it says you have error in b2comments.php, post its source code there must be a problem. Did you edit that or only this index file? |
|
Back to top |
|
 |
Morgan
Joined: 27 Jan 2004 Posts: 6
|
Posted: Fri Jan 30, 2004 11:15 pm Post subject: |
|
|
I only edited the index file, but I edited it to try to make my comments not pop-up, if that makes any sense. A friend was telling me what to do. But obviously they weren't of much help. |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 75 Location: Hungary
|
Posted: Sat Jan 31, 2004 8:21 am Post subject: |
|
|
Well, to make your comments not pop up, you have to take the popup calling script out of the head section. But then you wont be able to get comments, because you do not have the comments php line in your php part.
And also, I don't think it's good to put the relation to the CSS file RIGHT INTO the php part of the blog. Put it into the head section, too. |
|
Back to top |
|
 |
Morgan
Joined: 27 Jan 2004 Posts: 6
|
Posted: Sat Jan 31, 2004 10:29 pm Post subject: |
|
|
Ok, well, I will move that. It's jsut never affected anything before.
What would be the part that I would have to have to make my comments not pop-up? |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 75 Location: Hungary
|
|
Back to top |
|
 |
Morgan
Joined: 27 Jan 2004 Posts: 6
|
Posted: Sun Feb 01, 2004 9:16 pm Post subject: |
|
|
I really do appreciate. Thanks so much for your help! |
|
Back to top |
|
 |
|