Invalid argument, fclose(), chmod() probs in insta (5 posts)

  1. Anonymous
    Posted 12 years ago #

    I've initialized MySQL and created a database for WordPress
    to use. I've verified I can connect via the mysql cmd line tool:
    mysql -p
    {login with my password}
    \u wordpress
    {connects to 'wordpress' db}
    When I enter the Database Name, User Name, Password,
    Database Host (the default, 'localhost'), and leave the Table
    Prefix as the default on:
    then click on "Submit", I receive the following output:
    ----begin output----
    Warning: Invalid argument supplied for foreach() in /usr/home/day/www/htdocs/wordpress-1.0.1-miles/wp-admin/install-config.php on line 121
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/day/www/htdocs/wordpress-1.0.1-miles/wp-admin/install-config.php on line 142
    Warning: chmod(): No such file or directory in /usr/home/day/www/htdocs/wordpress-1.0.1-miles/wp-admin/install-config.php on line 143
    All right sparky! You've made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to run the install!
    -----end output-----
    What am I doing wrong?
    Thanks in advance for any assistance you can provide,
    Bill Day

  2. Anonymous
    Posted 12 years ago #

    (Sorry, should have posted the above after logging in...thanks again
    for any help you can provide.)

  3. Anonymous
    Posted 12 years ago #

    More info on my setup:
    * FreeBSD
    * Apache 1.3.29
    * MySQL ver 11.18 distrib 3.23.54
    * PHP 4.3.4 (verified I am able to interpret .php pages)
    Thanks again for any tips or suggestions,

  4. Matt Mullenweg
    Posted 12 years ago #

    Bill, if the automatic configuration creator doesn't work for you (most likely incorrect permissions on the directory) then you can just open wp-config-sample.php, fill in your data, and save it as wp-config.php.

  5. Anonymous
    Posted 12 years ago #

    Thanks, that worked. Now I'm receiving SQL errors concerning the wp_options table, however.
    Do I need to manually create that table, too?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.