-
2009-06-04
CherryGames
Hi,
I got some header warnings and an update recommendation one day when launching my dokuwiki-site. So yesterday I decided to update to the latest version 2009-02-14. After installation, fixing access rights, installing plugins, configuring the site - I wanted to change the content of a page. When saving the page the #179 bug (caching problem saving the file) occurred!
I have yet to be able to make the safe mode hack work work on my system.
The installation is able to do everything else; saving the configuration, uploading images - only caching doesn't work. And I have followed all the tips I could find on solving this problem (recreating the folder, folders, and changing access rights).
Johan
-
2009-07-25
andi
From which did you upgrade from? Did you use the safe_mode hack before? Did it work before? How exactly did you do the upgrade? What are the file ownership and permission settings?
-
2009-09-14
janc
I think, I have the problem too.
But it can't be a safemode only problem, because safemode is off. Safemode hack is configured.
I think it is related to the open_basedir stuff, the old wiki (DokuWiki Release 2008-05-05) worked fine with the same settings and the same datadir.
If I check the css for errors I get:
<b>Warning</b>: copy() [<a href='function.copy'>function.copy</a>]: open_basedir restriction in effect. File(/var/www/virtual/myuser/.wikidata/data/cache/2/26e028da126d7954ea57bdfb4a45e0fd.css) is not within the allowed path(s): (/var/www/virtual/myuser/:/usr/share/php/:/home/vhosts/myuser/) in <b>/home/vhosts/myuser/htdocs/mywiki/lib/exe/css.php</b> on line <b>137</b><br />
<br />
allowed is:/var/www/virtual/myuser/
The file not allowed is:/var/www/virtual/myuser/.wikidata/data/cache/2/26e028da126d7954ea57bdfb4a45e0fd.css
Why?
On the page itself:
Writing /var/www/virtual/myuser/.wikidata/data/cache/f/fda698d36a57f0039e221a042663ab84.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/virtual/myuser/.wikidata/data/cache/f/fda698d36a57f0039e221a042663ab84.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/virtual/myuser/.wikidata/data/cache/f/fda698d36a57f0039e221a042663ab84.xhtml failed
I can not store new pages with the new release (2009-02-14), there I get an 500 server error, but writing to existing pages works. (I can't get the logs.)
Withe the old release everything works fine, also new namespaces.
I use 2 diffrent installs, no upgrade, system is Linux Debian (PHP Version 5.2.0-8+etch15)
Jan
-
2010-06-26
andi
This looks like a bug in PHP to me. It says the file is not inside /var/www/virtual/myuser/ but it clearly is. I recommend asking your provider for help/explanation.