| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:23:56 2008 ] | [ Siteseed 1.6 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 Upgrading a site from a previous version of siteseed: 2 3 - backup the entire site directory 4 - make a database dump (i.e. mysqldump -p databasename >site.sql) 5 6 ----- 7 8 - Make a fresh install 9 - Adjust config.php to your needs (i.e. do not just overwrite the data 10 with your old config.php! New data appears on that file and itīs very easy 11 to miss changes!) 12 - place your backups oh .htaccess & .htpasswd in place 13 - overwrite the new "images" directory with your backup. 14 - run bo/setup.php (it will upgrade your project database to new 15 structures/tables). 16 17 ----- 18 19 IF SOMETHING GOES WRONG? 20 21 - drop the new database; 22 - create the database with the project name 23 - import the dump (i.e. mysql -p data < site.sql) 24 - place your old directory in place 25 - hit the mailing list with reports and wait for help. 26 27 ----- 28 29 USUAL MISTAKES 30 31 - not making a a backup of your site directory and just overwriting it 32 with the new version of siteseed... 33 - deleting the backup of the old site directory before a few days of 34 testing a new version... 35 - not making the SQL dump before a upgrade. 36 - deleting the dump before a few days of testing the new version... 37 38 ----- 39 40 WHY SHOULD YOU BE CAREFULL? 41 42 - Siteseed is under development. Database structures AND the PHP files 43 mays change (name, location and content). A SQL dump and a backup of a 44 previous version allow you to actually get back to a working system. It 45 takes a couple of seconds to do both. You may loose a lot of work if you 46 donīt. 47 48 - bo/setup.php changes the databases content when you upgrade. It is 49 possible that an upgraded site appears to run well when in fact it is 50 not. Make sure you run bo/setup.php after an upgrade (it will output 51 nothing if no upgrade is needed or change structures to the new version).. 52
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |