Loading...
 
Architecture / Installation

Architecture / Installation


Updated: count_cache_files() in Tiki 6.3

posts: 214

The error with count_cache_files() that I described below must have been caused by some problem with converting a Tiki from 5.4 to 6.3. Maybe the 5.4 version of lib/cache/cachelib.php did not actually get replaced. I have upgraded another Tiki from 6.1 to 6.3 and I did not have this problem. I had no problems at all from updating 6.1 to 6.3.

The "Tiki Cache/Sys Admin" option was getting a blank page and the error message: Call to undefined method Cachelib::count_cache_files() in .../httpdocs/tiki-admin_system.php


The change log says: cachelib: Move cache emptying logic from admin system into $cachelib->empty_cache(). Also rename the mysterious "du" function to count_cache_files as that's what it does (and improve file counting)., but I don't think that was done for 6.3.

I was able to get around the problem by copying the Tiki 7 version of lib/cache/cachelib.php over the Tiki 6.3 version of cachelib.php.
There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting