Difference between revisions of "Server Admin - Change Folders"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m
m (Reverted edits by Allcanadiansearch.ca (Talk); changed back to last version by DrByte)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Template:menuBarInstallation}}
 
{{Template:menuBarInstallation}}
== I want to move/rename the folder Zen Cart is installed in on my server... How? ==
+
== I want to move/rename the folder Zen Cart™ is installed in on my server! How? ==
  
#Determine the new foldername where your Zen Cart files will be running from
+
#Determine the new foldername where your Zen Cart™ files will be running from
#Go into Admin->Config->Sessions and change the Session Directory to reflect the new foldername. If you cannot do this, see the alternate approach in step 5 below.
+
#Go into [[Admin_-_Configuration_-_Sessions|Admin > Configuration > Sessions]] and change the ''Session Directory'' to reflect the new folder name. If you cannot do this, see the alternate approach in step 5 below.
 
#Move/Rename the folder. You may need to use your FTP program to do this.
 
#Move/Rename the folder. You may need to use your FTP program to do this.
#Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart to the right folders. In those files, you need to update several entries to match the new path information:
+
#Your ''/includes/configure.php'' and ''/admin/includes/configure.php'' files are used to point Zen Cart™ to the right folders. In those files, you need to update several entries to match the new path information:
 
#*DIR_WS_CATALOG
 
#*DIR_WS_CATALOG
 
#*DIR_WS_HTTPS_CATALOG
 
#*DIR_WS_HTTPS_CATALOG
Line 13: Line 13:
 
#*DIR_WS_HTTPS_ADMIN (in admin)
 
#*DIR_WS_HTTPS_ADMIN (in admin)
 
#*DIR_FS_ADMIN (in admin)  
 
#*DIR_FS_ADMIN (in admin)  
#If you could not set the Session Write Directory in step 1 above, you can use a utility to do it for you. The goal is to make sure that the new path information (specifically the DIR_FS_SQL_CACHE setting in your new configure.php file) matches the Session Write Directory setting. If it doesn't, you may end up with difficulties logging in to the Admin area or maintaining login sessions in the store. The [http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82 Fix Cache Key Utility] from the Downloads->Troubleshooting Tools area on the main Zen Cart site will help you to do this if you need assistance. There is no harm running it to have it check that things are set properly. Be sure to delete the file from your server when done.
+
#If you could not set the ''Session Write Directory'' in step 1 above, you can use a utility to do it for you. The goal is to make sure that the new path information (specifically the ''DIR_FS_SQL_CACHE'' setting in your new ''configure.php'' file) matches the ''Session Write Directory'' setting. If it doesn't, you may end up with difficulties logging in to the ''Admin'' area or maintaining login sessions in the store. The [http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82 Fix Cache Key Utility] from the [http://www.zen-cart.com/index.php?main_page=index&cPath=40_54 Downloads > Troubleshooting Tools] area on the main Zen Cart™ site will help you to do this if you need assistance. There is no harm running it to have it check that things are set properly. Be sure to delete the file from your server when done.

Latest revision as of 02:26, 5 December 2007


I want to move/rename the folder Zen Cart™ is installed in on my server! How?

  1. Determine the new foldername where your Zen Cart™ files will be running from
  2. Go into Admin > Configuration > Sessions and change the Session Directory to reflect the new folder name. If you cannot do this, see the alternate approach in step 5 below.
  3. Move/Rename the folder. You may need to use your FTP program to do this.
  4. Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart™ to the right folders. In those files, you need to update several entries to match the new path information:
    • DIR_WS_CATALOG
    • DIR_WS_HTTPS_CATALOG
    • DIR_FS_CATALOG
    • DIR_FS_SQL_CACHE
    • DIR_WS_ADMIN (in admin)
    • DIR_WS_HTTPS_ADMIN (in admin)
    • DIR_FS_ADMIN (in admin)
  5. If you could not set the Session Write Directory in step 1 above, you can use a utility to do it for you. The goal is to make sure that the new path information (specifically the DIR_FS_SQL_CACHE setting in your new configure.php file) matches the Session Write Directory setting. If it doesn't, you may end up with difficulties logging in to the Admin area or maintaining login sessions in the store. The Fix Cache Key Utility from the Downloads > Troubleshooting Tools area on the main Zen Cart™ site will help you to do this if you need assistance. There is no harm running it to have it check that things are set properly. Be sure to delete the file from your server when done.