Hi everyone.
First of all, i'm a total newbie in creating or editing wikis. I have little experience running web servers but I've been using GNU/Linux for almost 20 years.
My problem is I can't
create pages in my recently installed wiki. Everything seems to work fine, but when I click on the "Create this page" button, a blank screen appears and I have nothing to do but press back button in the browser. This is the url of the blank screen "
http://localhost/dokuwiki/doku.php?id=start&do=edit". I can
edit existing pages without problems.
Let's get into situation:
- I'm using Bodhi Linux, an Ubuntu based distribution that is working without problems
- I'm using lighttpd as web server, with php7.0 installed from packages. The server seems to work without any problem. It serves html pages and I tested php using the info.php page. It works fine.
- I've installed Dokuwiki from tgz via wget and pasted it in /var/www/dokuwiki. When I go to localhost/dokuwiki I can see and edit existing pages.
- I've edited /etc/lighttpd/conf-available/50-dokuwiki.conf and enabled it. (50-dokuwiki.conf below)
- I've used install.php page to make first config of Dokuwiki. I've activated ACL and create a user that is in @admin and @users groups. All the trials I did were using this @admin user.
- I've set /var/www/dokuwiki owner to www-data:www-data, and I've revised permissions over and over.
What I've tried:
1.- When I create a txt file in the file system and set the right permissions to it, then I can edit this page in the wiki, but never can
create a new page.
[sudo touch /var/www/dokuwiki/data/pages/wiki/newpage.txt & sudo chown www-data:www-data newpage.txt]
2.- I've set 777 permissions to data directory. No changes.
3.- I've desactivated ACL's. No changes.
4.- I've checked ACL's but since my user is a member of @admin group, this should not be applied. Whatever, ACL's seems ok.
5.- I've google, searched, read and I found a few users that report the same problem, some yet unsolved. The given solutions don't work for me.
My files :
[/etc/lighttpd/conf-enabled/50-dokuwiki.conf]
alias.url += ("/dokuwiki" => "/var/www/dokuwiki")
$HTTP["url"] =~ "^/dokuwiki" {
server.follow-symlink = "enable"
}
$HTTP["url"] =~ "/(\.|_)ht" {
url.access-deny = ( "" )
}
$HTTP["url"] =~ "^/dokuwiki/(bin|data|inc|conf)" {
url.access-deny = ( "" )
}
[local.php]
<?php
/*
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by config plugin
* Run for user: ruben
* Date: Fri, 17 Feb 2017 10:51:20 +0100
*/
$conf['title'] = 'Prueba Wiki';
$conf['lang'] = 'es';
$conf['license'] = 'cc-by-sa';
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
// end auto-generated content
[dokuwiki.php - Basic Settings]
/* Basic Settings */
$conf['title'] = 'DokuWiki'; //what to show in the title
$conf['start'] = 'start'; //name of start page
$conf['lang'] = 'en'; //your language
$conf['template'] = 'dokuwiki'; //see lib/tpl directory
$conf['tagline'] = ''; //tagline in header (if template suppo
rts it)
$conf['sidebar'] = 'sidebar'; //name of sidebar in root namespace (i
f template supports it)
$conf['license'] = 'cc-by-nc-sa'; //see conf/license.php
$conf['savedir'] = './data'; //where to store all the files
$conf['basedir'] = ''; //absolute dir from serveroot - blank
for autodetection
$conf['baseurl'] = ''; //URL to server including protocol - b
lank for autodetect
$conf['cookiedir'] = ''; //path to use in cookies - blank for b
asedir
$conf['dmode'] = 0755; //set directory creation mode
$conf['fmode'] = 0644; //set file creation mode
$conf['allowdebug'] = 0; //allow debug output, enable if needed
0|1
[dokuwiki.php - Authentication Settings]
/* Authentication Settings */
$conf['useacl'] = 1; //Use Access Control Lists to restrict
access?
$conf['autopasswd'] = 1; //autogenerate passwords and email them
to user
$conf['authtype'] = 'authplain'; //which authentication backend should b
e used
$conf['passcrypt'] = 'smd5'; //Used crypt method (smd5,md5,sha1,ssha
,crypt,mysql,my411)
$conf['defaultgroup']= 'user'; //Default groups new Users are added to
$conf['superuser'] = '!!not set!!'; //The admin can be user or @group or co
mma separated list user1,@group1,user2
$conf['manager'] = '!!not set!!'; //The manager can be user or @group or
comma separated list user1,@group1,user2
$conf['profileconfirm'] = 1; //Require current password to confirm c
hanges to user profile
$conf['rememberme'] = 1; //Enable/disable remember me on login
$conf['disableactions'] = ''; //comma separated list of actions to di
sable
$conf['auth_security_timeout'] = 900; //time (seconds) auth data is considere
d valid, set to 0 to recheck on every page view
$conf['securecookie'] = 1; //never send HTTPS cookies via HTTP
$conf['remote'] = 0; //Enable/disable remote interfaces
$conf['remoteuser'] = '!!not set!!'; //user/groups that have access to remot
e interface (comma separated)
I don't know how to get rid of this trouble.
Could you help, please?
Thanks in advance.