RF Eclectica Wiki

Try to learn something about everything, and everything about something - Thomas Huxley

User Tools

Site Tools


public:computers:dokuwiki_upgrade

Dokuwiki Upgrade problem

John Pumford-Green 30/06/22 11:30

I recently upgraded to the latest version of Dokuwiki after seeing a banner informing me that a new Release Candidate (Igor v52.1) was available.

Initially it all seemed to go well, with no problems noticed. I also upgraded my “sandbox” version.

I've recently switched to using the Vector template, to mimic the look/feel of Wikipedia and mediawiki, after using the default template and also Bootstrap3. Only then did I find a problem with the upgraded Dokuwiki.

I couldn't logout!

When I tried to logout there was a warning banner

Security Token did not match. Possible CSRF attack

. The same happened on the sandbox server too!

Changing active template to any other - Dokuwiki, Monobook, Bootstrap3 - and there was no problem with logging in and out. Only while using Vector (and Monobook) was there an issue.

I downgraded back to Release 2020-07-29 “Hogfather” and the problem went away!

So…. there seems to be an incompatibility with the current version of the Vector & Monobook templates and the new version of Dokuwiki itself.

Until it's resolved I'll stay on Release 2020-07-29 “Hogfather” and keep using Vector or Monobook

To suppress the upgrade available banner I've edited ./doku.php to bump the version to 52.1 I've set the configuration option “updatecheck” to 0 on the main site, and left it as normal on the sandbox site.

UPDATE

John Pumford-Green 26/04/23 17:01

It's been fixed….. see Logout errors with later versions of Dokuwiki

public/computers/dokuwiki_upgrade.txt · Last modified: 08/04/24 18:41 BST by john