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

    bootstrap3 theme broken after recent update

    Dokuwiki
    2
    4
    42
    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.
    • G
      gml last edited by

      Hi all,

      Thank you for the default pages fix. I was just about to test it, when I noticed that the recent update broke (at least) the bootstrap3 theme, which is a very popular one.

      Package Version where the error was introduced: org.dokuwiki.cloudronapp@1.13.0-1 (also broken in org.dokuwiki.cloudronapp@1.13.1)

      Bootstrap3 theme is not working anymore since this Update. In the log I catch the following:

      Feb 01 10:04:39 [Wed Feb 01 09:04:39.781873 2023] [php:error] [pid 71] [client 172.18.0.1:50560] PHP Fatal error: Uncaught Error: Undefined constant "DOKU_INC" in /app/data/templates/bootstrap3/css.php:84\nStack trace:\n#0 {main}\n thrown in /app/data/templates/bootstrap3/css.php on line 84, referer: https://<url>/lib/exe/css.php?t=bootstrap3&tseed=<seed>
      Feb 01 10:04:39 <IP> - - [01/Feb/2023:09:04:39 +0000] "GET /lib/tpl/bootstrap3/css.php?f=bootstrap.css HTTP/1.1" 500 - "https://<url>/lib/exe/css.php?t=bootstrap3&tseed=<seed>" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
      Feb 01 10:04:39 <IP> - - [01/Feb/2023:09:04:39 +0000] "GET /lib/exe/taskrunner.php?id=start%3Adocumentation%3Alearning%3Anetwork%3Ainterconnect&1675242279 HTTP/1.1" 200 42 "https://<url>/start/documentation/learning/network/interconnect?do=admin&page=config" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
      Feb 01 10:04:39 [Wed Feb 01 09:04:39.954388 2023] [php:error] [pid 71] [client 172.18.0.1:50568] PHP Fatal error: Uncaught Error: Undefined constant "DOKU_INC" in /app/data/templates/bootstrap3/iconify.php:65\nStack trace:\n#0 {main}\n thrown in /app/data/templates/bootstrap3/iconify.php on line 65, referer: https://<url>?do=admin&page=config
      Feb 01 10:04:39 85.195.207.88 - - [01/Feb/2023:09:04:39 +0000] "GET /lib/tpl/bootstrap3/iconify.php?prefix=mdi&icons=check-circle HTTP/1.1" 500 - "https://<url>?do=admin&page=config" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
      

      Probably unrelated, but I also noticed these entries in the log:

      Feb 01 09:54:13 <IP> - - [01/Feb/2023:08:54:13 +0000] "GET /start HTTP/1.1" 200 3301 "https://<url>/start" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
      Feb 01 09:54:20 [Wed Feb 01 08:54:20.371996 2023] [php:warn] [pid 68] [client 172.18.0.1:42250] PHP Warning: Undefined array key "gidnumber" in /app/data/plugins/authldap/auth.php on line 238, referer: https://<url>/start
      Feb 01 09:54:20 [Wed Feb 01 08:54:20.372042 2023] [php:warn] [pid 68] [client 172.18.0.1:42250] PHP Warning: Trying to access array offset on value of type null in /app/data/plugins/authldap/auth.php on line 238, referer: https://<url>/start
      
      girish 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @gml last edited by

        @gml PHP was updated to 8.1 . Can you check if that theme is compatible ? PHP 7.4 is EOL and won't get updates anymore. I think if the theme does not support it, you have to stay on the older package.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @gml last edited by

          @gml said in bootstrap3 theme broken after recent update:

          Feb 01 10:04:39 [Wed Feb 01 09:04:39.954388 2023] [php:error] [pid 71] [client 172.18.0.1:50568] PHP Fatal error: Uncaught Error: Undefined constant "DOKU_INC" in /app/data/templates/bootstrap3/iconify.php:65\nStack trace:\n#0 {main}\n thrown in /app/data/templates/bootstrap3/iconify.php on line 65, referer: https://<url>?do=admin&page=config

          The above error is not PHP related though... I think it's because of a packaging issue, let me check.

          Dokuwiki plugins have this problem that they need to have be inside the main code repository paths . This makes updates quite a pain 😕

          1 Reply Last reply Reply Quote 0
          • G
            gml last edited by

            @girish I haven't yet found out about the PHP compatibility of bootstrap3.
            Were you able to track down the packaging issue?

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