Support » Installing WordPress » database connection

  • i’ve made sure my database stuff is correct but it isn’t working! this is the pg i get to
    We’re having a little trouble selecting the proper database for WordPress.
    Are you sure it exists?
    Your database name is currently specified as ceci_wordpress. Is this correct?
    On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
    WordPress Support Forums

Viewing 5 replies - 1 through 5 (of 5 total)
  • um.. i got it but now i have this error
    Warning: Invalid argument supplied for foreach() in /home/ceci/public_html/wp-admin/install-config.php on line 121
    Warning: fclose(): supplied argument is not a valid stream resource in /home/ceci/public_html/wp-admin/install-config.php on line 142
    Warning: chmod(): No such file or directory in /home/ceci/public_html/wp-admin/install-config.php on line 143

    What version of WP are you running?

    1.0.1
    i’ve gotten everything now!! but another prob: a parse error in index.php on line 155
    i’ve checked and that happens to be:
    “</html>”
    i don’t quite get what’s wrong with that line though

    Chances are it’s an earlier line… check for any php statements with missing semi-colons… Or if you save your index.php as index.phps on your site and show us where it is, somebody can take a look at it and help you out.

    here’s what i have but it still doesn’t work?
    <?php
    /* Don’t remove these lines. */
    $blog = 1;
    require(‘wp-blog-header.php’);
    // Uncomment the next line if you want to track blog updates from weblogs.com
    //include_once(ABSPATH.WPINC.’/links-update-xml.php’);
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <html xmlns=”http://www.w3.org/1999/xhtml”>
    <head>
    <TITLE> </TITLE>
    <link rel=”stylesheet” href=”css.css” type=”text/css”>
    <META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”>
    <META NAME=”Generator” CONTENT=”Microsoft FrontPage 5.0″>
    <?php comments_popup_script() ?>
    </head>
    <body STYLE=”background-color:transparent” topmargin=”0″ leftmargin=”0″ bgcolor=”#F7EBF7″>
    <div id=”rap”>
    <h1 id=”header”>” title=”<?php bloginfo(‘name’); ?>”><?php bloginfo(‘name’); ?></h1>
    <div id=”content”>
    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <?php the_date(”,'<h2>’,'</h2>’); ?>
    <div class=”post”>
    <h3 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”><?php the_title(); ?></h3>
    <div class=”meta”>Filed under: <?php the_category() ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
    <div class=”storycontent”>
    <?php the_content(); ?>
    </div>
    <div class=”feedback”>
    <?php link_pages(‘
    Pages: ‘, ‘
    ‘, ‘number’); ?>
    <?php comments_popup_link(‘Comments (0)’, ‘Comments (1)’, ‘Comments (%)’); ?>
    </div>
    <!–
    <?php trackback_rdf(); ?>
    –>
    <?php include(ABSPATH . ‘wp-comments.php’); ?>
    </div>
    </div>
    </div>
    </div>
    <p class=”credit”><!–<?php echo $wpdb->querycount; ?> queries.–> <?php timer_stop(1); ?> || <cite>Powered by WordPress</cite>
    </body>
    </html>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘database connection’ is closed to new replies.