1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug config.php generation

Discussion in 'Resolved Bug Reports' started by DavidH, Jan 26, 2011.

  1. DavidH

    DavidH Member


    I had a little problem with my config.php generation, in the end I had to manually edit it myself.

    Basically I put in some info, but missed a few permissions (didn't realise this at first) and then changed the password as it errored out on the step after it made the config.php. I then reran the section which generates the config and it said it was ok, but I got the same mysql unable to connect error. It later turned out that it wasn't re-generating the config.php file.

    This is with RC1 - should be pretty simple to reproduce.
  2. Mike

    Mike XenForo Developer Staff Member

    It generates the config file, but you need to save the file and upload it manually. It sounds like you didn't do that part?
  3. DavidH

    DavidH Member

    Oh, maybe I didn't read it fully. If that's the case I didn't do that... however when I edited it on the server it did have my initial data in there.

    Sorry for making the thread if it is intended behavior!
  4. Vincent

    Vincent Well-Known Member

    Doesn't it go automatically? It always goes with me :D
  5. Mike

    Mike XenForo Developer Staff Member

    If it can write to the file, it will. If it can't, it will tell you to upload it. We don't tell you to chmod this as ideally we want to ensure that you can actually edit your config.php (via FTP, say).
    Darkimmortal likes this.
  6. Vincent

    Vincent Well-Known Member

    Ah, okay, good 2 know.

Share This Page