Guest Posted March 21, 2006 Posted March 21, 2006 I'm banging my head against the wall... My doc structure is root/oscommerce/... I would appreciate it so much if someone could tell me what my problem is. I can't see the payment/shipping/order totals mods. I have tried putting this path that I got from godaddy (my host): /home/content/n/a/t/naturalbaby/html/oscommerce/admin/ because everyone posting on this topic says you need a path like that. Although godaddy says that I can just use www.naturalbabysupply.com/ as my default path. I am so confused! Here is my config.php file from admin/includes/configure.php: define('HTTP_SERVER', 'http://naturalbabysupply.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://naturalbabysupply.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/oscommerce'); // where the pages are located on the server define('DIR_WS_ADMIN', '/oscommerce/admin/'); // absolute path required define('DIR_FS_ADMIN', '/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/'); // absolute path required 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 . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'oscommerce/includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
adrian.pearce Posted March 21, 2006 Posted March 21, 2006 I'm banging my head against the wall... My doc structure is root/oscommerce/... I would appreciate it so much if someone could tell me what my problem is. I can't see the payment/shipping/order totals mods. I have tried putting this path that I got from godaddy (my host): /home/content/n/a/t/naturalbaby/html/oscommerce/admin/ because everyone posting on this topic says you need a path like that. Although godaddy says that I can just use www.naturalbabysupply.com/ as my default path. I am so confused! Here is my config.php file from admin/includes/configure.php: define('HTTP_SERVER', 'http://naturalbabysupply.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://naturalbabysupply.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/oscommerce'); // where the pages are located on the server define('DIR_WS_ADMIN', '/oscommerce/admin/'); // absolute path required define('DIR_FS_ADMIN', '/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/'); // absolute path required 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 . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'oscommerce/includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Please Password protect your admin page Jean and Becky !!!!!!
Guest Posted March 21, 2006 Posted March 21, 2006 Please Password protect your admin page Jean and Becky !!!!!! Ok. Well, I am planning to do that. At the moment, there is nothing to protect. It might not be bad for someone to break in and fix my paths. Seriously, no one wants to go for the $50? :'(
danthony2 Posted March 21, 2006 Posted March 21, 2006 Hello, I am using godaddy also for hosting, should have went somewhere else but I guess besides the horrible control panel its ok. I just installed my cart just have to mod it now. I'm banging my head against the wall... My doc structure is root/oscommerce/... I would appreciate it so much if someone could tell me what my problem is. I can't see the payment/shipping/order totals mods. I have tried putting this path that I got from godaddy (my host): /home/content/n/a/t/naturalbaby/html/oscommerce/admin/ because everyone posting on this topic says you need a path like that. Although godaddy says that I can just use www.naturalbabysupply.com/ as my default path. I am so confused! Here is my config.php file from admin/includes/configure.php: define('HTTP_SERVER', 'http://naturalbabysupply.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://naturalbabysupply.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/oscommerce'); // where the pages are located on the server define('DIR_WS_ADMIN', '/oscommerce/admin/'); // absolute path required define('DIR_FS_ADMIN', '/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/'); // absolute path required 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 . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'oscommerce/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'oscommerce/includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
kgt Posted March 21, 2006 Posted March 21, 2006 define('HTTP_SERVER', 'http://naturalbabysupply.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://naturalbabysupply.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/content/n/a/t/naturalbaby/html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/oscommerce/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/content/n/a/t/naturalbaby/html/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/oscommerce/'); // absolute path required define('DIR_FS_CATALOG', '/home/content/n/a/t/naturalbaby/html/oscommerce/'); // absolute path required 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/'); Contributions Discount Coupon Codes Donations
custodian Posted March 21, 2006 Posted March 21, 2006 Try this (replace these lines with what you have define('DIR_FS_DOCUMENT_ROOT', '/home/content/n/a/t/naturalbaby/html/oscommerce/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/content/n/a/t/naturalbaby/html/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/oscommerce/'); // absolute path required define('DIR_FS_CATALOG', '/home/content/n/a/t/naturalbaby/html/oscommerce/'); // absolute path required My Contributions Henry Smith
custodian Posted March 22, 2006 Posted March 22, 2006 You also have an error in your catalog/includes/configure.php You stated your root is oscommerce, but the links on your site are looking for http://www.naturalbabysupply.com/catalog/ You need to correct this and change the catalog reference to oscommerce My Contributions Henry Smith
custodian Posted March 22, 2006 Posted March 22, 2006 Oh wait.. your ROOT is oscommerce... sorry... your should take the catalog reference of /catalog/ and change it to / (That's in the /catalog/includes/configure.php And in your admin dir That applies also (previously posted with the correction) define('DIR_FS_DOCUMENT_ROOT', '/home/content/n/a/t/naturalbaby/html/oscommerce/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/content/n/a/t/naturalbaby/html/oscommerce/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/content/n/a/t/naturalbaby/html/oscommerce/'); // absolute path required My Contributions Henry Smith
Guest Posted March 22, 2006 Posted March 22, 2006 Hi Jean Being a newbie, I started at Godaddy. It was a mistake. You will run into all sorts of problems as you start to add contributions. 1. I would suggest finding another host, like i did, as soon as possible. Godaddy will refund your money. 2.Again you need to secure your admin. You can use an .htaccess file Just create a textpad file and name it .htaccess and include AuthType Basic AuthName "Restricted Area" AuthUserFile /home/content/n/a/t/naturalbaby/html/oscommerce/admin/.htpasswd or what ever your path to admin folder is AuthGroupFile /dev/null Require user yourusername IndexIgnore * <Files .htaccess> order allow,deny deny from all </Files> 3. Create another text file called .htpasswd go to http://www.xs4all.nl/~remcovz/htpasswd.html or do a search for .htpasswd generators and generate your password & paste it into the .htpasswd file 4. Copy them both to your admin directory. This will secure it. 5. Also consider renaming your admin to something random. Now one of the problems with godaddy sometimes you can cancel your way through the htaccess file - which you can not do with other hosts. Not a big deal until you go live and someone changes the price of that nice ERGO Baby Carrier from $110.00 to $1.10 and orders 10! Hope this helps!
Guest Posted March 22, 2006 Posted March 22, 2006 Now one of the problems with godaddy sometimes you can cancel your way through the htaccess file - which you can not do with other hosts. Not a big deal until you go live and someone changes the price of that nice ERGO Baby Carrier from $110.00 to $1.10 and orders 10! Hope this helps! Hey, thanks so much! I did add the password, so that is great! What a good reason for security. I wouldn't want anyone messing with the products. :-) Thanks to all! I appreciate all the help. My site is better, but still not right, so I will just keep trying. I moved everything so that the oscommerce folder isn't there anymore. You just go to catalog from www.naturalbabysupply.com , which is what I prefer. I hope I can get it to work for me like that. Anyhow, below is my "new and improved" configure.php file. Still not working -- who knows why. I wonder if it is possible that I am missing a file somewhere? :huh: define('HTTP_SERVER', 'http://www.naturalbabysupply.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.naturalbabysupply.com'); define('HTTPS_COOKIE_DOMAIN', ''); 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', ''); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I'll keep posting my progress, and I hope, a solution so that we will all be up and running shortly! Take care, all! Jean
Guest Posted March 22, 2006 Posted March 22, 2006 Ok. Well, I am planning to do that. At the moment, there is nothing to protect. It might not be bad for someone to break in and fix my paths. Wow. To whoever wanted to teach me a lesson: I got it. That was pretty uncool, but I guess I learned a big lesson. Jean (with more work to do than ever)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.