Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Errors on Create Account file


Guest

Recommended Posts

Hey people,

 

I've been trying to customise the create_account.php file from the standard message. BEFORE I changed anything I copied and pasted the original text into word, so at least I had the original copy. After I modified the file I got an error message so I copied and pasted the original data back. I now get the following error message:

1062 - Duplicate entry '7256d148c5fc62e9342dbf9f1faa8c9a' for key 1

 

 

insert into sessions values ('7256d148c5fc62e9342dbf9f1faa8c9a?osCAdminID=5342e7d4101d2f7410f22bf6fd3b4ba1', '1071250406', '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:\"GBP\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:18:\"create_account.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:1:{s:6:\"osCsid\";s:76:\"7256d148c5fc62e9342dbf9f1faa8c9a?osCAdminID=5342e7d4101d2f7410f22bf6fd3b4ba1\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}')

 

[TEP STOP]

 

 

 

Does anyone know how to recify this?!?!

 

Thanks

 

:D

Link to comment
Share on other sites

hi,

I just used a lot of time fixing my site after using "auto_login" contribution (forgot to backup properly).. its says in the text something about this..

 

A quick fix, if you dont havent used your site that much is:

1: Go to: mysql (often mysql.Yourprovider.com/dk whatever)

2: Go to: sql, choose save structure and data, and save as file..

You can save products tabels if you dont want to reenter..

 

3: Go to: structure and choose "all" and then drop -> yes (deleting all tabels)

4: download a new oscommerce pack, and search for ".sql"

5. go to: sql -> browse -> choose file

6. now it should work..

 

s@dsonic

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...