jas207 Posted February 26, 2004 Posted February 26, 2004 I have had so many problems with the installation I don't know where to begin. I've spent days searching the forums for solutions. I have found similar problems but none of the code fixes that worked for other users have worked for me. I had never even heard of PHP until I installed this shopping cart. So to say I really don't have a clue as to what I'm doing is an understatement. 1. I'm using a shared ssl with ix webhosting. ssl shows enabled in the window (padlock locked and I get the warning about the ssl certificate not matching the name, I guess this is inherent with shared ssl), however in the osCommerce admin window it says you are not protected by ssl and that padlock in the lower left corner is unlocked. 2. I set up a test account with customer info and it created the account. I received the welcome email, and all was well. But when I log in using that email address and password the screen loops back to the 1st page asking me to login or create an account. The same thing happens if I try to post a review. It loops back to the 1st page again. 3. I cannot delete customers through oscommerce admin. I click on delete, it asks if I really want to delete the customer. I click delete and it takes me back to the customer window but the customer is still there and it displays these two warnings: Warning:reset():passed variable is not an array or object in/hsphere/local/home/jasuniqu/uniqueangler.com/admin/includes/classes/object_info.php on line 17 the next warning begins: "Variable passed to each() is not an array or object..." everything is the same as above except the its on "line 18" I can delete customers by using "my php". I just can't do it from Admin. my domian is a dedicated IP, the secure.uniqueangler.com is a shared IP if that matters. Here's my config file: <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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.uniqueangler.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.secure.uniqueangler.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.uniqueangler.com'); define('HTTPS_COOKIE_DOMAIN', 'www.secure.uniqueangler.com'); define('HTTP_COOKIE_PATH', 'www.uniqueangler.com/catalog'); define('HTTPS_COOKIE_PATH', 'www.secure.uniqueangler.com/catalog'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Thanks in advance to anyone who can help me. I'm starting to think I should have paid someone to do this with Miva or something more idiot proof. I've got about 4 weeks before this has to be completely up and running and at this rate I'll be totally bald by then.
jas207 Posted February 27, 2004 Author Posted February 27, 2004 Somebody please help. This has been viewed 22 times and no responses.
threeG Posted March 4, 2004 Posted March 4, 2004 First things first. You write: (padlock locked and I get the warning about the ssl certificate not matching the name, I guess this is inherent with shared ssl), however in the osCommerce admin window it says you are not protected by ssl and that padlock in the lower left corner is unlocked. It is not common for mismatch on ssl certificate name. Could be a serious ssl issue. Contact your host regarding the name mismatch. As for admin, set HTTP server to also point to https://www.yourdomainname.com as well and that should point admin to https. Sometimes you need to go to a section in the admin panel and then come back to see admin panel to see it with the lock. Try that and let me know if it works. Regards, John "There is nothing like a little successful tinkering to bring out the looney mad scientist in all of us. Brohoohoohoooohaahaahaaahahaaaaaaaaaa!"
bloodshoteyes Posted March 4, 2004 Posted March 4, 2004 First of cut the domain name from cookie path should read only /catalog/..
bloodshoteyes Posted March 4, 2004 Posted March 4, 2004 Next make sure you post the configure.php from the admin side. I got to ask if you are using I.E. 6.0 browser remove update KB832894 frim your system. It will give you nothing but problems. You may run into problems with the shared IP. for sure as well as shared SSL. Whats this? define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); this is supposed to be a pathway not just a directory name.
threeG Posted March 4, 2004 Posted March 4, 2004 To piggyback on blood's last entry the patch in question does cause problems. However, a fix is now available from Microsoft. It fixed my problems with SSL not working properly. You can get the patch from Microsoft at this location: http://support.microsoft.com/default.aspx?kbid=831167 I have now posted this in several locations on the forum so everyone should be able find it. Regards, John "There is nothing like a little successful tinkering to bring out the looney mad scientist in all of us. Brohoohoohoooohaahaahaaahahaaaaaaaaaa!"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.