Andge Posted January 4, 2005 Posted January 4, 2005 Hello, when I try to log into my account on my homepage, I get an error and am unable to log in. I want some of you to try to log in if you don't mind and tell me what you see. My programmer got five different people to log in and said he sees no error, so is it my computer? The address is http://www.amurrayenterprises.com you'll have to create an account as you know. The database was reinstalled about four times (and I have to reenter ALL my products and information as he says it creates errors when he tries to put them in) Anyway let me know and thank you very much for your help. Andrew.
♥Vger Posted January 4, 2005 Posted January 4, 2005 You can delete the test account eliza dolittle now. This is the reason you have problems I think - appearing on the bottom of all your pages. Vger 1062 - Duplicate entry 'e15cddcc29b9ab773540b72a0f0cad06' for key 1 insert into sessions values ('e15cddcc29b9ab773540b72a0f0cad06?osCAdminID=411c6ed8e6d6919afd9be5b91ab8f50b', '1104882090', 'cart|O:12:\"shoppingcart\":4:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:3:\"SSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:76:\"e15cddcc29b9ab773540b72a0f0cad06?osCAdminID=411c6ed8e6d6919afd9be5b91ab8f50b\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}') [TEP STOP] 1062 - Duplicate entry 'e15cddcc29b9ab773540b72a0f0cad06' for key 1 insert into sessions values ('e15cddcc29b9ab773540b72a0f0cad06?osCAdminID=411c6ed8e6d6919afd9be5b91ab8f50b', '1104882091', 'cart|O:12:\"shoppingcart\":4:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:3:\"SSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:76:\"e15cddcc29b9ab773540b72a0f0cad06?osCAdminID=411c6ed8e6d6919afd9be5b91ab8f50b\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}') [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0
bobg7 Posted January 5, 2005 Posted January 5, 2005 Might be other things going on also, when I click on an item or category it takes me to a secured page: Category = HArdware https://www.amurrayenterprises.com/index.ph...d4bb3555731bbbd Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
Guest Posted January 5, 2005 Posted January 5, 2005 Might be other things going on also, when I click on an item or category it takes me to a secured page: Category = HArdware https://www.amurrayenterprises.com/index.ph...d4bb3555731bbbd <{POST_SNAPBACK}> You might want to change this line in your configure.php file: define('HTTP_CATALOG_SERVER', 'https://www.amurrayenterprises.com'); to: define('HTTP_CATALOG_SERVER', 'http://www.amurrayenterprises.com');
Andge Posted January 5, 2005 Author Posted January 5, 2005 You can delete the test account eliza dolittle now. This is the reason you have problems I think - appearing on the bottom of all your pages. Vger <{POST_SNAPBACK}> What is the reason? What does the error mean? You were able to log in so I don't know how you managed to see the error as well. Usually it's either log in error free or unable to log in with error. Let me know Thanks to all. Andrew.
♥Vger Posted January 5, 2005 Posted January 5, 2005 No, I was able to create an account, but upon hitting the continue button to go back to the homepage I was logged out - and couldn't log in again. Post your configure.php files here, minus the db user name and password. Let us know also if you do have an ssl certificate. Vger
Andge Posted January 5, 2005 Author Posted January 5, 2005 No, I was able to create an account, but upon hitting the continue button to go back to the homepage I was logged out - and couldn't log in again. Post your configure.php files here, minus the db user name and password. Let us know also if you do have an ssl certificate. Vger <{POST_SNAPBACK}> Here it is and yes I have SSL. <?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', 'https://www.amurrayenterprises.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.amurrayenterprises.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'https://www.amurrayenterprises.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.amurrayenterprises.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', '/home/shandge/public_html/'); 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', 'removed'); define('DB_SERVER_PASSWORD', 'removed'); define('DB_DATABASE', 'removed'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks, Andrew.
♥Vger Posted January 5, 2005 Posted January 5, 2005 define('HTTP_SERVER', 'http://www.amurrayenterprises.com'); define('HTTP_COOKIE_DOMAIN', 'www.amurrayenterprises.com'); define('HTTPS_COOKIE_DOMAIN', 'www.amurrayenterprises.com'); By putting all of your store behind ssl you are creating problems for yourself - as osCommerce is set up to switch between ssl and non-ssl as needed. Also you will slow down the delivery of your pages, as they will all have to be encrypted before being served up. By all means do this with the 'admin' section, but not with the store. Your cookie_domain has no http:// or https:// in front of it. Apart from that the file looks okay. Vger
Andge Posted January 5, 2005 Author Posted January 5, 2005 define('HTTP_SERVER', 'http://www.amurrayenterprises.com'); define('HTTP_COOKIE_DOMAIN', 'www.amurrayenterprises.com'); define('HTTPS_COOKIE_DOMAIN', 'www.amurrayenterprises.com'); By putting all of your store behind ssl you are creating problems for yourself - as osCommerce is set up to switch between ssl and non-ssl as needed. Also you will slow down the delivery of your pages, as they will all have to be encrypted before being served up. By all means do this with the 'admin' section, but not with the store. Your cookie_domain has no http:// or https:// in front of it. Apart from that the file looks okay. Vger <{POST_SNAPBACK}> Ok, I made the changes but I still get the error and the whole store is still behind ssl. Must be some other reason. Have you ever come across something like this before? Andrew.
♥Vger Posted January 5, 2005 Posted January 5, 2005 See if you have a folder named 'local' with an alternative configure.php file inside it. If you have then this configure.php file has the permission to overrule any other config files, also application_top. Other than that, provided you changed the https to http then not all of your site should be behind ssl - and so it may be a problem with the way the server is set up. Vger p.s. Don't forget to delete your History files, Temporary Internet Files and Offline Content - in case you are seeing cached pages.
♥Vger Posted January 5, 2005 Posted January 5, 2005 Also, you'll need to go into your database via phpMyAdmin and delete any active sessions. Vger
Guest Posted January 5, 2005 Posted January 5, 2005 Ok, I made the changes but I still get the error and the whole store is still behind ssl. Must be some other reason. Have you ever come across something like this before? Andrew. <{POST_SNAPBACK}> In catalog/includes/configure.php, change: define('HTTP_SERVER', 'https://www.amurrayenterprises.com'); // eg, http://localhost - should not be empty for productive servers to this: define('HTTP_SERVER', 'http://www.amurrayenterprises.com'); // eg, http://localhost - should not be empty for productive servers Change this: define('HTTP_COOKIE_DOMAIN', 'https://www.amurrayenterprises.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.amurrayenterprises.com'); to this: define('HTTP_COOKIE_DOMAIN', 'www.amurrayenterprises.com'); define('HTTPS_COOKIE_DOMAIN', 'www.amurrayenterprises.com');
Andge Posted January 5, 2005 Author Posted January 5, 2005 See if you have a folder named 'local' with an alternative configure.php file inside it. If you have then this configure.php file has the permission to overrule any other config files, also application_top. Other than that, provided you changed the https to http then not all of your site should be behind ssl - and so it may be a problem with the way the server is set up. Vger p.s. Don't forget to delete your History files, Temporary Internet Files and Offline Content - in case you are seeing cached pages. <{POST_SNAPBACK}> Yeah I have a "local" folder. Andrew
Andge Posted January 5, 2005 Author Posted January 5, 2005 Yeah I have a "local" folder. Andrew <{POST_SNAPBACK}> Ok I emptied the sessions table and now Netscape is working, Internet Explorer however isn't. I don't trust my Internet Explorer browser, it's outdated and whenever I download the new version I get problems. I created a test account. Email: [email protected] P/W: mastercard Would some of you please try to log in and see if it works? http://www.amurrayenterprises.com Let me know. Thanks Andrew.
Guest Posted January 5, 2005 Posted January 5, 2005 Ok I emptied the sessions table and now Netscape is working, Internet Explorer however isn't. I don't trust my Internet Explorer browser, it's outdated and whenever I download the new version I get problems. I created a test account. Email: [email protected] P/W: mastercard Would some of you please try to log in and see if it works? http://www.amurrayenterprises.com Let me know. Thanks Andrew. <{POST_SNAPBACK}> Works for me.
Andge Posted January 5, 2005 Author Posted January 5, 2005 Works for me. <{POST_SNAPBACK}> Yeah it was working for me too, both IE and Netscape, but this morning, both errors are back. I'll have to get an oscommerce programmer to look into this problem. Thanks Andrew.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.