WordPress.org

Support

Support » Installation » Errors with install-config.php

Errors with install-config.php

  • I’m getting this error with install-config.php.
    #!/usr/local/safe/bin/php
    Warning: Invalid argument supplied for foreach() in /export/home/chunte2/public_html/wp-admin/install-config.php on line 122
    Warning: fclose(): supplied argument is not a valid stream resource in /export/home/chunte2/public_html/wp-admin/install-config.php on line 143
    Warning: chmod(): Unable to access ../wp-config.php in /export/home/chunte2/public_html/wp-admin/install-config.php on line 144
    Warning: chmod(): No such file or directory in /export/home/chunte2/public_html/wp-admin/install-config.php on line 144

Viewing 3 replies - 1 through 3 (of 3 total)
  • If the permissions on your server don’t allow you to automatically create a wp-config.php file, you can do it manually by just renaming wp-config-sample.php and filling in the proper information.

    I just did so, but getting a 500 error when I run install.php. What should permissions be CHMODed to.

    It’s probably not a permissions issue – i’m getting the same errors, even when creating the config file manually and chmoding everything to 777.
    I’m getting this error from step 1:
    SQL/DB Error:
    [Table ‘wordpress.wp_options’ doesn’t exist]
    SELECT option_name, option_value FROM wp_options
    If i ignore it and go on, it all blows up on step 3 with a load of bad queries and duplicate messages. The blog seems to work, but i gotta wonder if the db was set up properly.
    This is on OS X 10.3 (Panther), php 4.32, mysql 2.23.49, installing 1.01. I successfully installed 1.0 (no errors) on a different machine with the same configuration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors with install-config.php’ is closed to new replies.
Skip to toolbar