Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Changes between Version 16 and Version 17 of HowToMigratePhtagr


Ignore:
Timestamp:
06/27/12 20:18:03 (8 years ago)
Author:
sebastian
Comment:

Update migration from 2.1.3 to 2.2

Legend:

Unmodified
Added
Removed
Modified
  • HowToMigratePhtagr

    v16 v17  
    147147/phtagr        <-- phTagr root directory 
    148148    /cakephp   <-- CakePHP framework 
    149     /config    <-- Configuration directory for phTagr 
     149    /Config    <-- Configuration directory for phTagr 
    150150    /users     <-- Users directory for uploaded files 
    151151    /tmp       <-- Temporary directory for cached files 
     
    166166cd  
    167167wget http://sourceforge.net/projects/phtagr/files/latest # phtagr-master-XXX.zip 
    168 unzip phtagr-master-XXX.zip 
     168unzip phtagr-<version>-<git version>.zip 
    169169cd /var/www 
    170170sudo mv phtagr phtagr.old 
    171171sudo mv ~/phtagr . 
    172 cp phtagr.old/app/config.php phtagr.old/app/database.php phtagr/config 
     172mv phtagr/Config/core.php phtagr/Config/core.php.bak 
     173cp phtagr.old/app/config.php phtagr.old/app/database.php phtagr/Config 
    173174rm -rf phtagr/users phtagr/tmp 
    174175mv phtagr.old/app/tmp phtagr.old/app/users phtagr 
    175176}}} 
     177 
     178'''Please adapt the database configuration as described in section ''phTagr 2.2b3''.''' 
    176179 
    177180Now the user files have a new location. Before they where in {{{/var/www/phtagr/app/users}}} now they are in {{{/var/www/phtagr/users}}}. These change must be updated in the database as well. The following example assumes that phTagr uses no table prefixes. Otherwise check command {{{mysql> show tables;}}} 
     
    219222}}} 
    220223 
    221 The user files need to be migrated in the database. Before they where located in {{{/var/www/cake/phtagr}}} now they are in {{{/var/www/phtagr/users}}}. Following example assumes that the table prefix (written in {{{config/database.php}}}) is set to {{{pt_}}}. 
     224The user files need to be migrated in the database. Before they where located in {{{/var/www/cake/phtagr}}} now they are in {{{/var/www/phtagr/users}}}. Following example assumes that the table prefix (written in {{{Config/database.php}}}) is set to {{{pt_}}}. 
    222225 
    223226{{{