garysgal Posted November 2, 2006 Share Posted November 2, 2006 NOW look at my site!!! https://www.familymemoriesandmore.com/cart/. Click on any link and the page can't be displayed, and the redirect address is SCREWY. I've already emailed them about the "permissions" at the top - they keep defaulting the configure.php file to 777, even though I've changed it a dozen times... But why on earth are the redirects so screwed up? Is this something *I* did or something on my server's side? ACK! I'm so close to converting my site over to this one and this went and happened! Grrr... Link to comment Share on other sites More sharing options...
abra123cadabra Posted November 2, 2006 Share Posted November 2, 2006 Looks like you might have mixed up the two config files /catalog/includes/configure.php and /catalog/admin/includes/configure.php. Just check what they should contain in the original osC and load a version with the correct entries for your site back up to the server. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 Oh crap. Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 Okay, I loaded my backup from this morning. I still have a problem, however, when I click on any link... I get a weird address and my 404 (without the pics)... Link to comment Share on other sites More sharing options...
abra123cadabra Posted November 2, 2006 Share Posted November 2, 2006 Maybe that backup file has the same problem... Open your /catalog/includes/configure.php and check that you have these entries: define('DIR_WS_HTTP_CATALOG', '/cart/'); define('DIR_WS_HTTPS_CATALOG', '/cart/'); abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 I didn't have those lines, but adding them still gives me the errors when I click on any link in the cart... here's what my configure.php looks like (and I do have the https:// set up for www.familymemoriesandmore.com): <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.familymemoriesandmore.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.familymemoriesandmore.com'); define('HTTPS_CATALOG_SERVER', 'https://www.familymemoriesandmore.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/garysgal/public_html'); // where the pages are located on the server define('DIR_WS_ADMIN', '/cart/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/garysgal/public_html/cart/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/cart/'); // absolute path required define('DIR_FS_CATALOG', '/home/garysgal/public_html/cart/'); // 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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'garysgal_osc1'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'garysgal_osc1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 Oh, and I still can't see my site in https:// mode - does that mean I have to go into it and change everything (image links, etc.) over from http://www.family... to https://www.family...? Link to comment Share on other sites More sharing options...
abra123cadabra Posted November 2, 2006 Share Posted November 2, 2006 The configure file you posted looks like it's the one for /cart/admin/includes/configure.php and not the one for /cart/includes/configure.php. The two lines I posted earlier are not in. But anyway, it's the wrong data in it. Try this: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.familymemoriesandmore.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.familymemoriesandmore.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.familymemoriesandmore.com'); define('HTTPS_COOKIE_DOMAIN', '.familymemoriesandmore.com'); define('HTTP_COOKIE_PATH', '/cart/'); define('HTTPS_COOKIE_PATH', '/cart/'); define('DIR_WS_HTTP_CATALOG', '/cart/'); define('DIR_WS_HTTPS_CATALOG', '/cart/'); 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', '/home/garysgal/public_html/cart/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'garysgal_osc1'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'garysgal_osc1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
digbydo Posted November 2, 2006 Share Posted November 2, 2006 NOW look at my site!!! https://www.familymemoriesandmore.com/cart/. Click on any link and the page can't be displayed, and the redirect address is SCREWY. you moved to https from http : http still displays i.e.: http://familymemoriesandmore.com/cart/prod...;products_id=63 and now the paths to https are all muddled one-click installation.. Dave's info Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 You're a freakin' genius. Link to comment Share on other sites More sharing options...
abra123cadabra Posted November 2, 2006 Share Posted November 2, 2006 Good to see it's working properly. Just check that your admin is working fine too. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
garysgal Posted November 2, 2006 Author Share Posted November 2, 2006 Does it matter if my admin isn't secured? I see that little "unlocked" icon down there... otherwise, it's doing GREAT!!! Now to add the rest of my products and redirect my old site! Link to comment Share on other sites More sharing options...
abra123cadabra Posted November 2, 2006 Share Posted November 2, 2006 Of course it's better if your access to the admin is encrypted. I didn't change anything in my admin/includes/configure.php to make it use https. I just login with https://www.mydomain.com/admin/... After that all links within the admin are SSL encrypted. Just try it. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
digbydo Posted November 3, 2006 Share Posted November 3, 2006 You're a freakin' genius. I was about to ask you to put that in writing.... but I see you have done ;) Glad it's sorted, have fun :thumbsup: one-click installation.. Dave's info Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.