giterlizzi / dokuwiki-template-bootstrap3

Bootstrap-based template for DokuWiki
https://dokuwiki.org/template:bootstrap3
GNU General Public License v2.0
220 stars 77 forks source link

most Icons in edit-mode are missing #592

Closed suther closed 9 months ago

suther commented 1 year ago

image

But if I uncheck this entry, they appear again:

image

anto54 commented 1 year ago

I have the same problem i try to find the solution :/

image

thunderflip commented 1 year ago

I noticed that I have this problem with PHP 8 but no problem with PHP 7. I don't understand where it could be related with PHP version. I hope this could be a clue to a solution.

Er4twXz commented 1 year ago

after editing C:\server\Apache24\htdocs\wiki\lib\tpl\bootstrap3\iconify.php

and inserting at top of the page - after the php declaration

use dokuwiki\Cache\Cache;

and changing

$cache = new cache($cache_key, '.js'); to

$cache = new Cache($cache_key, '.js');

it works - cache is deprecated and replaced by Cache

iconify.php.txt