talad
Hi,
I've just moved my DokuWiki to a new server under the same domain, but after completing the migration I cannot access anymore the old revisions.
I just moved the current DokuWiki version, I didn't upgrade. Inside my pages I see:
meta name="generator" content="DokuWiki Release 2008-05-05"
If I click on the "Old Revisions" button, I have different behaviours for the different pages. Some show this way:
* 2005/10/03 22:51 main_flow – (external edit) (current)
* 2005/10/03 22:47 main_flow – (old revision restored) 127.0.0.1
* 2005/10/03 22:47 main_flow – (old revision restored) 127.0.0.1
None of them is selectable except the first one.
Others appear as:
# 2008/02/17 18:38 master_plan – magodra (current)
# 2007/05/08 00:53 master_plan – xordan
# 2007/05/08 00:52 master_plan – xordan
# 2007/05/08 00:51 master_plan – xordan
With only the first one selectable.
Overall I lost the ability to compare and access old revisions. I read a similar thread in here that suggested to check the dates and permissions on the files, and the presence of the /attic dir. I did all this.
- Dates are correct, listing files from 2-3 years ago.
- ALL files have 777 on chmod, so everyone can access those
- the /attic is present and the files in there have proper date
- I deleted in data/meta the _dokuwiki.chages as suggested in another thread
None of the above worked.... Any suggestion? I feel out of ideas.
Thanks,
Luca.
andi
It might be that your servers differ in their ability of handling gzip compression. Eg. if you old server couldn't do gzip compression then you will have a lot of *.txt files in data/attic, but your new server now looks for gzip compressed *.txt.gz files.
talad
Hi,
I actually found the problem.
in inc/init.php, line 228, it does:
if($conf['compression'] == 'gz' && !function_exists('gzopen')){
echo "GZIP DISABLED !!!!!!!!!!!!!!<br>";
$conf['compression'] = 0;
}
I added the echo myself and when reading any page it prints GZIP DISABLED!! I checked the attic and all files are in .gz format, so that's why it cannot read that. He is searching the txt files.
Now the question is why my PHP (5.3.0) reports that gzip is not supported? It's a standard php install and everything else works.
talad
Ok, seems that for some reason we didn't have all the PHP modules.
I just installed the php modules for bzip2 and zlib and now it seems to work.
I will make other tests, and come back here if something else is not working.
Thanks,