Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
move_your_store [2010/03/01 04:34]
pgmarshall created
move_your_store [2010/03/01 04:52]
pgmarshall
Line 5: Line 5:
   * Make sure that you pick a time when your store is quiet and that you have a backup of your current site before doing anything ... so that you can put everything back if something goes wrong - **You have been warned!**   * Make sure that you pick a time when your store is quiet and that you have a backup of your current site before doing anything ... so that you can put everything back if something goes wrong - **You have been warned!**
  
-  ​- Backup your store+===== Database ===== 
 + 
 +  ​[[backup_your_store|Backup your original ​store]] 
 +  - Goto your **new host** and open **phpMyAdmin** (or similar) 
 +  - Create a [[installing_via_ftp#​setting_up_your_database|new database]] to hold your store 
 +  - Add a **new user** to this database 
 +  - Run the SQL file you created during the backup in phpMyAdmin 
 +  
 +  * You should now have a copy of your database on your new host! 
 + 
 +===== Store ===== 
 +  
 +  - FTP your store files from your local machine to your new host 
 +  - Now in order to get your store to work on your new host you will need to edit the configure.php files within osCMax to match your new server settings. 
 + 
 +Please note there are **__2__ configure.php** files - one in **admin/​includes/​** and one in **includes/​** 
 + 
 +===== Don't know how to set the server settings in configure.php?​ ===== 
 + 
 +  * This is common issue for people when moving their store - so don't worry! ​ Rather than go through each line of the configure.php files one by one you may find it easier to install the latest version of osCMax onto this new server - copy down the server settings from the configure.php files and then complete the steps above. 
 + 
 +  * If you don't want to do this then you will need to hand edit the configure.php files 
 + 
 +==== Changes to be made ==== 
 + 
 +  * Below is a list of the main changes that need to be made to the configure files ... don't forget to go through both of them - one in the admin side and the other in the catalog! 
 + 
 +<file php> 
 + 
 +  define('​HTTP_SERVER',​ '​http://​www.yourservername.com'​);​ 
 +  define('​HTTPS_SERVER',​ '​https://​www.yourservername.com'​);​ 
 +  define('​ENABLE_SSL',​ false); 
 +  define('​HTTP_COOKIE_DOMAIN',​ '​www.yourservername.com'​);​ 
 +  define('​HTTPS_COOKIE_DOMAIN',​ '​www.yourservername.com'​);​ 
 + 
 +... 
 + 
 +  define('​DIR_FS_CATALOG',​ '/​home/​sites/​yourservername.com/​public_html/'​);​ 
 + 
 +... 
 + 
 +  define('​DB_SERVER',​ '​localhost'​);​ 
 +  define('​DB_SERVER_USERNAME',​ '​your_user_name'​);​ 
 +  define('​DB_SERVER_PASSWORD',​ '​your_password'​);​ 
 +  define('​DB_DATABASE',​ '​database_name'​);​ 
 +  define('​USE_PCONNECT',​ '​false'​);​ 
 +  define('​STORE_SESSIONS',​ '​mysql'​);​ 
 + 
 +</​file>​ 
 + 
 + 
 +  ​
  
move_your_store.txt · Last modified: 2010/03/01 04:52 by pgmarshall
You are here: startmove_your_store
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0