This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
info_doku:doku_free [2021/01/01 21:25] 127.0.0.1 external edit |
info_doku:doku_free [2022/09/19 15:41] (current) manu [Problem with pages refresh in dokuwiki] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Bug in the latest dokuwiki ====== | + | ====== Dokuwiki ====== |
- | dokuwiki-2012-10-13 “Adora Belle”, web pages takes only 50% from screen: | + | ===== Why is it optimized for my use ? ===== |
- | Update the following parameters: | + | * Dokuwiki is a wiki which can easily be implemented, and maintained (files in text format, not a databse) |
- | <cli prompt='#'> | + | * Powerful indexation, differently from MS Sharepoint where you can't find anything. |
- | dokuwiki:/srv/www/htdocs # cat lib/tpl/default/design.css | grep width | + | * Pages are text files that can be automatically generated for automating reports, inventory… |
- | ... | + | |
- | /* width: 700px; */ | + | |
- | width: 100%; | + | |
- | min-width: 100%; | + | |
- | max-width: 100%; | + | |
- | ... | + | |
- | </cli> | + | |
+ | ===== Problem with pages refresh in dokuwiki ====== | ||
- | <cli prompt='#'> | + | Remove all folders into **data/cache/** |
- | dokuwiki:/srv/www/htdocs # cat lib/tpl/dokuwiki/style.ini | + | |
- | ... | + | |
- | ; site and sidebar widths | + | |
- | ;__site_width__ = "75em" | + | |
- | __site_width__ = "100%" | + | |
- | __sidebar_width__ = "16em" | + | |
- | ... | + | |
- | </cli> | + | |
+ | However, you will still have lots of junk left around. For example in data/changes.log, various files under cache (including the .idx files etc). If possible you could just start from a blank state as follows (again under Unix) but be warned that this will mean losing all your historical information (i.e. recent changes): | ||
+ | cat /dev/null > /dokuwiki_base/data/changes.log | ||
+ | rm -Rf /dokuwiki_base/data/attic/* | ||
+ | rm -Rf /dokuwiki_base/data/cache/? | ||
+ | rm -Rf /dokuwiki_base/data/cache/*.idx | ||
+ | rm -Rf /dokuwiki_base/data/cache/purgefile | ||
+ | Browse each and every page of your Wiki. | ||
+ | |||
+ | Reindex wiki pages (-c to clear index before): | ||
+ | <cli prompt='#'> | ||
+ | # cd /var/www/html/dokuwiki | ||
+ | # php ./bin/indexer.php -c | ||
+ | </cli> | ||
- | ====== Dokuwiki for free ====== | + | ===== Dokuwiki for free ===== |
- first extract the dokuwiki binaries on local and transfert it by ftp on you free web site. | - first extract the dokuwiki binaries on local and transfert it by ftp on you free web site. | ||
Line 965: | Line 964: | ||
</cli> | </cli> | ||
- | ===== Problem with pages refresh in dokuwiki ====== | ||
- | Remove all folders into **data/cache/** |