Tags:

Viewing 10 posts - 11 through 20 (of 22 total)
Author
Posts
  • #10604

    PHP 5.6 should be fine. If it was a “live” site I would strongly urge you to update that. But on a local machine its not so important.

    I shall take a look on my site using Firefox tomorrow just in case its something I’ve missed in testing.

    Meanwhile, as its just local, can you try a completely fresh install of 3.3.4, new code, new empty database, import your Gedcom file from scratch? Not as a permanent alternative, just to eliminate the uograde process.

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

    Thanks for the suggesiton. I tried this – installed the downloaded files in a new directory, renamed to kiwitrees, pointed my browser at this directory and the file setup.php opened but just blocked!

    I turned on the Web Developer tools, but there were no messages in the console.

    I checked that no files were missing by comparing the list of files on the new installation with that from my previous installation.

  • #10606

    What about the web server error logs? It’s possible you have error logging disabled. If so enable it and try the install again. Sorry I can’t help much with how to enable it on your particulat set up.

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

    Good idea! I looked at the Apache error log and there were indeed some errors, which looked like permission issues.

    I’d thought that since I’d just been renaming directories, the permissions would be OK, but this was not the case for the kiwitrees/data directory.
    I changed the permissions on this, and the setup proceeded normally (I didn’t complete the procedure yet).
    Maybe the same issue was causing the problem with the upgrade of the existing installation.

  • #10609

    I completed the installation and imported a gedcom file. Everything seems to work correctly. The only snag I encountered during the installation was that I had to use 127.0.0.1 instead of localhost for the host URL.

    I checked the folder permissions on the version I installed using my previous data folder, and they seem to be OK, so this doesn’t explain the error messages I was getting.

    James

  • #10610

    I completed the installation and imported a gedcom file. Everything seems to work correctly.

    Great. That confirms that kiwitrees and your system are working OK. However, you still have the original problem. Something is preventing the global variable “KT_USER_ID” from being read. Every other case like this has been due to the fact that variable has been changed in kiwitrees from “WT_USER_ID”, and that has been due to session storage, either in the database or in cookies on the browser. We appear to have exhausted both of those possibilities.

    You could try a search across the database, in all the original kiwitrees tables, using PhpMyAdmin for the term “WT_USER_ID” to see if it remains anywhere. Let me know what you find. Some examples might be more relevant here than others.

    The only snag I encountered during the installation was that I had to use 127.0.0.1 instead of localhost for the host URL.

    Localhost vs 127.0.0.1 is related to your local web server config. It can be changed. This link might help – https://apple.stackexchange.com/questions/269365/why-cant-browsers-resolve-localhost

    I checked the folder permissions on the version I installed using my previous data folder, and they seem to be OK, so this doesn’t explain the error messages I was getting.

    Permissions were never going to be the cause of the original error.

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

    No luck with the search for WT_USER_ID in the database – zero matches.

    I did try one other trick – for the 3.3.4 version which I installed from scratch, I modified the configuration file to point to my old kiwitrees database instead of the new one, created from scratch. As one might expect, the result was that I got the error messages again. At least this does seem to indicate that the problem is with the database somewhere, and not related to cookies.

    Maybe I could try importing tables one by one from the old database into the new one, until something breaks. A bit tedious, but it should reveal which table is causing the problem.

    Thanks for the link for the localhost issue.

    James

  • #10616

    I made some progress with the 3.3.4 version which I installed from scratch. I imported several gedcom files and most things seem to work. I imported kt_placelocation table from my old database and Google Maps displays events at their correct location.

    However, I do still have a number of problems, as follows:

    1. Choosing a gedcom from the “Home” menu produces a URL of the form:
      http://localhost/~james/kiwitrees-3.3.4/index.php?amp;ged=loveluck
      which has to be corrected by hand to:
      http://localhost/~james/kiwitrees-3.3.4/index.php?ged=loveluck
    2. Welcome Note and News blocks are not included on Home page.
      I tried importing tables from V3.2.3:
      kt-news – imported correctly after dropping default table
      kt_block_settings, kt_block – import gave error message
      #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
    3. I then tried setting default blocks by hand.
      Administration – Family tree tools – Set the default blocks
      Only “Home”, “On this day”, “Statistics”, “Who is online” are listed in “Available blocks”
      (not “”Charts”, “Favourites”, “HTML”, “Recent changes” …)
      Tried the following:
      Administration – Modules – Blocks
      Changed “news” settings to “Show to visitors” (was previously “Hide from everyone”)
      Then returned to “Set the default blocks”. “News” does now appear in “Available blocks”.
      Added it to “Main section blocks” and – Save
      News still does not appear on Home page, and when I return to “Set the default blocks”, it is not listed in “Main section blocks”
      Tried modifying table kt_block by hand in phpMyAdmin.
      Changed gedcom_id from -1 to 1 in a gedcom_news row (there were several)
      The News block did then appear on the Home page, but I wasn’t able to change the order on the page (place it before “Statistics”).
    4. Administration – Site administration – Server usage
      gives a blank page
    5. Administration – Tools
      Only 6 tools listed, against 15 for V3.2.3

    Any help much appreciated.

    James

  • #10618

    I made some progress with the 3.3.4 version which I installed from scratch. I imported several gedcom files and most things seem to work. I imported kt_placelocation table from my old database and Google Maps displays events at their correct location.

    Some of those issues are normal setup requirements for a new site, others relate to the risks of tinkering with tables directly. In general, I advise against that, though there are a couple of “safe” exceptions. But many tables are interlinked and cannot be touched without knowing how the linkages work.

    To address each issue…
    1. Choosing a Gedcom from the “Home” menu produces a URL of the form
    Thanks for that. It is a bug not previously reported. To fix replace the file kiwitrees/library/KT/MenuBar.php with the one in the zip folder attached below here.
    Items 2,3, and 5
    I lot of features are disabled on initial installation. This is to avoid overwhelming new users. Instead, a commonly used set of default modules are enabled and configured in a “standard” way common to many first installs. Later, or once install is complete for experienced users, more modules can be enabled (Administration > Modules > Manage modules), their access levels and (in some cases) positioning set in the appropriate page (the other options under Administration > Modules)

    The Administration > Tools list of 15 you mention is a good example. I suspect you never used a good many of those. So now you don’t have them adding to the clutter, but can add any if you want them.

    4. Administration – Site administration – Server usage
    It is working on most sites I’ve seen, but it can be slow to load. It’s not something designed for regular use. It was actually added primarily for kiwitrees-hosted clients where database and storage use are factors in their annual hosting charges.

    Check your kiwitrees and/or server logs to see if an error was generated. My first guess would be a time-out of some sort,

    Nigel
    My personal kiwitrees site is www.our-families.info
    Attachments:
  • #10623

    Hello Nigel,

    Thanks for the menu bar fix, which works fine, and for the advice about enabling modules, etc. I think I used to be familiar with this stuff, but I’d forgotten how everything worked. I couldn’t find a tutorial on this subject.

    I can now configure most features I need, but one thing escapes me. I used to have two sets of “Pages”, one for a list of “What’s New” items, and one for “Links to related web sites”. However, I don’t see how to have two instances of ‘Pages”

    James

Viewing 10 posts - 11 through 20 (of 22 total)
  • The topic ‘Problem upgrading to version 3.3.4’ is closed to new replies.