Support » Installing WordPress » Invalid argument, fclose(), chmod() probs in insta

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • (Sorry, should have posted the above after logging in…thanks again
    for any help you can provide.)

    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,

    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.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid argument, fclose(), chmod() probs in insta’ is closed to new replies.