sharplab Posted August 1, 2008 Posted August 1, 2008 Well its 3am and we are still stumped. We copied our entire store to the root directory but we can not get any products or categories to appear in the root. We can log in and checkout and such but no products or categories. BELOW is our two config. files. I would assume the problem lies there. If anyone can take a look then THANK YOU SO MUCH! We copied our store from the /shop/ directory to the "/" root directory and then changed the 2 config files but NO GO. Our website is www.SharpWebLabs.com if you would like to look. Wedid have to put the "splash" page back up in the root directory for now. A simple test is to type in: http://www.sharpweblabs.com/shop/organic-h...more-c-182.html ALL OKAY! Now try: http://www.sharpweblabs.com/organic-herbs-more-c-182.html NOTHING! (sigh) THANKS SO MUCH FOR ALL YOUR ADVICE! THIS IS WHY WE CONTRIBUTE! :-) Trisha, Webmaster From INCLUDES <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk define('HTTP_SERVER', 'http://www.sharpweblabs.com'); define('HTTPS_SERVER', 'https://www.sharpweblabs.com'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', '.sharpweblabs.com'); define('HTTPS_COOKIE_DOMAIN', '.sharpweblabs.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']).'/'); // define('DIR_FS_CATALOG', '/home/sharpweb/public_html/); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); From ADMIN/INCLUDES <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk define('HTTP_SERVER', 'http://www.sharpweblabs.com'); define('HTTPS_SERVER', 'https://www.sharpweblabs.com'); define('HTTP_CATALOG_SERVER', 'http://www.sharpweblabs.com'); define('HTTPS_CATALOG_SERVER', 'https://www.sharpweblabs.com'); define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/sharpweb/public_html/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', '/home/sharpweb/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/sharpweb/public_html/'); 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/'); Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
sharplab Posted August 1, 2008 Author Posted August 1, 2008 Please Help! Bump Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
sharplab Posted August 1, 2008 Author Posted August 1, 2008 Pretty Please Bump Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Guest Posted August 1, 2008 Posted August 1, 2008 http://www.sharpweblabs.com/ is the root and seems to work.
sharplab Posted August 1, 2008 Author Posted August 1, 2008 http://www.sharpweblabs.com/ is the root and seems to work. No that is a SPLASH page. The products are not loading on root directory. Try This: http://www.sharpweblabs.com/shop/natural-b...ding-c-124.html Now Try This: http://www.sharpweblabs.com/natural-bodybuilding-c-124.html NO GOOD Trisha, Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Bushmaster Posted August 1, 2008 Posted August 1, 2008 Did you delete all your cache files after you moved everything? It may be loading the casche files
sharplab Posted August 1, 2008 Author Posted August 1, 2008 No I did not. Whats easiest way to do that? Thx! Trisha, Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Bushmaster Posted August 1, 2008 Posted August 1, 2008 Should be able to do it in admin. Page cache should have a setting for it. Do not know about store cache. Or you can find the folder they are stored in and emty that folder.
sharplab Posted August 1, 2008 Author Posted August 1, 2008 Can anyone check my configure.php pages please? Thx! I posted them above. :-) Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Guest Posted August 1, 2008 Posted August 1, 2008 Are you using an SEO contrib? Did you make the change in .htaccess?
sharplab Posted August 1, 2008 Author Posted August 1, 2008 Are you using an SEO contrib? Did you make the change in .htaccess? Yes I have SEO's and I ws thinking this was an area which needed changing. Also when I downloaded from /shop/ to "/" but never changed anything in the .htaccess. What should I be looking for? Now we are getting somewhere. :-) Trisha, Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
sharplab Posted August 1, 2008 Author Posted August 1, 2008 Here is what was in my /shop/ HTACCESS: Options ExecCGI +FollowSymLinks RewriteEngine On RewriteBase /shop/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} HERE is what was in my root HTACCESS: RewriteEngine on <Files 403.shtml> order allow,deny allow from all </Files> deny from 91.121.17.176 RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^YaBB.pl$ http://sharpweblabs.com [R=302,L] ErrorDocument 404 /404.shtml THX! Trisha, Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Guest Posted August 1, 2008 Posted August 1, 2008 Make sure to backup your file first!!!!! Try changing RewriteBase /shop/ To RewriteBase /
sharplab Posted August 2, 2008 Author Posted August 2, 2008 Yes we already made that change and no help but thanks! :-) Kevin Sharp Labs Inc. Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
BryceJr Posted August 2, 2008 Posted August 2, 2008 Have you checked your /includes/local folder for a configure.php file? If you have one, make the changes there too.
Guest Posted August 2, 2008 Posted August 2, 2008 In catalog/index.php check that <base href> tag is like so <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Also on that same page when I view the source you have this <meta http-equiv="refresh" content="10;url=http://www.sharpweblabs.com/shop/index.php"> You may want to remove that.
sharplab Posted August 2, 2008 Author Posted August 2, 2008 In catalog/index.php check that <base href> tag is like so <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Also on that same page when I view the source you have this <meta http-equiv="refresh" content="10;url=http://www.sharpweblabs.com/shop/index.php"> You may want to remove that. Thank you for input! I did copy and paste the code line under the existing code in index.php and they appear exact as shown below: <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Refresh I will remove but I think my problems lie deeper along the lines of my .css category contrib. or in my .htacess. THX ALL! NEED HELP! :-) Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
sharplab Posted August 2, 2008 Author Posted August 2, 2008 I think the meta refresh you are talking about has to do with my error pages and such. If someone gets an error page my .htaccess will redirect them to home page in 10 secs. :-) Trisha, Webmaster Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache
Recommended Posts
Archived
This topic is now archived and is closed to further replies.