Wrong template_c caching in multi Tiki
- Status
- Open
- Subject
- Wrong template_c caching in multi Tiki
- Version
- 17.x
- Category
- Error
- Resolution status
- New
- Submitted by
- Gabriele Garuglieri
- Lastmod by
- Gabriele Garuglieri
- Rating
- Description
Hi all,
i've just installed Tiki and i'm experimenting with multi configurations (at the moment on my Windows pc).
I've seen there is a problem in caching the templates compilations.In lib/init/smarty.php there is:
Copy to clipboard$this->setCompileDir(TIKI_PATH . "/temp/templates_c");while instead in multi configuration it should be "/temp/templates_c/$tikidomain"
Infact in tiki-admin_system.php there is:
Copy to clipboard$templates_c = $cachelib->count_cache_files("temp/templates_c/$tikidomain");
This means that in "System Administration/Clear Cache Content" panel, the cache content is always shown as 0 and files cached by smarty compilations in "/temp/templates_c" cannot be deleted from that panel and must be cleared manually.Regards,
Gabriele- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6459
- Created
- Friday 29 September, 2017 12:15:30 UTC
by Gabriele Garuglieri - LastModif
- Friday 29 September, 2017 12:43:36 UTC