Viewing 10 posts - 1 through 10 (of 10 total)
Author
Posts
  • #10672

    Hello,

    I have a problem with my server configuration and Kiwitrees 2.04.
    All worked fine until now. But with last ubuntu php upgrade, kiwitrees stop working.
    In my log I have this error:

    2019/03/03 17:10:20 [error] 2461#0: *17009 FastCGI sent in stderr: “PHP message: PHP Warning: require(/var/www/clients/client1/web5/web/includes/functions/functions_db.php): failed to open stream: No such file or directory in /var/www/clients/client1/web5/web/includes/session.php on line 215

    I think the file functions_db.php never exists in kiwitrees 2.04 but … all works until now.

    I tried a new install with webtrees, and it runs.

    Any help please?

    Thanks in advance.

    Jorge Mota
    https://www.jorgemota.pt (kiwitrees 2.04)
    https://www.jorgemota.pt/new (webtrees with same database)

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

    Kiwitrees 3.3.5 (with the same database):

    https://www.motta.pt/newkw

    A new 3.3.5 gives me the same error.

  • #10678

    Kiwitrees 3.3.5 (with the same database):

    https://www.motta.pt/newkw

    A new 3.3.5 gives me the same error.

    I am pleased you have upgraded to 3.3.5. I cannot provide support for a version as old as 2.0.4 I’m afraid.

    Your link shows this message:

    Screenshot-2019-03-04-09.29.02

    It says that you need to upgrade PHP. I recommend version 7.2.

    I think the file functions_db.php never exists in kiwitrees 2.04

    Kiwitrees has always, and still does include the file /includes/functions/functions_db.php

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

    Ok, thank for your time and help.
    I have PHP 5.3.9 that is great than 5.3.3 and Kiwitrees 3.3.5 don’t work as you can see.

  • #10682

    Do you have the file kiwitrees/includes/functions/functions_db.php in both your 2.0.4 installation and the new 3.3.5 installation?

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

    Do you have the file kiwitrees/includes/functions/functions_db.php in both your 2.0.4 installation and the new 3.3.5 installation?

    Sorry, ignore that question. I failed to read your message correctly.

    Please read FAQs:

    https://kiwitrees.net/faqs/introduction/system-requirements/

    The minimum required for kiwitrees is PHP5.6.

    (EDIT: I do see that in a couple of pages that information is not shown correctly (such as the file site-php-version.php). I have now corrected that for the next release. My apologies for any confusion caused.)

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

    I don’t have the functions_db.php file in my 2.04 instalation. I think the file don’t came with setup and I don’t have it.
    In the 3.3.5 the file is in the includes/functions.

    You can see my PHP instalation on https://www.motta.pt/test.php.

    Thanks.

  • #10685

    I don’t have the functions_db.php file in my 2.04 instalation. I think the file don’t came with setup and I don’t have it.

    That file has been included in the kiwitrees/includes/ folder of kiwitrees since before version 1.4.4 (first edition). It was also in the same place before that in webtrees, and before that in PGV. It has never “not” been part of the package. If it is not there now in your version of 2.0.4 then it has been deleted at your end. No version of kiwitrees (ever) would work without it.

    But I no longer have any copies of versions as old as that, so cannot supply a copy.

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

    I have upgraded the PHP to 7.033. When I tried to install a new 3.3.5 a new error appears in the log:

    Stack trace:
    #0 /var/www/clients/client1/web5/web/library/Zend/Cache/Backend/File.php(177): Zend_Cache::throwException(‘cache_dir “data…’)
    #1 /var/www/clients/client1/web5/web/library/Zend/Cache/Backend/File.php(128): Zend_Cache_Backend_File->setCacheDir(‘data/cache’)
    #2 /var/www/clients/client1/web5/web/library/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
    #3 /var/www/clients/client1/web5/web/library/Zend/Cache.php(94): Zend_Cache::_makeBackend(‘File’, Array, false, false)
    #4 /var/www/clients/client1/web5/web/library/KT/I18N.php(80): Zend_Cache::factory(‘Core’, ‘File’, Array, Array)
    #5 /var/www/clients/client1/web5/web/setup.php(102): KT_I18N::init(NULL)
    #6 {main}
    thrown in /var/www/clients/client1/web5/web/library/Zend/Cache.php on line 209” while reading response header from upstream, client: 79.168.184.82, server: http://www.motta.pt, request: “GET /setup.php HTTP/1.$

    My new PHP info can be viewed here: https://www.motta.pt/test.php

  • #10688

    Looks like you might have wrong permissions on the kiwitrees /data/ folder. The system needs to be able to write to that folder, and it’s sub-folders, especially /data/cache.

    From FAQs https://kiwitrees.net/faqs/introduction/security/

    If your server runs PHP in CGI mode, then change the permission of the /data directory to 700 instead of 777. This will block access to the httpd process, while still allowing access to PHP scripts.

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Ubuntu 14.04 + PHP 5.3.9 + Kiwitrees 2.04’ is closed to new replies.