wonkaplease Posted March 13, 2010 Share Posted March 13, 2010 BACKGROUND: Installed OSC, customized in folder named 'shop'. Downloaded all files / pages and backed up db. Uploaded all files / pages into a folder named 'shop-test', created new db and imported the original db into new one. Configured the 2 config.php files with new db settings. Both folders are sub-folders (not root directory). PROBLEM: My problem is when i go to the test-shop, the index page loads fine, but when i try to navigate to other pages, i'm always redirected to the main shop (this happens when i try to run locally on my computer as well) I've tried about every obvious configuration I can think of. For example adding 'shop-test' at the end of vesproinc.com and / or replacing 'shop' with 'shop-test' in the obvious places in the 2 config.php files. QUESTIONS: 1) Would i need to change something in the db? 2) Could someone please tell me what changes i would need to make in the 2 config files and anywhere else to get my shop running in a folder named shop-test? Here is my live shop http://vesproinc.com/shop/ Here is my test-shop http://vesproinc.com/shop-test/ Here are the two 'shop' config files BTW, i have not made any changes to htaccess files, but so you know, i know nothing about htaccess files on top of that. =\ Thank you so much in advance!! best chantz ======================================= LIVE SHOP - includes/config.php ======================================= <?php define('HTTP_SERVER', 'http://www.vesproinc.com'); define('HTTPS_SERVER', 'https://www.vesproinc.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'vesproinc.com'); define('HTTPS_COOKIE_DOMAIN', 'vesproinc.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/hermes/web07/b2578/moo.vespro/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', '##########'); define('DB_SERVER_USERNAME', '##########'); define('DB_SERVER_PASSWORD', '##########'); define('DB_DATABASE', '##########'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> ======================================= LIVE SHOP - admin/includes/config.php ======================================= <?php define('HTTP_SERVER', 'http://vesproinc.com'); define('HTTP_CATALOG_SERVER', 'http://vesproinc.com'); define('HTTPS_CATALOG_SERVER', 'http://vesproinc.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/hermes/web07/b2578/moo.vespro/shop/'); define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/hermes/web07/b2578/moo.vespro/shop/admin/'); define('DIR_WS_CATALOG', '/shop/'); define('DIR_FS_CATALOG', '/hermes/web07/b2578/moo.vespro/shop/'); 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/'); define('DB_SERVER', '##########'); define('DB_SERVER_USERNAME', '##########'); define('DB_SERVER_PASSWORD', '##########'); define('DB_DATABASE', '##########'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
FIMBLE Posted March 13, 2010 Share Posted March 13, 2010 I do not think it is HTACCESS related as tjis would only have an impact on your category links not the contact us etc.... Which folder did you change the configure file on? shop or shop-test? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.