Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to v2020-04-04.The menu in the upper right corner does not display submenu issues. #470

Closed
ccinoo opened this issue Apr 10, 2020 · 23 comments
Labels
Milestone

Comments

@ccinoo
Copy link

ccinoo commented Apr 10, 2020

Description

After upgrading to v2020-04-04.The menu in the upper right corner does not display submenu issues.

Steps to reproduce

Move the mouse to the menu in the upper right corner, the submenu will not be displayed automatically.

Versions

  • [Bootstrap3 Template]
    Template v2020-04-04 (hotfix/20200407)
  • [DokuWiki]
    Release 2018-04-22 "Greebo"
  • [Plugins]
    CKEditor editor CSS tool
    History Cleanup
  • [PHP]
    PHP7.1
  • [Browser]
    Chrome 80.0.3987.149

Screenshots or Logs

image

@ccinoo ccinoo added the bug label Apr 10, 2020
@borrrsch
Copy link

borrrsch commented Apr 10, 2020

I also have that issue. Browser dev panel:
Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6:37
https://name/lib/tpl/bootstrap3/assets/bootstrap/js/bootstrap.min.js:6

@giterlizzi
Copy link
Owner

Hi,
Please verify if you see errors in JS console and purge the DokuWiki JS Cache via http://<domain>/lib/exe/js.php?purge=true URL and clear the Browser cache.

Joseph

@ccinoo
Copy link
Author

ccinoo commented Apr 10, 2020

I also have that issue. Browser dev panel:
Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6:37
https://name/lib/tpl/bootstrap3/assets/bootstrap/js/bootstrap.min.js:6

What I see in the console is the following error:

Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6 (anonymous) @ bootstrap.min.js:6 bootstrap3-typeahead.min.js:1 Uncaught TypeError: Cannot read property 'fn' of undefined at bootstrap3-typeahead.min.js:1 at bootstrap3-typeahead.min.js:1 at bootstrap3-typeahead.min.js:1 (anonymous) @ bootstrap3-typeahead.min.js:1 (anonymous) @ bootstrap3-typeahead.min.js:1 (anonymous) @ bootstrap3-typeahead.min.js:1 fa.js:38 Uncaught ReferenceError: DOKU_TPL is not defined at fa.js:38 at fa.js:177 (anonymous) @ fa.js:38 (anonymous) @ fa.js:177 script-cmpr.js:1 Uncaught ReferenceError: DOKU_BASE is not defined at script-cmpr.js:1 at script-cmpr.js:1 (anonymous) @ script-cmpr.js:1 (anonymous) @ script-cmpr.js:1 jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:20 JQMIGRATE: Migrate is installed, version 3.0.0 jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:2 Uncaught TypeError: jQuery(...).typeahead is not a function at HTMLDocument.<anonymous> (js.php?t=bootstrap3&tseed=156c5021c6ca21a0b57f5d1f500c0430:1) at j (jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:2) at k (jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:2) (anonymous) @ js.php?t=bootstrap3&tseed=156c5021c6ca21a0b57f5d1f500c0430:1 j @ jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:2 k @ jquery.php?tseed=23f888679b4f1dc26eef34902aca964f:2 start:1 Error while trying to use the following icon from the Manifest: https://www.wiki.com/wiki/_media/wiki/dokuwiki.svg (Download error or resource isn't a valid image) DevTools failed to load SourceMap: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/include.preload.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/include.postload.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

@ccinoo
Copy link
Author

ccinoo commented Apr 10, 2020

Hi,
Please verify if you see errors in JS console and purge the DokuWiki JS Cache via http://<domain>/lib/exe/js.php?purge=true URL and clear the Browser cache.

Joseph

Thanks for the reply, I have tried to clear the browser cache and the problem is not resolved.
The error message I saw is from the screenshot below.

image

@phy25
Copy link
Contributor

phy25 commented Apr 11, 2020

Have you done http:///lib/exe/js.php?purge=true ? There is also a server cache. Alternatively you can go to your DokuWiki configuration and save without any changes.

@ccinoo
Copy link
Author

ccinoo commented Apr 11, 2020

Have you done http:///lib/exe/js.php?purge=true ? There is also a server cache. Alternatively you can go to your DokuWiki configuration and save without any changes.

Thank you for your reply. I followed the steps below and the problem was not resolved.

  1. Execute http: ///lib/exe/js.php? Purge = true
  2. Chrome browser clears the cache

@phy25
Copy link
Contributor

phy25 commented Apr 11, 2020

Could you "go to your DokuWiki configuration and save without any changes" and try again?

@ccinoo
Copy link
Author

ccinoo commented Apr 11, 2020

Could you "go to your DokuWiki configuration and save without any changes" and try again?

Thank you. I followed the steps below and the problem was not resolved.

  1. Execute http: ///lib/exe/js.php? Purge = true
  2. Chrome browser clears the cache
  3. On the wiki configuration page, save without making any changes.

image

@ccinoo
Copy link
Author

ccinoo commented Apr 11, 2020

I don't know if these html codes are helpful.

image

@giterlizzi
Copy link
Owner

You see errors (HTTP 404 or 500) in Network Tab in Developer Console ?

@ccinoo
Copy link
Author

ccinoo commented Apr 12, 2020

You see errors (HTTP 404 or 500) in Network Tab in Developer Console ?

Thank you. Did not see the 200 thought prompt.
image

@giterlizzi giterlizzi added this to the v2020-05 milestone Apr 29, 2020
@Ryonez
Copy link

Ryonez commented May 16, 2020

How are you guys running that url? All it does is open that page as text.

@Ryonez
Copy link

Ryonez commented May 16, 2020

In any case I just installed this on a fresh installation, and updated another and both have this issue.

@ccinoo
Copy link
Author

ccinoo commented May 16, 2020

无论如何,我只是将其安装在全新安装上,然后更新了另一个安装,并且两者都存在此问题。

Before the problem was resolved, I temporarily replaced it with another template.

@Ryonez
Copy link

Ryonez commented May 16, 2020

Gave that a go, reverted to the default template, then came back, no joy.

@giterlizzi
Copy link
Owner

giterlizzi commented May 16, 2020

@ccinoo @Ryonez in develop branch i have a new dispatcher for CSS asset and have removed some legacy code for JS asset (now use the default DokuWiki js.php dispatcher) can solve this issue.

After install the template via Extension manager, purge DokuWiki cache via (http://<wiki>/lib/exe/css.php?purge and http://<wiki>/lib/exe/js.php?purge URL) and browser cache.

Joseph

@Ryonez
Copy link

Ryonez commented May 17, 2020

@giterlizzi
That breaks the site:
image

And those urls don't "run". As I said above, all it does is display text.

@giterlizzi
Copy link
Owner

@Ryonez Apache error_log ?

@Ryonez
Copy link

Ryonez commented May 17, 2020

image

Found out I can use the last good commit here until this is fixed: https://github.com/giterlizzi/dokuwiki-template-bootstrap3/archive/v2019-05-22.zip

@giterlizzi
Copy link
Owner

giterlizzi commented May 17, 2020

Seems a non standard DokuWiki installation.

Where is the DOKU_INC directory path?

DokuWiki is installed via package manager?

@Ryonez
Copy link

Ryonez commented May 17, 2020

It's a docker container maintained by linuxserver.iso here. The dockerfile git can be found here.

App directory structure can be found here.

@giterlizzi
Copy link
Owner

Thanks! Added LinuxServer.io Docker image support.

Please re-install the develop version.

@Ryonez
Copy link

Ryonez commented May 17, 2020

That seems to have done it, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants