Viewing 7 posts - 1 through 7 (of 7 total)
Author
Posts
  • #6442

    I have overwritten my config.ini.php in the last update. I am searching for a backup but having problems. Is there another way to reset this file?

  • #6443

    I have overwritten my config.ini.php in the last update. I am searching for a backup but having problems. Is there another way to reset this file?

    Yes, very simple, but it assumes you know what it should contain.

    Just delete that file, and run setup.php. (just add that file name to the end of your URL in your browser). The process is the same as creating a fresh installation, but just use the exact same database details as before. The code will not over-write your existing database. It first checks to see if any or all tables exist, and if they do it uses them.

    If you are not feeling confident in that approach, take a full backup of your database first just in case.

    But how did you over-write the file during an update? Kiwtrees does not contain that file it is only ever created by the setup process, so no update done normally will ever damage, over-write or otherwise delete that file. Is there something you did that I might be able code a way to prevent others doing or at least warning against it?

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #6445

    Thanks Nigel, I downloaded 3.2.1 and expanded it then dragged the files over to the server.

  • #6448

    OUCH!!!! That’s bad. I don’t know how that happened, but you are right. There is a copy of the file in the /data/ folder of the download and there shouldn’t be. My fault entirely. Sorry about that.

    I’m replacing the download copy right away.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #6449

    No worries. I’m sure we’ll work though it ๐Ÿ™‚

    Now I have done as instructed but get:

    FATAL ERROR: CALL TO UNDEFINED METHOD WT_MENUBAR::GETCALENDARMENU() IN /HOME14/POTTSNE/PUBLIC_HTML/TREE_NEW/MODULES_V3/MENU_CALENDAR/MODULE.PHP ON LINE 55

  • #6450

    RTFM!! ๐Ÿ™‚ No, sorry, don’t mean to be rude….

    That is covered in the Upgrade instructions though: http://kiwitrees.net/faqs/general/upgrading/

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #6452

    Haha! Fixed. Just thought it might have been related to the config file. Cheers Nige! ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘config.ini.php’ is closed to new replies.