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 

same date everyday?! please help!!!

 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
runaway



Joined: 07 Jul 2004
Posts: 14
Location: FL, USA

PostPosted: Tue Aug 10, 2004 5:28 am    Post subject: same date everyday?! please help!!! Reply with quote

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



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

PostPosted: Tue Aug 10, 2004 2:44 pm    Post subject: Reply with quote

You don't need this:
Please press Ctrl + F5 to refresh the page; the blog is being stupid... thanks!

You need this: http://www.sigg3.net/cafelog/files/b2_refresh_fix.txt

Can I see the code for index.php, esp. the b2-loop?
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
runaway



Joined: 07 Jul 2004
Posts: 14
Location: FL, USA

PostPosted: Fri Aug 13, 2004 8:22 pm    Post subject: code Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
runaway



Joined: 07 Jul 2004
Posts: 14
Location: FL, USA

PostPosted: Thu Aug 26, 2004 2:45 pm    Post subject: anybody? Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
stevem



Joined: 15 Mar 2003
Posts: 249

PostPosted: Thu Aug 26, 2004 10:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
runaway



Joined: 07 Jul 2004
Posts: 14
Location: FL, USA

PostPosted: Thu Aug 26, 2004 11:10 pm    Post subject: no :( Reply with quote

i haven't changed anything Sad
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
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
stevem



Joined: 15 Mar 2003
Posts: 249

PostPosted: Thu Aug 26, 2004 11:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues 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