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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Dokuwiki
  3. Switching to Bootstrap3 theme breakes the page; error message "Problem with DOCU_INC directory."

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

Scheduled Pinned Locked Moved Dokuwiki
8 Posts 2 Posters 1.5k Views 2 Watching
  • 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 Offline
      N Offline
      neki
      wrote on last edited by
      #1

      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
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        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
        0
        • nebulonN nebulon

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

          N Offline
          N Offline
          neki
          wrote on last edited by
          #3

          @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
          
          
          nebulonN 1 Reply Last reply
          0
          • N neki

            @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
            
            
            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @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
            0
            • nebulonN nebulon

              @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 Offline
              N Offline
              neki
              wrote on last edited by
              #5

              @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.

              nebulonN 1 Reply Last reply
              0
              • N neki

                @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.

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                @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
                0
                • nebulonN nebulon

                  @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 Offline
                  N Offline
                  neki
                  wrote on last edited by
                  #7

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

                  nebulonN 1 Reply Last reply
                  0
                  • N neki

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

                    nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #8

                    @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
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search