| Line | |
|---|
| 1 |
NOTE: for the newest version of this document, and translations, see: |
|---|
| 2 |
|
|---|
| 3 |
http://wiki.lyceum.ibiblio.org/index.php/Upgrading |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
1] Restrict access to your Lyceum installation so that there are no changes to the database while it is being upgraded. |
|---|
| 8 |
|
|---|
| 9 |
2] Then, install the new code over the old code. Create a new wp-config.php file from the new wp-config-sample.php file. |
|---|
| 10 |
|
|---|
| 11 |
3] Do any version-specific instructions listed below. |
|---|
| 12 |
|
|---|
| 13 |
4] Visit /wp-admin/upgrade.php while logged in as the Lyceum system admin. |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
-- Version-specific upgrade instructions -- |
|---|
| 18 |
|
|---|
| 19 |
0.31->0.32 |
|---|
| 20 |
|
|---|
| 21 |
1] Make sure that none of the blogs in your system have the same slug, regardless of case differences. For example, myblog and MyBlog are the same slug. One of them must be changed, for example to myblog2. |
|---|
| 22 |
|
|---|
| 23 |
2] Run this query: |
|---|
| 24 |
|
|---|
| 25 |
UPDATE options SET option_value='1' WHERE option_name='db_version'; |
|---|
| 26 |
|
|---|
| 27 |
3] Note that WEBROOT in wp-config.php must now NOT have a trailing slash. If your WEBROOT was previously '/', it should now be ''. |
|---|