4th March 2019 at 6:19 am #10672
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.
4th March 2019 at 9:35 am #10678
Kiwitrees 3.3.5 (with the same database):
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:
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
4th March 2019 at 11:03 am #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.
4th March 2019 at 11:16 am #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:
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.)
4th March 2019 at 11:25 am #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.
4th March 2019 at 12:11 pm #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:
#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)
thrown in /var/www/clients/client1/web5/web/library/Zend/Cache.php on line 209” while reading response header from upstream, client: 18.104.22.168, 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
4th March 2019 at 12:18 pm #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.
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.
- The topic ‘Ubuntu 14.04 + PHP 5.3.9 + Kiwitrees 2.04’ is closed to new replies.