Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Some things are wrong.
Avatar
Ton #1
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
Subject: Some things are wrong.
Hello,

This is my first post so forgive me if i make beginner mistakes. I did an upgrade half a year ago and only now we noticed some things are are not functing as they should.

First issue:
All the plugins say Extension directory is not writable. While these are the rights:
root@Server01:/var/www/dokuwiki# ls -l
total 20
drwx------  2 www-data root 4096 Oct  9  2017 acl
drwxr-xr-x 12 www-data root 4096 Oct  9  2017 data
drwx------ 12 www-data root 4096 Oct  9  2017 data.orig
lrwxrwxrwx  1 www-data root   23 Oct  9  2017 inc -> /usr/share/dokuwiki/inc
-rw-r--r--  1 www-data root  120 Oct  9  2017 index.html
drwxrwxrwx  4 www-data root 4096 Oct  9  2017 lib
root@Server01:/var/www/dokuwiki# cd lib
root@Server01:/var/www/dokuwiki/lib# ls -l
total 8
drwxrwxrwx 15 www-data root 4096 Oct  9  2017 plugins
drwxrwxrwx  3 www-data root 4096 Oct  9  2017 tpl
root@Server01:/var/www/dokuwiki/lib# cd plugins/
root@Server01:/var/www/dokuwiki/lib/plugins# ls -l
total 92
drwxrwxrwx 4 www-data root  4096 Oct  9  2017 acl
-rwxrwxrwx 1 www-data root   613 Jan  4  2014 action.php
-rwxrwxrwx 1 www-data root  1039 Jan 21  2013 admin.php
drwxrwxrwx 5 www-data root  4096 Oct  9  2017 authad
drwxrwxrwx 4 www-data root  4096 Oct  9  2017 authldap
drwxrwxrwx 4 www-data root  4096 Oct  9  2017 authmysql
drwxrwxrwx 4 www-data root  4096 Oct  9  2017 authpgsql
-rwxrwxrwx 1 www-data root 15944 Mar 22  2015 auth.php
drwxrwxrwx 2 www-data root  4096 Oct  9  2017 authplain
drwxrwxrwx 5 www-data root  4096 Oct  9  2017 config
drwxrwxrwx 5 www-data root  4096 Oct  9  2017 extension
-rwxrwxrwx 1 www-data root   244 Jan 21  2013 index.html
drwxrwxrwx 2 www-data root  4096 Oct  9  2017 info
drwxrwxrwx 3 www-data root  4096 Oct  9  2017 popularity
-rwxrwxrwx 1 www-data root   397 Jan 21  2013 remote.php
drwxrwxrwx 3 www-data root  4096 Oct  9  2017 revert
drwxrwxrwx 2 www-data root  4096 Oct  9  2017 safefnrecode
-rwxrwxrwx 1 www-data root  4192 Mar 22  2015 syntax.php
drwxrwxrwx 4 www-data root  4096 Oct  9  2017 usermanager

Secondly:
Uploading an image fails in an instant second displaying only: "Failed." while it is enable in php.ini.

Third problem: Is when i click a option in the media files tree is keeps loading forever.

Fourth problem: When i press "disable" on a plugin nothing happens.

I hope you can help me troubleshoot or make more sense of this then me because i cannot find anything online...
Thanks in advance.
This post was edited on 2019-12-19, 08:53 by Ton.
Avatar
StarArmy #2
Member since Nov 2011 · 120 posts
Group memberships: Members
Show profile · Link to this post
See: https://www.dokuwiki.org/install:permissions
Avatar
Ton #3
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
I have set all these options accordingly. Would you like a post of the remaining folders?
I did post the plugin ones and you did not explain anything..?
This post was edited on 2019-12-19, 08:53 by Ton.
Avatar
Ton #4
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
I noticed this message in a log when i try to upload:
[Thu Dec 19 16:37:51.637969 2019] [:error] [pid 26046] [client 192.168.1.126:53650] PHP Warning:  Declaration of action_plugin_authad::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/lib/dokuwiki/lib/plugins/authad/action.php on line 0, referer: http://wiki.DOMAIN.eu/dokuwiki/doku.…?id=start&do=me…
[Thu Dec 19 16:37:51.639035 2019] [:error] [pid 26049] [client 192.168.1.126:53649] PHP Warning:  Declaration of action_plugin_authad::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/lib/dokuwiki/lib/plugins/authad/action.php on line 0, referer: http://wiki.DOMAIN.eu/dokuwiki/doku.…?id=start&do=me…
[Thu Dec 19 16:37:51.640437 2019] [:error] [pid 26050] [client 192.168.1.126:53651] PHP Warning:  Declaration of action_plugin_authad::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/lib/dokuwiki/lib/plugins/authad/action.php on line 0, referer: http://wiki.DOMAIN.eu/dokuwiki/doku.…?id=start&do=me…
[Thu Dec 19 16:37:53.298888 2019] [:error] [pid 26050] [client 192.168.1.126:53651] PHP Warning:  Declaration of action_plugin_authad::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/lib/dokuwiki/lib/plugins/authad/action.php on line 0, referer: http://wiki.DOMAIN.eu/dokuwiki/doku.…?id=start&do=me…
[Thu Dec 19 16:37:53.299633 2019] [:error] [pid 26050] [client 192.168.1.126:53651] PHP Fatal error:  Uncaught Error: Call to undefined method PostInput::filter() in /usr/share/dokuwiki/lib/exe/ajax.php:18\nStack trace:\n#0 {main}\n  thrown in /usr/share/dokuwiki/lib/exe/ajax.php on line 18, referer: http://wiki.DOMAIN.eu/dokuwiki/doku.…?id=start&do=me…
This post was edited on 2019-12-19, 16:38 by Ton.
Avatar
turnermm (Moderator) #5
Member since Oct 2009 · 4755 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Make sure you have the file inc/Input.class.php and that it is spelled exactly that way.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Ton #6
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
Hi Turner,

This file seems to be present:
root@SERVER:/var/www/dokuwiki/inc# ls -l
total 1468
-rwxrwxrwx  1 root root  22513 Jun 25  2014 actions.php
-rwxrwxrwx  1 root root  41895 Jun 25  2014 auth.php
-rwxrwxrwx  1 root root  26360 Jun 25  2014 blowfish.php
-rwxrwxrwx  1 root root  10869 Jun 25  2014 cache.php
-rwxrwxrwx  1 root root  35641 Jun 25  2014 changelog.php
-rwxrwxrwx  1 root root  17282 Jun 25  2014 cliopts.php
-rwxrwxrwx  1 root root  55075 Jun 25  2014 common.php
-rwxrwxrwx  1 root root    919 Jun 25  2014 compatibility.php
-rwxrwxrwx  1 root root   2907 Jun 25  2014 config_cascade.php
-rwxrwxrwx  1 root root   9840 Jun 25  2014 confutils.php
-rwxrwxrwx  1 root root  38894 Jun 25  2014 DifferenceEngine.php
-rwxrwxrwx  1 root root   7537 Jul  5  2018 EmailAddressValidator.php
-rwxrwxrwx  1 root root   7848 Jun 25  2014 events.php
-rwxrwxrwx  1 root root   6244 Jun 25  2014 farm.php
-rwxrwxrwx  1 root root  59872 Jun 25  2014 feedcreator.class.php
-rwxrwxrwx  1 root root   1673 Jun 25  2014 FeedParser.php
-rwxrwxrwx  1 root root   5322 Jun 25  2014 fetch.functions.php
-rwxrwxrwx  1 root root  31752 Jun 25  2014 form.php
-rwxrwxrwx  1 root root  26558 Jun 25  2014 fulltext.php
-rwxrwxrwx  1 root root  75144 Jun 25  2014 html.php
-rwxrwxrwx  1 root root  32766 Jun 25  2014 HTTPClient.php
-rwxrwxrwx  1 root root  10299 Jun 25  2014 httputils.php
-rwxrwxrwx  1 root root  54241 Jun 25  2014 indexer.php
-rwxrwxrwx  1 root root  13942 Jun 25  2014 infoutils.php
-rwxrwxrwx  1 root root  17692 Jun 25  2014 init.php
-rwxrwxrwx  1 root root   9525 Jun 25  2014 Input.class.php
-rwxrwxrwx  1 root root  18196 Jun 25  2014 io.php
-rwxrwxrwx  1 root root  27936 Jun 25  2014 IXR_Library.php
-rwxrwxrwx  1 root root 109134 Jun 25  2014 JpegMeta.php
-rwxrwxrwx  1 root root  28536 Jun 25  2014 JSON.php
drwxrwxrwx 67 root root   4096 Jul  6  2018 lang
-rwxrwxrwx  1 root root  91827 Jun 25  2014 lessc.inc.php
-rwxrwxrwx  1 root root   5635 Jul  5  2018 load.php
-rwxrwxrwx  1 root root  23267 Jun 25  2014 Mailer.class.php
-rwxrwxrwx  1 root root  11682 Jun 25  2014 mail.php
-rwxrwxrwx  1 root root  67525 Jun 25  2014 media.php
-rwxrwxrwx  1 root root  17985 Jun 25  2014 pageutils.php
drwxrwxrwx  2 root root   4096 Jul  6  2018 parser
-rwxrwxrwx  1 root root  25664 Jul  5  2018 parserutils.php
-rwxrwxrwx  1 root root  18842 Jun 25  2014 PassHash.class.php
-rwxrwxrwx  1 root root  13755 Jun 25  2014 plugincontroller.class.php
-rwxrwxrwx  1 root root   9417 Jun 25  2014 plugin.php
-rwxrwxrwx  1 root root   3235 Jun 25  2014 pluginutils.php
-rwxrwxrwx  1 root root   6180 Mar 22  2015 preload.php
-rwxrwxrwx  1 root root    631 Jun 25  2014 preload.php.dist
-rwxrwxrwx  1 root root  26032 Jun 25  2014 RemoteAPICore.php
-rwxrwxrwx  1 root root   8428 Jun 25  2014 remote.php
-rwxrwxrwx  1 root root   6314 Jun 25  2014 SafeFN.class.php
-rwxrwxrwx  1 root root  15033 Jun 25  2014 search.php
-rwxrwxrwx  1 root root   7343 Jun 25  2014 Sitemapper.php
-rwxrwxrwx  1 root root  24029 Jun 25  2014 subscription.php
-rwxrwxrwx  1 root root  22255 Jun 25  2014 Tar.class.php
-rwxrwxrwx  1 root root   2421 Jun 25  2014 TarLib.class.php
-rwxrwxrwx  1 root root  55963 Jun 25  2014 template.php
-rwxrwxrwx  1 root root  10101 Jun 25  2014 toolbar.php
-rwxrwxrwx  1 root root  88026 Jun 25  2014 utf8.php
-rwxrwxrwx  1 root root  17832 Jun 25  2014 ZipLib.class.php
I changed owner ot www-data but no effect.
This post was edited on 2019-12-20, 08:44 by Ton.
Avatar
turnermm (Moderator) #7
Member since Oct 2009 · 4755 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
See if there is any help in this thread:https://forum.dokuwiki.org/thread/16107
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Ton #8
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
Quote by turnermm:
See if there is any help in this thread:https://forum.dokuwiki.org/thread/16107

Very interesting i seem to have a simulair issue. I will check this out more elaborately monday morning.
Thanks in advance.
Avatar
Ton #9
Member for a month · 6 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #7
Quote by turnermm on 2019-12-20, 16:00:
See if there is any help in this thread:https://forum.dokuwiki.org/thread/16107

Duo to busy work and holidays i got into this quite later. But this topic was a correct linking. The information all checked out with my problem.

The fix was as Stacy described in that topic at the end:

Hi,

here are the steps that finally brought my DokuWiki back to life ;-)

1. Login as root
2. Backup your data directory (in my case '/var/lib/dokuwiki/data/'), because data may be purged by package removal if this was set during the last setup
3. apt-get remove dokuwiki
4. wget https://non-gnu.uvt.nl/debian/jessie/dokuwiki/dokuwiki_0.0…
5. dpkg -i dokuwiki_0.0.20140505.a+dfsg-4+deb8u2_all.deb

Installation in step 5 will ask if DokuWiki data shall be purged on package removal (if you later decide to remove the package again). Default answer is "no" and must be selected if you want to keep your data on next package removal.

Thanks @JeremyDavis for pointing me in the right direction!

Thank you for your time and help. God bless. Topic closed and solved :)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 08:18:01 (UTC +01:00)