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

    I’m having trouble getting 3.2.1 going.
    I have gone through the prerequisites, and gone through the screens that asked me to create an administrator.
    The next screen shows this:

    PHP Fatal error: Call to a member function getClientIp() on null in C:\inetpub\wwwroot\kiwitrees\includes\session.php on line 350

    Looking through the forum it looks like I should go to the login page, but when I do I get this:

    PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\kiwitrees\includes\functions\functions_print.php on line 284
    PHP Notice: Undefined index: in C:\inetpub\wwwroot\kiwitrees\library\WT\Tree.php on line 161
    PHP Fatal error: Call to a member function preference() on null in C:\inetpub\wwwroot\kiwitrees\includes\functions\functions_db.php on line 1371
    PHP Fatal error: Call to a member function getClientIp() on null in C:\inetpub\wwwroot\kiwitrees\includes\session.php on line 350

    Any help is appreciated.

    Thanks in advance.

  • #6350

    Hi, and welcome to kiwitrees.

    Can you look at your database (using phpmyadmin, or cPanel, or whatever tool you have access to) and post a list of the tables that have been created please.

    Can you also confirm the version of PHP and MySQL your installation uses.

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

    Thanks for your fast response Nigel.
    The versions are:
    PHP – 5.6.20
    MySQL – 5.7.12

    The created tables :
    kt_block
    kt_block_setting
    kt_change
    kt_custom_lang
    kt_dates
    kt_default_resn
    kt_families
    kt_gedcom
    kt_gedcom_chunk
    kt_gedcom_setting
    kt_hit_counter
    kt_individuals
    kt_ip_address
    kt_link
    kt_log
    kt_media
    kt_message
    kt_module
    kt_module_privacy
    kt_module_setting
    kt_name
    kt_news
    kt_next_id
    kt_other
    kt_placelinks
    kt_places
    kt_session
    kt_site_access_rule
    kt_site_setting
    kt_sources
    kt_user
    kt_user_gedcom_setting
    kt_user_setting

  • #6395

    Thanks for that detail. Unfortunately all of it points to a “normal” installation, and I cannot reproduce the issue on any of my systems.

    But you are not the only person to report it. So something strange is happening. See this thread: https://kiwitrees.net/forums/topic/3-2-1-install-error/

    Roy will at least be pleased to know he is no longer the only person to experience this. Perhaps with two of you involved we can identify the cause.

    Pleaser try this possibility. (No guarantees, but Roy mentioned that it helped his issue). Replace the file admin_trees_manage.php in the kiwitrees root directory with the one in the attached zip folder. Then start a completely fresh installation. To do that just delete the file config.ini.php in your folder kiwitrees/data/. It is not necessary to delete the database, and you can re-use the same one.

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

    “spefairb”

    1. Try going to “your website name/admin.php” .
    2. Log in
    3. Make sure all module permissions (menus, tabs, widgets, sidebars, reports and resources) have not defaulted to “Show to Managers”.
    4. If so, reset them to “Show to Visitors”.
    5. Log off and try to access site again. If now working, reset permissions as actually desired.

    Roy

    Roy

    Apache 2.4.27  PHP 7.19 MariaDB 10.2.8

  • #6483

    Sorry it’s taken me so long to get back to this. I tried both actions, but neither got me past that same error.
    It’s been a long time since I played in PHP, but I’ll roll up my sleeves and see if I can resolve. I’ll post back here if I do get it solved.
    Wish me luck!

  • #6484

    but I’ll roll up my sleeves and see if I can resolve.

    The quickest solution might be to allow me access to your installation. Is that possible? I’d need access to your server. If possible, email me the details ([email protected]).

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘New installation of 3.2.1’ is closed to new replies.