Koozali.org: home of the SME Server

Dokuwiki: configuration panel empty (+ no logout)

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Dokuwiki: configuration panel empty (+ no logout)
« on: September 25, 2017, 06:00:45 PM »
Hi,

I noticed yesterday, that I cant't access to the configuration panel any more:
login as admin (OK) => "administration" (OK) => "configuration" (OK) => Dokuwiki slide with empty content!! :-( Therefore it is not possible to make any settings anymore.

The contrib is up to date:
Code: [Select]
# yum info dokuwiki
...
Nom        : dokuwiki
Architecture        : noarch
Version     : 20170219e
Révision     : 1.el6.fws
Taille        : 12 M
Dépôt         : installed
Depuis le dépôt   : fws
...

# yum info smeserver-dokuwiki
...
Nom        : smeserver-dokuwiki
Architecture        : noarch
Version     : 0.2.0
Révision     : 1.el6.fws
Taille        : 9.1 k
Dépôt         : installed
Depuis le dépôt   : fws
...

If I remember there was an update a few weeks ago. Unfortunately, I can't say if the problem has already existed before the update.
Same situation with firefox and with chrome as browser.

=> Is it a general problem of Dokuwiki or only of my dokuwiki?

Further more, I have noticed since a few weeks (last update?) that the logout doesn't work properly any more, when Dokuwiki is combined with LemonLDAP:NG  (see https://wikit.firewall-services.com/doku.php/tuto/webapps/llng/dokuwiki).

Thanks for the replies.
Bye
Arnaud
« Last Edit: September 25, 2017, 06:19:26 PM by Arnaud »

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #1 on: September 25, 2017, 06:08:22 PM »
Anything in /var/log/php/dokuwiki/error.log ?
« Last Edit: September 25, 2017, 06:20:46 PM by Daniel B. »
C'est la fin du monde !!! :lol:

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #2 on: September 25, 2017, 06:25:07 PM »
Anything in /var/log/php/dokuwiki/error.log ?

yes! I completely forgotten to have a look ... :-?
Code: [Select]
# cat /var/log/php/dokuwiki/error.log
[25-Sep-2017 17:34:17 Europe/Berlin] PHP Warning:  Declaration of admin_plugin_pagemove::getMenuText() should be compatible with DokuWiki_Admin_Plugin::getMenuText($language) in /usr/share/dokuwiki/lib/plugins/pagemove/admin.php on line 0
[25-Sep-2017 17:34:24 Europe/Berlin] PHP Parse error:  syntax error, unexpected end of file in /usr/share/dokuwiki/lib/plugins/ckgedit/lang/en/settings.php on line 49

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #3 on: September 25, 2017, 06:37:41 PM »
Indeed, a bug in the ckedit plugin. Edit /usr/share/dokuwiki/lib/plugins/ckgedit/lang/en/settings.php and add the missing ; at the end of the last line. I'll need to fix this. As for the logout issue, what's happening ?
C'est la fin du monde !!! :lol:

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #4 on: September 25, 2017, 08:24:54 PM »
Edit /usr/share/dokuwiki/lib/plugins/ckgedit/lang/en/settings.php and add the missing ; at the end of the last line.
I can confirm: it fixes the problem  :lol:

As for the logout issue, what's happening ?
- previously: logged in into Dokuwiki => "logout" => back into portal of LemonLDAP (auth.domain.tld) automatically => confirmation =>logged out
- now: logged in into Dokuwiki => "logout" => same page is reload, still logged in  => same page is reload, still logged in  etc..... ===>> necessity to go manually to the portal of LemonLDAP (auth.domain.tld) to logout.

So the "go back" from "dokuwiki.domain.tld" into "auth.domain.tld" doesn't work anymore.


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #5 on: September 25, 2017, 08:56:15 PM »
Can you post the logout rule you've added in ll::ng manager, and the URL you're pointed at when clicking the logout link please
C'est la fin du monde !!! :lol:

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #6 on: September 26, 2017, 06:44:30 PM »
Hi Daniel and many thanks for your replies!

into the sso-manager:
Code: [Select]
Expression: ^/(?i)doku.php(/start)?\?(.*)do=logout
Règle: logout_app

Concrete exemple:
loged in into my wiki: https://wiki.domain.tld/doku.php?id=Welcome:Debian
The logout button points to: https://wiki.domain.tld/doku.php?id=Welcome:Debian&do=logout&sectok=67343cf2375b4c91274603e9b8c2c2ac
After the clic on the logout button, the URL is still the same: https://wiki.domain.tld/doku.php?id=Welcome:Debian

I'll try to "translate" the expression and compare it with the target url of the button.

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: Dokuwiki: configuration panel empty (+ no logout)
« Reply #7 on: September 28, 2017, 05:28:09 PM »
Hi,
I would propose to split the url as follow:
Code: [Select]
https://wiki.domain.tld/    doku.php?id=   Welcome:Debian&   do=logout     &sectok=67343cf2375b4c91274603e9b8c2c2ac
Then I would use following expression:
Code: [Select]
^(.*)doku.php\?id=(.*)do=logout
I still haven't test.......

EDIT: this expression doesn't link to the portal LemonLDAP too! :sad: Same thing with the complete url of the logout link. => is the roule "logout_app" still working??
« Last Edit: September 28, 2017, 05:41:37 PM by Arnaud »