• I’m having some problems with installing .72 beta 2 of WordPress.
    First this, “Copy wp-config.sample.php to wp-config.php.” is sort of confusing to me. Mostly because there isn’t a wp-config.php file. There is a wp-config-extra.php, so I assumed that this is the file the instructions were talking about. Secondly, I may be a moron but, I’m not clear on what I’m supposed to be copying. I assume it is the contents of wp-config.sample.php to the contents of wp-config-extra.php. Is this right?
    Ok so, I did all that and I recieved this error
    Warning: main(../wp-config.php): failed to open stream: No such file or directory in /home/gracie/public_html/wp-admin/wp-install.php on line 3
    Fatal error: main(): Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/gracie/public_html/wp-admin/wp-install.php on line 3
    Thanks for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • No. It means that when you alter wp-config-sample.php, you should SAVE AS ‘wp-config.php’ in your text editor. This creates a new file by that name.

    Actually, you want one file called wp-config.php in the root directory of your WordPress installation. There is none in the beginning, so you are making a duplicate of wp-config.sample.php and renaming that duplicate to wp-config.php
    On a Mac, this would look like:
    wp-config.sample copy.php
    rename wp-config.sample copy.php to wp-config.php (basically taking out “.sample copy”)
    open the file, change the contents of your newly created wp-config.php file to your settings.
    upload.
    You will not touch wp-config-extra.php at all. And you are not copying or pasting any code from one file to the next, you’re making an actual duplicate of the file and renaming it.
    HTH
    Lane

    Thread Starter gracebytes

    (@gracebytes)

    It worked thanks! The way it was worded totally confused me :\

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installation problems and errors’ is closed to new replies.