 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
tgiftantrum
Joined: 07 May 2004 Posts: 4
|
Posted: Fri May 07, 2004 12:39 am Post subject: Comment issues |
|
|
I'm new to b2 and just installed today at my site, http://1800colette.com. Everything is up fine and running except my commenting. When you click on the comment link, you get this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.27 Server at www.1800colette.com Port 80
Is there any way to fix this? Please HELP! |
|
Back to top |
|
 |
tgiftantrum
Joined: 07 May 2004 Posts: 4
|
Posted: Fri May 07, 2004 6:55 am Post subject: |
|
|
I've looked through tons of posts here and can't find anything pertaining to my specific problem.... please help! |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 268 Location: Oslo, Norway
|
|
Back to top |
|
 |
tgiftantrum
Joined: 07 May 2004 Posts: 4
|
Posted: Fri May 07, 2004 2:50 pm Post subject: |
|
|
yep- I tried reinstalling. no luck. |
|
Back to top |
|
 |
tgiftantrum
Joined: 07 May 2004 Posts: 4
|
Posted: Fri May 07, 2004 11:15 pm Post subject: |
|
|
I also tried reinstalling just the commenting files, but still no luck. My archives also don't work.
here's my config source-
Code: | <?php
/* *
* b2's config file *
* */
# Reminder: everything that starts with #, /* or // is a comment
/* Start editing */
# $siteurl is your blog's URL: for example, 'http://mydomain.com' (no trailing slash !)
# $blogfilename is the name of the default file for your blog
# $blogname is the name of your blog
$siteurl = 'http://1800colette.com/b2/b2.php';
$blogfilename = 'b2.php';
$blogname = "1800colette.com Blog";
$blogdescription = "bloggaliciousness";
# fill these only if you have a Cafelog ID,
# this enables your blog to be in the Recently Updated b2 blogs list.
# to obtain this ID, e-mail [email protected] with these details:
# name of the weblog, weblog's URL, your e-mail address, and a password
# in the future, the password will allow you to change these details online
$cafelogID = '';
$use_cafelogping = 0; # set this to 1 if you do have a Cafelog ID
# $pathserver is where you have uploaded b2: for example, 'http://mydomain.com' (no ending slash !)
# by default b2 is set to run in the folder your blog resides, same as $siteurl
$pathserver = 'http://www.1800colette.com';
# your email (obvious uh ?)
$admin_email = '[email protected]';
# set this to 0 or 1, whether you want new users to be able to post entries once they registered
$new_users_can_blog = 0;
# set this to 0 or 1, whether you want to allow users to register on your blog.
$users_can_register = 0;
# day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
$start_of_week = 1;
// ** MySQL settings **
# fill with your database details
$dbname = '1800colette_com_-_blog'; // the name of the database
$dbhost = '127.0.0.1'; // 99% chances you won't need to change this value
$dbusername = 'custin10'; // your MySQL username
$dbpassword = 'ilovejeff12'; // ...and password
# database tables' names (change them if you want to have multiple b2's in a single database)
$tableposts = 'b2posts';
$tableusers = 'b2users';
$tablesettings = 'b2settings';
$tablecategories = 'b2categories';
$tablecomments = 'b2comments';
// ** Post preview function **
# set this to 1 if you want to use the 'preview' function
$use_preview = 1;
// ** Spell Checker functions **
# set this to 0 to disable the spell checker, or 1 to enable it
$use_spellchecker = 0;
// ** Text formatting options **
# these options can help you format your text without using too much html
$use_bbcode = 0; // use BBCode, like [b]bold[/b]
$use_gmcode = 0; // use GreyMatter-styles: **bold** \italic\ __underline__
$use_quicktags = 1; // buttons for HTML tags (they won't work on IE Mac yet)
# IMPORTANT! set this to 0 if you are using Chinese, Japanese, Korean,
# or other double-bytes languages
$use_htmltrans = 1;
# this could help balance your HTML code. if it gives bad results, set it to 0
$use_balanceTags = 1;
# this would convert quotes into smart/curly quotes, set it to 1 to enable it
$use_smartquotes = 0;
// ** Image upload **
# set this to 0 to disable file upload, or 1 to enable it
$use_fileupload = 0;
# enter the real path of the directory where you'll upload the pictures
# if you're unsure about what your real path is, please ask your host's support staff
# note that the directory must be writable by the webserver (ChMod 766)
# note for windows-servers users: use forwardslashes instead of backslashes
#$fileupload_realpath = '/home/your/site/b2/images';
$fileupload_realpath = '/home/example/public_html/images';
# enter the URL of that directory (it's used to generate the links to the pictures)
$fileupload_url = 'http://example.com/images';
# accepted file types, you can add to that list if you want
# note: add a space before and after each file type
# example: $fileupload_allowedtypes = ' jpg gif png ';
$fileupload_allowedtypes = ' jpg gif png ';
# by default, most servers limit the size of uploads to 2048 KB
# if you want to set it to a lower value, here it is (you cannot set a higher value)
$fileupload_maxk = '96';
# you may not want all users to upload pictures/files, so you can set a minimum level for this
$fileupload_minlevel = '1';
# ...or you may authorize only some users. enter their logins here, separated by spaces
# if you leave that variable blank, all users who have the minimum level are authorized to upload
# note: add a space before and after each login name
# example: $fileupload_allowedusers = ' barbara anne ';
$fileupload_allowedusers = '';
// ** RSS syndication options **
# these options are used by b2rdf.php (1.0), b2rss.php (0.92), and b2rss2.php (2.0)
# note: if you don't want to syndicate your news, you can delete these files
# number of last posts to syndicate
$posts_per_rss = 10;
# the language of your blog ( see this: http://backend.userland.com/stories/storyReader$16 )
$rss_language = 'en';
# for b2rss.php: allow encoded HTML in <description> tag? 1=yes, 0=no
$rss_encoded_html = 0;
# length (in words) of excerpts in the RSS feed? 0=unlimited
# note: in b2rss.php, this will be set to 0 if you use encoded HTML
$rss_excerpt_length = 50;
// ** Weblogs.com ping **
# set this to 1 if you want your site to be listed on http://weblogs.com when you add a new post
$use_weblogsping = 0;
// ** Blo.gs ping **
# set this to 1 if you want your site to be listed on http://blo.gs when you add a new post
$use_blodotgsping = 0;
# if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL):
$blodotgsping_url = 'http://1800colette.com/b2/b2.php';
// ** Trackback / PingBack **
# set this to 0 or 1, whether you want to allow your posts to be trackback'able or not
# note: setting it to zero would also disable sending trackbacks
$use_trackback = 0;
# set this to 0 or 1, whether you want to allow your posts to be pingback'able or not
# note: setting it to zero would also disable sending pingbacks
$use_pingback = 0;
// ** Comments options **
# set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name
$require_name_email = 0;
# here is a list of the tags that are allowed in the comments.
# you can add tags to the list, just add them in the string,
# add only the opening tag: for example, only '<a>' instead of '<a href=""></a>'
$comment_allowed_tags = '<b><i><u><strong><em><code><blockquote><p><br><strike><a>';
# set this to 1 to let every author be notified about comments on their posts
$comments_notify = 0;
// ** Smilies options **
# set this to 1 to enable smiley conversion in posts
# (note: this makes smiley conversion in ALL posts)
$use_smilies = 1;
# the directory where your smilies are (no trailing slash)
$smilies_directory = 'http://1800colette.com/smile';
# here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array(
':)' => 'smiley.gif',
':D' => 'grin.gif',
':-D' => 'grin3.gif',
':grin:' => 'evilgrin.gif',
':)' => 'smiley.gif',
':-)' => 'cheesy.gif',
':smile:' => 'smiley.gif',
':(' => 'cry.gif',
':-(' => 'cry2.gif',
':sad:' => 'sad.gif',
':o' => 'suprised.gif',
':-o' => 'surprised.gif',
':eek:' => 'surprised.gif',
'' => 'icon_eek.gif',
'' => 'icon_eek.gif',
':shock:' => 'icon_eek.gif',
':?' => 'icon_confused.gif',
':-?' => 'icon_confused.gif',
':???:' => 'icon_confused.gif',
'8)' => 'icon_cool.gif',
'8-)' => 'icon_cool.gif',
':cool:' => 'icon_cool.gif',
':lol:' => 'icon_lol.gif',
':x' => 'icon_mad.gif',
':-x' => 'icon_mad.gif',
':mad:' => 'icon_mad.gif',
':P' => 'icon_razz.gif',
':-P' => 'icon_razz.gif',
':razz:' => 'icon_razz.gif',
':oops:' => 'icon_redface.gif',
':cry:' => 'icon_cry.gif',
':evil:' => 'icon_evil.gif',
':twisted:' => 'icon_twisted.gif',
':roll:' => 'icon_rolleyes.gif',
':wink:' => 'icon_wink.gif',
';)' => 'icon_wink.gif',
';-)' => 'icon_wink.gif',
':!:' => 'icon_exclaim.gif',
':?:' => 'icon_question.gif',
':idea:' => 'icon_idea.gif',
':arrow:' => 'icon_arrow.gif',
':|' => 'icon_neutral.gif',
':-|' => 'icon_neutral.gif',
':neutral:' => 'icon_neutral.gif',
':mrgreen:' => 'icon_mrgreen.gif',
);
# the weekdays and the months.. translate them if necessary
$weekday[0]='Sunday';
$weekday[1]='Monday';
$weekday[2]='Tuesday';
$weekday[3]='Wednesday';
$weekday[4]='Thursday';
$weekday[5]='Friday';
$weekday[6]='Saturday';
# the months, translate them if necessary - note: this isn't active everywhere yet
$month['01']='January';
$month['02']='February';
$month['03']='March';
$month['04']='April';
$month['05']='May';
$month['06']='June';
$month['07']='July';
$month['08']='August';
$month['09']='September';
$month['10']='October';
$month['11']='November';
$month['12']='December';
# $b2inc is where the included b2 files are: that's generally the directory b2-include,
# so you shouldn't have to change that setting
$b2inc = './b2-include';
// ** Querystring Configuration ** (don't change if you don't know what you're doing)
$querystring_start = '?';
$querystring_equal = '=';
$querystring_separator = '&';
// ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email)
# mailserver settings
$mailserver_url = 'mail.example.com';
$mailserver_login = '[email protected]';
$mailserver_pass = 'password';
$mailserver_port = 110;
# by default posts will have this category
$default_category = 1;
# subject prefix
$subjectprefix = 'blog:';
# body terminator string (starting from this string, everything will be ignored, including this string)
$bodyterminator = "___";
# set this to 1 to run in test mode
$thisisforfunonly = 0;
### Special Configuration for some phone email services
# some mobile phone email services will send identical subject & content on the same line
# if you use such a service, set $use_phoneemail to 1, and indicate a separator string
# when you compose your message, you'll type your subject then the separator string
# then you type your login:password, then the separator, then content
$use_phoneemail = 0;
$phoneemail_separator = ':::';
/* Stop editing */
$HTTP_HOST=getenv('HTTP_HOST'); /* domain name */
$REMOTE_ADDR=getenv('REMOTE_ADDR'); /* visitor's IP */
$HTTP_USER_AGENT=getenv('HTTP_USER_AGENT'); /* visitor's browser */
$server = $dbhost;
$loginsql = $dbusername;
$passsql = $dbpassword;
$path = $pathserver;
$base = $dbname;
?> |
here's my blog source-
Code: |
<center>
<br><br><br>
<form action="http://www.formlog.com/cgi-bin/formuk.cgi" method="POST">
<input type="hidden" name="username" value="oneate100colette">
<input type="hidden" name="subject" value="Ask Colette">
<input type="hidden" name="background" value="http://1800colette.com/Graphics/menubackground.gif">
<input type="hidden" name="return_url" value="http://1800colette.com/">
<input type="hidden" name="return_title" value="Return to Colette's Blue Lagoon">
<input type="text" size="35" name="question for colette" value="ask me anything"
style="background-color: #99CCFF; font-family: georgia; font-size: 11px; color:#000000; font-weight: regular; border: 1 solid; border-color: #6B9CE8">
<input type="text" size="10" name="name of askee" value="name" style="background-color: #99CCFF; font-family: georgia; font-size: 11px; color:#000000; font-weight: regular; border: 1 solid; border-color: #6B9CE8">
<input type="submit" value="ask" style="background-color: #99CCFF; font-family: georgia; font-size: 11px; color:#000000 ; font-weight: regular; border: 1 solid; border-color: #6B9CE8">
<a href="http://1800colette.com/questionsasked.html" ONMOUSEOVER="popup('questions answered','#99CCFF')"; ONMOUSEOUT="kill()">?</a></form>
<br><br><br>
<table width="65%"><tr><td bgcolor="#6B9CE8" style="border: 1px solid black;"><font color="black" size="2">Note</td></tr></table></font>
<font face="georgia" size="2" color="black">
<br><br><br>
<table cellpadding="1" cellspacing="1" width="427" style="border:1px solid #99CCFF">
<tr><td valign=top align=justify height=1 style="background-color:#99CCFF;">
<font face="georgia" size="2"><P ALIGN=JUSTIFY>
Before you venture and go about your merry way reading my blog, you should know a couple of things. [1] This blog is my outlet, I really don't care what you think of it. If you don't like what you're reading or seeing, leave. [2] If you know me directly, (ie you're one of the peoples who go to LR, in my group of friends, or you're a family member) I'd rather that you not read this. If you are one of those above mentioned persons, please just click the little X in the corner and be done with it. [3] Provance commenters and people who don't know me in person are always welcome.
</td></tr></table>
<br><br><br>
<table width="65%"><tr><td bgcolor="#6B9CE8" style="border: 1px solid black;"><font color="black" size="2"> </font><justify>The Blog</td></tr></table></font>
<br><br><br>
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
</style>
<head>
<title><?php echo $blogname ?></title>
<!-- Change charset if needed(?) But please do not remove this metatag -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="reply-to" content="[email protected]" />
<meta http-equiv="imagetoolbar" content="no" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
<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>
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("l, F j, Y"); ?>
<br>
<?php permalink_anchor(); ?>
'<?php the_title(); ?>'
<br><br>
<table cellpadding="1" cellspacing="1" width="427" style="border:1px solid #99CCFF">
<tr><td valign=top align=justify height=1 style="background-color:#99CCFF;">
<font face="georgia" size="2"><P ALIGN=JUSTIFY>
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
</td></tr></table>
<br><br><br>
posted by <a href="mailto:[email protected]" TARGET="_blank"><img src="http://1800colette.com/Graphics4/1800colette2.gif" border="0" title="made for me by carla"></img></a> - <img src="http://1800colette.com/Graphics2/clock.gif" border="0"></img> at <a href="<?php permalink_link() ?>"><?php the_time() ?></a> - <?php comments_popup_link("comment?", "1 commented", "% commented") ?>
</p>
<br><br><br>
<img src="http://1800colette.com/Collectables/divider.gif" border="0"></img>
<br><br><br>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
<table cellpadding="1" cellspacing="1" width="427" style="border:1px solid #99CCFF">
<tr><td valign=top align=justify height=1 style="background-color:#99CCFF;">
<font face="georgia" size="2"><P ALIGN=JUSTIFY>
Archives
<br><br>
<?php include("b2archives.php") ?>
<br><br>
<div align="right">
[powered by <a href="http://cafelog.com" target="_blank">b2</a>]<br />
<br />
<a href="b2login.php">login</a><br />
<a href="b2register.php">register</a></div>
</td></tr></table>
<?php
if ($debug=="1") {
echo "<p>$querycount queries - ".number_format(timer_stop(),3)." seconds</p>";
}
?>
</body>
</html>
|
Thanks for your help - email me at [email protected] |
|
Back to top |
|
 |
|
|
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
|