Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Cannot save configuration changes
Avatar
ashberry #1
Member since Oct 2006 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Cannot save configuration changes
Hi,

I currently have two DokuWiki instances running, one running in a local Windows environment (though using Apache), and one running on my web server running SuSe 9.2.

On the Windows instance everything is running smoothly. My little problem is with the one on my web server. Everything works just fine, except I can't change the configuration settings. I get the following message:

"The settings file can not be updated, if this is unintentional,
ensure the local settings file name and permissions are correct"

I have set dokuwiki.php and local.php to 644, owner is wwwrun and group is www, which is the same for my apache process.

I am wondering what is wrong here. The otherwise excellent documentation on DokuWiki doesn't help me enough to solve this.

I can change the settings manually, off course, but I would like to be able to change settings simply by using the supplied DokuWiki interface.

I am running rc2006-10-18, but this problem also occurred before I updated to this rc2.
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3497 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The config manager wants to save the old config to a backup before making any changes. Either make the conf directory writable or add an empty local.php.bak and change it's permissions as well.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
ashberry #3
Member since Oct 2006 · 2 posts
Group memberships: Members
Show profile · Link to this post
Great! Thanks! Ownership of the conf directory was the problem.
Avatar
inveni0 #4
Member since Mar 2007 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: I'm having the same problem...
I've checked my permissions and followed the instructions above, but i still can't edit my configuration.  I CAN edit pages, however.  Any other ideas on how to manage the configuration?

EDIT:  Somehow my local.php permissions got swapped back......my bad.
This post was edited on 2007-03-13, 21:53 by inveni0.
Avatar
Supergau #5
Member since Feb 2011 · 3 posts
Group memberships: Members
Show profile · Link to this post
did someybody fixed the problem ? i´ve got the same, and dont knwo what to do -.- help!
Avatar
yypeng #6
Member since Jun 2015 · 1 post
Group memberships: Members
Show profile · Link to this post
sudo chown -R www-data:www-data /etc/dokuwiki
if configuration is /etc/dokuwiki

– this fix my problem
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: 2019-11-12, 05:43:41 (UTC +01:00)