]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - UPGRADING
Added note about creating a HomePage before making a zip dump.
[SourceForge/phpwiki.git] / UPGRADING
1 FIXME: WARNING WARNING: the schemas used by the new databases
2 are completely incompatible with schemas in any previous version
3 of PhpWiki.  If you install this new PhpWiki, you must start with a
4 new empty database (currently either mysql or dba).  (It will be
5 filled with the usual default pages.)
6
7 FIXME: add more.
8
9
10 More comprehensive updgrading information is forthcoming... however in
11 the meantime, this message is in the Open Discussion board on
12 Sourceforge (see URL below for the thread). In it Jeff describes how
13 to dump your current Wiki to a zip file and load the zip file into a
14 new Wiki.
15
16 To: noreply@sourceforge.net
17 Subject: [phpwiki - Open Discussion] RE: convert dbm to mySql
18 From: nobody <nobody@sourceforge.net>
19 Date: Fri, 09 Feb 2001 16:42:57 -0800
20
21 Read and respond to this message at: 
22 http://sourceforge.net/forum/message.php?msg_id=107858
23 By: dairiki
24
25 Yes this is a little clumsy and non-obvious.
26 I'm currently working on making it better (at least
27 in the development branch.)
28
29 In the mean time, here's how I suggest you
30
31 Get either a zip dump, or a serialized dump from your
32 old wiki. (But first, create a copy of FrontPage called HomePage, or
33 else you will have trouble loading the new wiki. It will try to load
34 the zip file every time since it doesn't detect a HomePage. --SW)
35
36 (If your using a zip dump, it must (for now) be
37 on the server machine.  Copy it there if it's not
38 there yet.)
39
40 Edit lib/config.php in the new wiki and set WIKI_PGSRC
41 to point either to your zip file, or the the serialized
42 dump directory.
43
44 Blow away the database of your new wiki.
45 (Delete the db files for a db base wiki,
46 or do something like:
47   mysql -u <user> -p <database> < schemas/schema.mysql
48 to blow away a mysql based wiki.
49
50 Now with your web browser, go browse to
51 the HomePage of your new wiki.  It will detect
52 that it's working with a virgin database and
53 will pull in the pages from the source
54 specified in WIKI_PGSRC.
55
56 Jeff
57
58
59 $Id: UPGRADING,v 1.4 2001-11-07 22:27:54 wainstead Exp $