tegralens Posted March 20, 2005 Share Posted March 20, 2005 How do I rename the catalog folder. I have already put a lot of products there but I never renamed the catalog folder when I installed it. I would like to change it from www.mysite.com/oscommerce to www.mysite.com/store please let me know how you do this step by step I am very new at oscommerce and php. Thank you in advance. Link to comment Share on other sites More sharing options...
Iggy Posted March 20, 2005 Share Posted March 20, 2005 How do I rename the catalog folder. I have already put a lot of products there but I never renamed the catalog folder when I installed it. I would like to change it from www.mysite.com/oscommerce to www.mysite.com/store please let me know how you do this step by step I am very new at oscommerce and php. Thank you in advance. <{POST_SNAPBACK}> This has been answered a few times that I know of. If you didn't poke around first always give that a shot before posting. That said rename the folder (using ftp or ssh or telnet or whatever you have available) then change the paths in your config files (inside the includes dir for both the admin and catalog). Check that it works. If not check your config files more closely. That should be all there is to it! Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
tegralens Posted March 21, 2005 Author Share Posted March 21, 2005 This has been answered a few times that I know of. If you didn't poke around first always give that a shot before posting. That said rename the folder (using ftp or ssh or telnet or whatever you have available) then change the paths in your config files (inside the includes dir for both the admin and catalog). Check that it works. If not check your config files more closely. That should be all there is to it! Iggy <{POST_SNAPBACK}> ok i found the file but which one do I change I have these define('HTTP_COOKIE_PATH', '/oscommerce/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce/'); Which one do I change? Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2005 Share Posted March 21, 2005 All of them (after renaming the folder, of course). -jared Link to comment Share on other sites More sharing options...
tegralens Posted March 22, 2005 Author Share Posted March 22, 2005 All of them (after renaming the folder, of course). -jared <{POST_SNAPBACK}> I renamed the folder and the configure.php in the catalog folder and the admin folder but after that I can't login to admin now. Here is what I changed Before define('HTTP_SERVER', 'http://mysite.com'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'http://mysite.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs'); define('DIR_WS_ADMIN', '/oscommerce/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/oscommerce/admin'); define('DIR_WS_CATALOG', '/oscommerce/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/mysite.com/httpdocs/oscommerce/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); After define('HTTP_SERVER', 'http://mysite.com'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'http://mysite.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs'); define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/store/admin'); define('DIR_WS_CATALOG', '/store/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/mysite.com/httpdocs/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Where did I go wrong I wanted to change the site to be www.mysite.com/store and everything that said oscommerce I changed to store. please help Thank you everyone for helping. Link to comment Share on other sites More sharing options...
tegralens Posted March 22, 2005 Author Share Posted March 22, 2005 I renamed the folder and the configure.php in the catalog folder and the admin folder but after that I can't login to admin now. Here is what I changed Before define('HTTP_SERVER', 'http://mysite.com'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'http://mysite.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs'); define('DIR_WS_ADMIN', '/oscommerce/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/oscommerce/admin'); define('DIR_WS_CATALOG', '/oscommerce/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/mysite.com/httpdocs/oscommerce/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); After define('HTTP_SERVER', 'http://mysite.com'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'http://mysite.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs'); define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/store/admin'); define('DIR_WS_CATALOG', '/store/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/mysite.com/httpdocs/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Where did I go wrong I wanted to change the site to be www.mysite.com/store and everything that said oscommerce I changed to store. please help Thank you everyone for helping. <{POST_SNAPBACK}> Anyone have any iteas what happened? Link to comment Share on other sites More sharing options...
tegralens Posted March 23, 2005 Author Share Posted March 23, 2005 Anyone have any iteas what happened? <{POST_SNAPBACK}> Can someone please help Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2005 Share Posted March 25, 2005 Try the following: change define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs'); define('DIR_WS_ADMIN', '/store/admin/'); to define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mysite.com/httpdocs/store/'); define('DIR_WS_ADMIN', '/admin/'); change define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/store/admin'); to define('DIR_FS_ADMIN', '/home/httpd/vhosts/mysite.com/httpdocs/store/admin/'); -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.