Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Duplicate Entries/Sessions?


opiuman

Recommended Posts

Posted

Whenever I attempt to log in to my account I get 3 errors at the bottom of the page and it has never happened before. The errors are:

 

1062 - Duplicate entry 'e0e2d38f4f9ca123d83cbb307d8cefac' for key 1

 

insert into sessions values ('e0e2d38f4f9ca123d83cbb307d8cefac?osCAdminID=6d95c4535c9cf7adc7055b6a0d86a04c', '1134317276', 'SESSION_USER_AGENT|s:82:\"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5\";SESSION_IP_ADDRESS|s:12:\"24.55.63.217\";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:6:\"NONSSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:76:\"e0e2d38f4f9ca123d83cbb307d8cefac?osCAdminID=6d95c4535c9cf7adc7055b6a0d86a04c\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}')

 

[TEP STOP]

 

1062 - Duplicate entry 'e0e2d38f4f9ca123d83cbb307d8cefac' for key 1

 

insert into sessions values ('e0e2d38f4f9ca123d83cbb307d8cefac?osCAdminID=6d95c4535c9cf7adc7055b6a0d86a04c', '1134317277', 'SESSION_USER_AGENT|s:82:\"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5\";SESSION_IP_ADDRESS|s:12:\"24.55.63.217\";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:6:\"NONSSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:76:\"e0e2d38f4f9ca123d83cbb307d8cefac?osCAdminID=6d95c4535c9cf7adc7055b6a0d86a04c\";}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

 

What is going on and how would I be able to fix it?

Posted

Looking at "Who's Online" I see that a lot of people cannot get on. However, there are a few, maybe 1-2 out of 20 that can log on. Why?

 

Also, when I'm in the Control Panel for osCommerce I find that I get the following error:

 

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/spork/public_html/cart/admin/includes/functions/sessions.php on line 67

 

This started happening lately without modifications to the configuration or anything. I honestly don't know why or how this happened if I didn't change anything. If anyone wants to know this is for a virtual company for my class in Virtual Enterprise. Worst comes to worse I'll probably have to do everything over again and I really wish that I don't have to do that. Thanks for the help.

Posted

I have exactly the same issues.

 

However, I *think* I have just solved the

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/spork/public_html/cart/admin/includes/functions/sessions.php on line 67

by editing the admin configure.php and changing

define('STORE_SESSIONS', '');

to be

define('STORE_SESSIONS', 'mysql');

 

Regards,

Julian

Posted

I'm still suffering from this issue.

 

Any one any ideas would be great.

 

Regards,

Julian

Posted

Solved it!!

 

I had somehow managed to add

?osCAdminID=723423ABEFDH....HH233H

to a number of url's in catalog/includes/languages/english.php

 

Regards,

Julian

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...