Support » Fixing WordPress » Where is wp-config.php?

  • Hi, I recently made a long overdue upgrade from 2.1 to 2.6.3 and I have all the extra characters in my old posts. I looked in the forums on how to fix it, and I understand I need to delete things from the wp-config.php file….but I can’t find that. Shouldn’t it be in the “theme editor”? I have the feeling I’m missing something very obvious.

    Can someone help me really quick?

Viewing 4 replies - 1 through 4 (of 4 total)
  • ok first you need to access your servers directory where wordpress is installed.

    /public_html/wp-config.php its right in the main directory of your wordpress installation… For me my wordpress installation is in the root directory of my domain.

    if it was installed in a sub-domain it would be

    you will need to pull that file off the server using ftp and edit it locally than upload it back to the server, saying yes to overwrite the file.

    The Prophecy
    [sig moderated]

    Ok, I did that, but now I’m getting a fatal error. I edited it using notepad, overwrote it using FTP and now here’s what I’m getting:

    Fatal error: Call to undefined function: wp() in /home/jcyrusfa/public_html/eastwindupchronicle/wp-blog-header.php on line 14

    I just went back into the wordpress 2.6.3 file to see if I could recopy it and there’s no “wp-config.php” file.

    Anyone that can tell me how I can rewrite this file? I’m really at a loss as to what I can do. My blog has over a thousand posts with advertising. I really want to get it back up as soon as possible.

    Please? Do I need to recopy large parts of WordPress 2.6.3? Contact my host?

    did you make sure when you edited the file that it saved as ‘wp-config.php’? Because notepad loves to save files as ‘wp-config.php.txt’

    also did you first back-up the original wp-config file before editing and/or uploading the changed file?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where is wp-config.php?’ is closed to new replies.