You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, I realized what the problem is! The problem is that on the Windows operating system it is impossible to create files and folders containing the characters / and \ that are present when specifying the namespace!
njsx
changed the title
Bug: Cell Caching in View Cells
Bug: Cell Caching in View Cells and SOLVE!
Apr 12, 2020
Quote from UserGuide in section about View Cells:
And example:
<?= view_cell('\App\Libraries\Blog::recentPosts', 'limit=5', 300) ?>
This is variant is does not work! Cache file does not creating!
BUT! This variant is WORK if I pass the fourth argument with the file name! Thus, in version 4.0.2 I must always pass the file name!
The problem in file system/Views/Cell.php in line:
if I change on:
$cacheName = ! empty($cacheName) ? $cacheName : md5(serialize($params));
It's WORK!
The text was updated successfully, but these errors were encountered: