Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Funky code message at bottom of page


bugleman

Recommended Posts

Could someone look at the code below and tell me what it means. What I've done is make a FAQ page where the questions link to the answers below with a back-to-the-top link between each. In other words linking inside the page.

 

The page looks fine when you first bring it up but as soon as you click on one of the question links you get the following code at the very bottom of the page. It says duplicate entry. Well it has to be doesn't it because the url for each link would be for the same page plus what I named the link.

 

Please look and tell me what I'm doing wrong. The page I'm talking about is...

http://noveltybag.com/catalog/faq.php?osCs...5f6b30852e053a2

 

Thanks!

 

Here is the error code:

 

1062 - Duplicate entry 'f1706ac5d7cb8e292af0c3a242b515ff' for key 1

 

insert into sessions values ('f1706ac5d7cb8e292af0c3a242b515ff/', '1119831811', 'cart|O:12:\"shoppingcart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:12:\"content_type\";b:0;s:20:\"rounded_qty_products\";a: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:7:\"faq.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:33:\"f1706ac5d7cb8e292af0c3a242b515ff/\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}')

 

[TEP STOP]

 

1062 - Duplicate entry 'f1706ac5d7cb8e292af0c3a242b515ff' for key 1

 

insert into sessions values ('f1706ac5d7cb8e292af0c3a242b515ff/', '1119831811', 'cart|O:12:\"shoppingcart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:12:\"content_type\";b:0;s:20:\"rounded_qty_products\";a: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:7:\"faq.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:33:\"f1706ac5d7cb8e292af0c3a242b515ff/\";}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

Link to comment
Share on other sites

Did you create those links by hand.

 

I'm guessing you did, you have included the session ID in the link

 

...faq.php?osCsid=f1706ac5d7cb8e292af0c3a242b515ff/#countries

 

thats the part after the question mark ?

 

remove that from the link and everything will work

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...