Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I've installed the new 2.1 and everything seems to work ok, BUT when I in admin activate "Allow Multiple Votes", I get the error at the bottom of pollbooth.php:

 

1062 - Duplicate entry '2254588db311e98c9b9a79f8eb75471f' for key 1

insert into sessions values ('2254588db311e98c9b9a79f8eb75471f/warn/_ALREADY_VOTED', '1069714435', '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:6:\"danish\";languages_id|s:1:\"4\";currency|s:3:\"DKK\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:13:\"pollbooth.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:2:\"op\";s:7:\"results\";s:6:\"pollid\";s:1:\"2\";s:6:\"osCsid\";s:52:\"2254588db311e98c9b9a79f8eb75471f/warn/_ALREADY_VOTED\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}')

[TEP STOP]

1062 - Duplicate entry '2254588db311e98c9b9a79f8eb75471f' for key 1

insert into sessions values ('2254588db311e98c9b9a79f8eb75471f/warn/_ALREADY_VOTED', '1069714435', '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:6:\"danish\";languages_id|s:1:\"4\";currency|s:3:\"DKK\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:13:\"pollbooth.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:2:\"op\";s:7:\"results\";s:6:\"pollid\";s:1:\"2\";s:6:\"osCsid\";s:52:\"2254588db311e98c9b9a79f8eb75471f/warn/_ALREADY_VOTED\";}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

 

Does anyone know how to get rid of this?

I'm not aware of this problem occuring in v2.0 as well.

 

Also... It's nice with comments and all, but it would be nice if people were able to read them instad of a bold line telling alot of information about the author of the comments....???

 

 

Thank you..

Edited by Goant
Posted

please help me out with this one.. I believe it's a problem with the writing to db from pollcollect.php but since I don't understand PHP, I can't seem to figure out what's wrong..

 

There is absolutely no problem with the contrib when I have "Allow Multiple Votes" disabled.

 

I'm running a MS2 if that should help..

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...