View previous topic :: View next topic |
Author |
Message |
runaway
Joined: 07 Jul 2004 Posts: 14 Location: FL, USA
|
Posted: Tue Aug 10, 2004 5:28 am Post subject: same date everyday?! please help!!! |
|
|
eek! i've had my b2 for almost a month and it works fine, but now every time i blog i get the same date! the day of the week changes, but it always shows as august 8th! here's the blog: http://www.runaway-star.net
can somebody please help me? _________________ "You know what they say about monkeys: sometimes, monkeys die..."
Last edited by runaway on Thu Aug 26, 2004 2:49 pm; edited 1 time in total |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
runaway
Joined: 07 Jul 2004 Posts: 14 Location: FL, USA
|
Posted: Fri Aug 13, 2004 8:22 pm Post subject: code |
|
|
hi again!
thanks for your help. i tried the refreshing thing so i'll see if it works now...
and here's the code for index.php:
Code: |
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--body {
scrollbar-3dlight-color: #615A3D;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #615A3D;
scrollbar-darkshadow-color: #615A3D;
scrollbar-face-color: #615A3D;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #B6AE87;
scrollbar-track-color: #B6AE87; }
-->
body {background-image: url(http://www.runaway-star.net/stripe.jpg);background-attachment: fixed}
body {font-size:8pt; font-family:verdana; color:FFFFFF}
a:link {color: #615A3D; text-decoration: none; cursor: default}
a:visited {color: #615A3D; text-decoration: none; cursor: default}
a:hover {color: #FFFFFF; text-decoration: overline underline; cursor: default}
a:active {color: #615A3D; text-decoration: none; cursor: default}
</style>
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="reply-to" content="<?php bloginfo('admin_email'); ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
<style type="text/css" media="screen">
@import url( layout2b.css );
</style>
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
<link rel="alternate" type="application/rdf+xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php comments_popup_script() ?>
</head>
<body>
<div id="content">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<b><?php the_date("l, F n, Y"); ?></b>
<br>
<?php permalink_anchor(); ?>
<div class="storyTitle"><?php the_title(); ?>
</div>
<p>
<div class="storyContent">
<?php the_content(); ?>
<br>
<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<br>
<p align="right"><span class="storyAuthor"><b><?php the_author() ?></b> ran away @ <?php the_time() ?></span>
<br>
<a href="<?php permalink_link() ?>"></a><?php comments_popup_link("no stars", "1 star", "% stars") ?></p>
<?php trackback_rdf() ?>
<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>
</div>
</div>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
</div>
</body>
</html>
|
thank you! _________________ "You know what they say about monkeys: sometimes, monkeys die..." |
|
Back to top |
|
 |
runaway
Joined: 07 Jul 2004 Posts: 14 Location: FL, USA
|
Posted: Thu Aug 26, 2004 2:45 pm Post subject: anybody? |
|
|
hello again, nobody seems to have answered my post... does anybody know how to solve the problem above? please it's driving me nuts! i'm in desperate need of help, please! _________________ "You know what they say about monkeys: sometimes, monkeys die..." |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 241
|
Posted: Thu Aug 26, 2004 10:56 pm Post subject: |
|
|
Difficult to answer the problem as your blog seems to just show an error. It doesn't seem to be reading the database properly. Have you changed something? |
|
Back to top |
|
 |
runaway
Joined: 07 Jul 2004 Posts: 14 Location: FL, USA
|
Posted: Thu Aug 26, 2004 11:10 pm Post subject: no :( |
|
|
i haven't changed anything
and now all of a sudden (i haven't even updated, so i haven't changed anything whatsoever) my blog has this error:
Code: | Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/runaway/public_html/b2/index.php on line 47
|
please, pretty please with cherry on top, help! _________________ "You know what they say about monkeys: sometimes, monkeys die..." |
|
Back to top |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 241
|
Posted: Thu Aug 26, 2004 11:47 pm Post subject: |
|
|
Something has changed either in the database, blog.header.php or b2config.php. If you have access to something like phpMyAdmin in your control panel, check that the database is OK. Check that the files haven't changed by looking at their dates. |
|
Back to top |
|
 |
|