babruzzo Posted December 11, 2009 Share Posted December 11, 2009 Okay, I'm very new at anythjing beyond HTML and some CSS, so I was hoping that osCommerce was upload and it works. I was wrong, as I kept finding out I needed this program or that set-up. So, here's where I am: I am on a Windows server/host (required for other things I have online), but I thought that it would work fine. I uploaded osCommerce to try it out. I set-up my account and my databce, was told by the hosting company not to upload .htaccess files or it won't work. I run the install program and get the "install succeful" message. Here's the current problem: the buttons on the last page are trying to take me to a page with these weird addresses http://babruzzo.startlogic.com////////nawinfs05////home////users////web////b261////sl.babruzzo////catalog/////index.php http://babruzzo.startlogic.com////////nawinfs05////home////users////web////b261////sl.babruzzo////catalog/////admin/index.php I have never seen addresses with so many slashes. Is this correct? When I go to the actual web page (http://babruzzo.startlogic.com/catalog/index.php), there is no formating or images and the links are bad. What have I done wrong or forgotten to do? Link to comment Share on other sites More sharing options...
nealc Posted December 11, 2009 Share Posted December 11, 2009 Okay, I'm very new at anythjing beyond HTML and some CSS, so I was hoping that osCommerce was upload and it works. I was wrong, as I kept finding out I needed this program or that set-up. So, here's where I am: I am on a Windows server/host (required for other things I have online), but I thought that it would work fine. I uploaded osCommerce to try it out. I set-up my account and my databce, was told by the hosting company not to upload .htaccess files or it won't work. I run the install program and get the "install succeful" message. Here's the current problem: the buttons on the last page are trying to take me to a page with these weird addresses http://babruzzo.startlogic.com////////nawinfs05////home////users////web////b261////sl.babruzzo////catalog/////index.php http://babruzzo.startlogic.com////////nawinfs05////home////users////web////b261////sl.babruzzo////catalog/////admin/index.php I have never seen addresses with so many slashes. Is this correct? When I go to the actual web page (http://babruzzo.startlogic.com/catalog/index.php), there is no formating or images and the links are bad. What have I done wrong or forgotten to do? I believe, I mean I could be wrong, but I think you need the .htaccess file. Also, what do your configure files look like? Post them here, but leave out all your personal information i.e. database passwords etc. I am currently just learning osCommerce and PHP, but am always willing to help out. Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters. Link to comment Share on other sites More sharing options...
babruzzo Posted December 23, 2009 Author Share Posted December 23, 2009 I believe, I mean I could be wrong, but I think you need the .htaccess file. Also, what do your configure files look like? Post them here, but leave out all your personal information i.e. database passwords etc. Here are the two config files. I ****ed out the databace, password and username, which were correct. To fix the problem, whould I just edit the files manually, since the install program gave me the problem? The one in catalog/includes is: <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('HTTPS_SERVER', 'http://babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('HTTPS_COOKIE_DOMAIN', 'babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); 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', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'babruzzo.startlogicmysql.com'); define('DB_SERVER_USERNAME', '**********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> And the one in catalog/admin/includes is: <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('HTTP_CATALOG_SERVER', 'http://babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('HTTPS_CATALOG_SERVER', 'http://babruzzo.startlogic.com\\\\\\\\nawinfs05\\\\home\\\\users\\\\web\\\\b261\\\\sl.babruzzo\\\\catalog\\\\'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); 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', 'babruzzo.startlogicmysql.com'); 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...
nealc Posted December 24, 2009 Share Posted December 24, 2009 Ok...try this: Catalog/includes/configure.php: <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com'); define('HTTPS_SERVER', 'http://babruzzo.startlogic.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'babruzzo.startlogic.com'); define('HTTPS_COOKIE_DOMAIN', 'babruzzo.startlogic.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', '/nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'babruzzo.startlogicmysql.com'); define('DB_SERVER_USERNAME', '**********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> And for catalog/admin/includes/configure.php: <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com'); define('HTTP_CATALOG_SERVER', 'http://babruzzo.startlogic.com'); define('HTTPS_CATALOG_SERVER', 'http://babruzzo.startlogic.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/nawinfs05/home/users/web/b261/sl.babruzzo/catalog/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); 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', 'babruzzo.startlogicmysql.com'); define('DB_SERVER_USERNAME', '**********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Also, where did you install this? Did you install Oscommerce to this directory: 'http://babruzzo.startlogic.com\nawinfs05\home\users\web\b261\sl.babruzzo\catalog\'? If my configure.php changes do not work, try reinstalling but upload to http://babruzzo.startlogic.com/catalog. And after doing so run the install. Let me know if this helps. I am currently just learning osCommerce and PHP, but am always willing to help out. Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters. Link to comment Share on other sites More sharing options...
BryceJr Posted December 24, 2009 Share Posted December 24, 2009 Minor corrections to above post. catalog/admin/includes/configure.php define('DIR_FS_DOCUMENT_ROOT', '/nawinfs05/home/users/web/b261/sl.babruzzo/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); Link to comment Share on other sites More sharing options...
babruzzo Posted December 24, 2009 Author Share Posted December 24, 2009 Ok...try this: Catalog/includes/configure.php: (code deleted) And for catalog/admin/includes/configure.php: (code deleted) Also, where did you install this? Did you install Oscommerce to this directory: 'http://babruzzo.startlogic.com\nawinfs05\home\users\web\b261\sl.babruzzo\catalog\'? If my configure.php changes do not work, try reinstalling but upload to http://babruzzo.startlogic.com/catalog. And after doing so run the install. Let me know if this helps. I installed this in babruzzo.startlogic.com/catalog and just followed the install.php promps. I'll try the changes. Link to comment Share on other sites More sharing options...
babruzzo Posted December 24, 2009 Author Share Posted December 24, 2009 Ok...try this: Let me know if this helps. Okay, I did the changes and I am getting the same problems as before whan I go to www.bsabruzzo.startlogic.com/catalog, no images or colors and the links go to a "page can't be found" page. Link to comment Share on other sites More sharing options...
germ Posted December 24, 2009 Share Posted December 24, 2009 Okay, I did the changes and I am getting the same problems as before whan I go to www.bsabruzzo.startlogic.com/catalog, no images or colors and the links go to a "page can't be found" page. Read BryceJr's post Especially the part about DIR_WS_CATALOG If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
babruzzo Posted December 24, 2009 Author Share Posted December 24, 2009 Read BryceJr's post Especially the part about DIR_WS_CATALOG Still the same result. Link to comment Share on other sites More sharing options...
germ Posted December 24, 2009 Share Posted December 24, 2009 Still the same result. My bad! :blush: /catalog/includes/configure.php define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Change to: define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
babruzzo Posted December 27, 2009 Author Share Posted December 27, 2009 My bad! :blush: /catalog/includes/configure.php define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Change to: define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Okay, I've done the changes suggested (saving the old files as I went) and I sorta/kinda undrstand them. I think it came out right and I am making the next changes (deleting the instal folder and setting both the configure files permission to 400). Am I ready to move on and put products in the store and add templates and design the look of the store? I uploaded it into babruzzo.startlogic.com/catalog so you can check to see what it looks like. I am putting the two configure.php files below so you can see the changes to the original. /catalog/includes <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com'); define('HTTPS_SERVER', 'http://babruzzo.startlogic.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'babruzzo.startlogic.com'); define('HTTPS_COOKIE_DOMAIN', 'babruzzo.startlogic.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'babruzzo.startlogicmysql.com'); define('DB_SERVER_USERNAME', '**********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> /catalog/admin/includes <?php define('HTTP_SERVER', 'http://babruzzo.startlogic.com'); define('HTTP_CATALOG_SERVER', 'http://babruzzo.startlogic.com'); define('HTTPS_CATALOG_SERVER', 'http://babruzzo.startlogic.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/nawinfs05/home/users/web/b261/sl.babruzzo/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '//nawinfs05/home/users/web/b261/sl.babruzzo/catalog/'); 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', 'babruzzo.startlogicmysql.com'); 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...
germ Posted December 27, 2009 Share Posted December 27, 2009 Some of your images show the classic signs of images that were FTP'd to the server in TEXT or ASCII mode. Images are BINARY files and must be FTP'd in BINARY mode. And you should IMMEADIATELY delete the file_manager.php in your admin folder - a serious security risk. Then read this If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.