Hi,
When I copy databases around I tend to delete the whole of the
objectcache table. This stops pages being loaded from the cache, and
doesn't seem to have any adverse effects, as they get rebuilt on next
access. Dunno if thats whats causing you problem. BTW if anyone knows
why this is a bad thing (other than from a server load POV) please
shout.
Kind regards,
Alex Powell
On 8/25/06, Moritz Karbach <mailinglist(a)karba.ch> wrote:
Hi All,
I wanna run the same Wiki on my ISP webserver and on a local machine. One
reason is having a functional backup, the other is that editing may be more
conveniant on the local machine than on the ISP's server.
To copy the wiki from the local machine to the server, I currently dump the DB
and import it on the server, and I just copy all the files to their remote
directories.
Then I adjust the LocalSettings.php to account for the different paths on both
machines. In particular, I change
$IP = "/var/www/all-inkl.com/karba.ch/wiki";
$wgScriptPath = "/all-inkl.com/karba.ch/wiki";
to
$IP = "/www/htdocs/*/karba.ch/wiki";
$wgScriptPath = "/wiki";
(the asterisk's hiding my username).
This works well besides of some image links being just the old ones from the
local machine... There seems some magic to be going on since occasionally
they change to the correct links...
What can solve the problem? Do I have to run a certain file from the
maintenance area before I dump the local DB to clear some cache?
Cheers,
- Moritz
--
m:o
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l