blr044 Posted February 1, 2010 Share Posted February 1, 2010 Have done a google search for documenntation that would explain the procedure how to do a test store. Even looked in contributions for this. My live store is in the root section. I have the test store like this -> http://brs-giftshop.com/teststore/index.php. I already changed both configure .php files by inserting the test store directory. Then when in test store, most of it fine. Missing some images like for header, which I can fix with no problem. But when at home page, regardless what link I hover over, it displays url address for live store. So if anyone knows of a such doc, I would apprecaite link for it. Thanks. Bennett Link to comment Share on other sites More sharing options...
multimixer Posted February 1, 2010 Share Posted February 1, 2010 If you really changed your both configure.php files to reflect the new path, then the next thing to check is your .htaccess file. Do you have any SEO url's installed? Is the path set in the htaccess correct? My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
blr044 Posted February 1, 2010 Author Share Posted February 1, 2010 If you really changed your both configure.php files to reflect the new path, then the next thing to check is your .htaccess file. Do you have any SEO url's installed? Is the path set in the htaccess correct? I did add the test store directory. # Ultimate SEO URLs BEGIN Options +FollowSymLinks RewriteEngine On RewriteBase /teststore/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} Link to comment Share on other sites More sharing options...
blr044 Posted February 1, 2010 Author Share Posted February 1, 2010 Thought i would attached my brs-giftshop.com/teststore/includes/configure.php define('HTTP_SERVER', 'http://brs-giftshop.com'); define('HTTPS_SERVER', 'https://brs-giftshop.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'brs-giftshop.com/teststore/'); define('HTTPS_COOKIE_DOMAIN', 'brs-giftshop.com/teststore/'); define('HTTP_COOKIE_PATH', '/teststore/'); define('HTTPS_COOKIE_PATH', '/teststore/'); define('DIR_WS_HTTP_CATALOG', '/teststore/'); define('DIR_WS_HTTPS_CATALOG', '/teststore/'); define('DIR_WS_IMAGES', '/teststore/images/'); define('DIR_WS_IMAGE', 'teststore/image/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . '/teststore/icons/'); define('DIR_WS_INCLUDES', '/teststore/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/'); Link to comment Share on other sites More sharing options...
multimixer Posted February 2, 2010 Share Posted February 2, 2010 Put the install folder of a vanilla store into teststore, run the installation and then replace the database with your own. Will be working. Then you can compare the 2 configure.php files to see what mistakes you dif]d My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
blr044 Posted February 3, 2010 Author Share Posted February 3, 2010 I did as instructed as in post # 5. Then copied the DB for which I backuped before doing the insatll. The live store is working fine. So for the test store I uplaoded the DB, for which was created before doing anything. My live store is doing fine. Went into admin to restore the original DB. But when opening the yest store, I am getting an error. Which is below: 1054 - Unknown column 'hostname' in 'field list' insert into whos_online (customer_id, full_name, session_id, ip_address, hostname, time_entry, time_last_click, last_page_url, http_referer, user_agent) values ('0', 'Guest', 'a5ef3c3208adb665efb674e3a229bbe0', '24.144.22.136', 'dhcp22-136.cable.conwaycorp.net', '1265225780', '1265225780', '/colortestsite/', '', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)') [TEP STOP] Not to fimilar in reading some of these error messages. But this look like it has something to with Whos Online Mod. But if I ran the restore DB, so it does not make sense why this error message. Bennett Link to comment Share on other sites More sharing options...
blr044 Posted February 3, 2010 Author Share Posted February 3, 2010 Not to fimilar in reading some of these error messages. But this look like it has something to with Whos Online Mod. But if I ran the restore DB, so it does not make sense why this error message. Problem was because hostname field was missing. Corrected the sql in phpMyadmin. error no longer present. Bennett Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.