Ayane
Joined: 22 Feb 2004 Posts: 2
|
Posted: Sun Feb 22, 2004 1:02 am Post subject: No Database Selected <--- Error! |
|
|
Hello Everyone,
I hope someone can help me out here... I have been trying to get cutephp to work for months, and now I've given up and moved on to B2.
I have checked a number of times and my database information is correct... and my username and password for mysql is correct, so I dont understand what this error means o__O
_________________
<?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://oddworldonline.shukuya.com/b2';
$blogfilename = 'index.php';
$blogname = "Oddworld Online";
$blogdescription = "babblings !";
# 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://oddworldonline.shukuya.com/b2' (no ending slash !)
# by default b2 is set to run in the folder your blog resides, same as $siteurl
$pathserver = 'http://oddworldonline.shukuya.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 = 1;
# set this to 0 or 1, whether you want to allow users to register on your blog.
$users_can_register = 1;
# 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 = '*******'; // the name of the database
$dbhost = 'localhost'; // 99% chances you won't need to change this value
$dbusername = '*********'; // your MySQL username
$dbpassword = '********'; // ...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 = 1;
// ** Text formatting options **
# these options can help you format your text without using too much html
$use_bbcode = 0; // use BBCode, like bold
$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 la
______________________
I was wondering if maybe I have set up the root wrong? I have uploaded everything under www.shukuya.com/oddworldonline/b2 or oddworldonline.shukuya.com/b2 (they're the same thing lol)
Please help me!!!!!!
~Ayane |
|