You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I started using the Read the Dokus template. I'm running PHP 8.1 with the latest stable release (DokuWiki "Igor") and I'm receiving the following error message at the top of the popup page when opening the Media Uploader while editing a page:
/home/robertinho/public_html/wiki/inc/template.php on line 1805
dokuwiki mode_ tpl_readthedokus loggedIn notFound ">
The text was updated successfully, but these errors were encountered:
I confirmed the warning messages. Seems like some messages were trimmed on your screen. Actually, I got these messages.
Warning: Undefined variable $fullscreen in /Users/masaki/Projects/bitsmist.com/public/lib/exe/mediamanager.php on line 124
/Users/masaki/Projects/bitsmist.com/public/inc/template.php on line 1805
There are two warnings and both of them come from Dokuwiki itself, not the template. So the author of Dokuwiki is responsible for these.
The quick fix below suppress the warnings, but I'm not sure if it's correct.
lib/exe/mediamanager.php line 13-17
global $INPUT;
global $lang;
global $conf;
+ global $fullscreen;
// handle passed message
Hello,
I've edited the inc/template.php file and the error seems to be fixed. I've suggested your code change to be applied at the DokuWiki source code, as can be seen here dokuwiki/dokuwiki#3873
Thank you!
Hello,
I started using the Read the Dokus template. I'm running PHP 8.1 with the latest stable release (DokuWiki "Igor") and I'm receiving the following error message at the top of the popup page when opening the Media Uploader while editing a page:
The text was updated successfully, but these errors were encountered: