Switching to Bootstrap3 theme breakes the page; error message "Problem with DOCU_INC directory."
-
Hi,
I have just installed Dokuwiki. After I changed config to make my account an admin, I have installed bootstrap3 theme sucessfully. However, once I switched to bootstrap3 theme, page is "broken" and there is this notion with red background on the top of the page: "Problem with DOCU_INC directory. Please check your Dokuwiki installation directory!"
Any suggestions? Thank you.
Martin -
@nebulon No 404 error on the browser side - it just seems as a page with wrong css (content is there but formatting is wrong). In the log, there are following warnings/errors.
Dec 13 20:45:52 [Mon Dec 13 19:45:52.454391 2021] [php7:warn] [pid 274] [client xxx] PHP Warning: Use of undefined constant DOKU_INC - assumed 'DOKU_INC' (this will throw an Error in a future version of PHP) in /app/data/templates/bootstrap3/iconify.php on line 65, referer: https://xxx/ Dec 13 20:45:52 [Mon Dec 13 19:45:52.454500 2021] [php7:warn] [pid 274] [client xxx] PHP Warning: require_once(DOKU_INCinc/init.php): failed to open stream: No such file or directory in /app/data/templates/bootstrap3/iconify.php on line 65, referer: xxx Dec 13 20:45:52 [Mon Dec 13 19:45:52.454512 2021] [php7:error] [pid 274] [client xxx] PHP Fatal error: require_once(): Failed opening required 'DOKU_INCinc/init.php' (include_path='.:/usr/share/php') in /app/data/templates/bootstrap3/iconify.php on line 65, referer: xxx