Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Switching to Bootstrap3 theme breakes the page; error message "Problem with DOCU_INC directory."

    Dokuwiki
    2
    8
    267
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      neki last edited by

      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

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Do you see any 404 errors on the browser side or errors on the app/server side which might give some hints?

        N 1 Reply Last reply Reply Quote 0
        • N
          neki @nebulon last edited by

          @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
          
          
          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @neki last edited by

            @neki looks like it misses some files. Were there maybe any further install steps required? I have never attempted to install a theme in Dokuwiki...

            N 1 Reply Last reply Reply Quote 0
            • N
              neki @nebulon last edited by

              @nebulon I tried both extension manager and manual install from zip file with the same result. There are no other steps. Just to be sure, I have installed another theme and it worked fine.

              nebulon 1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff @neki last edited by

                @neki then you may have to contact the upstream developers about this. If you do, maybe you can paste the link to the upstream issue here for reference.

                N 1 Reply Last reply Reply Quote 0
                • N
                  neki @nebulon last edited by

                  @nebulon I would do that but I don't know how. Is there any guide for this? Thank you.

                  nebulon 1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff @neki last edited by

                    @neki it seems for this particular template/theme the issue tracker is at https://github.com/giterlizzi/dokuwiki-template-bootstrap3/issues

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB