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

install lock file gone

Discussion in 'Troubleshooting and Problems' started by Member 3639, May 14, 2011.

  1. Member 3639

    Member 3639 Active Member

    Okay so i logged into my admin and this comes up:

    I accidently uploaded two folders into the install folder but i deleted only them. So i don't know where that file has gone, what is inside it for me to recreate it?

    Edit > Infact the file is there it's a different folder, why is my admin suddenly telling me a file that is there isn't?!
     
  2. borbole

    borbole Well-Known Member

    Can you please tell us what exactly happened?
     
  3. Lawrence

    Lawrence Well-Known Member

    The install-lock file needs to be located here: /yourXenForo/internal_data/install-lock.php

    It sounds like you over-written or deleted it,or accidentally moved it. The contents of the file isn't that important, just as long it is there. My install file:

    Code:
    <?php header('Location: ../index.php'); /* Installed: Tue, 05 Oct 10 22:26:24 +0000 */
     
  4. Member 3639

    Member 3639 Active Member

    Yeah i somehow moved that folder to inside the install folder, moved out and all fine :)
     
  5. AndyB

    AndyB Well-Known Member

    What is the purpose of the install-lock.php file?
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    It locks the installer so you can't accidentally overwrite your install.
     

Share This Page