Guest Posted October 23, 2008 Share Posted October 23, 2008 Hi there I have suddenly started to get the following error when I click on customer or orders. Haven't changed anything code wise on my site for a while. The customer and orders page loads but this is at the bottom 1062 - Duplicate entry 'b0a7768d7950f803536d42b7c3d5cd71' for key 1 insert into sessions values ('b0a7768d7950f803536d42b7c3d5cd71?action=view', '1224765673', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:9:\"customers\";') [TEP STOP] Anyone know what it means or how to solve it??? Bit of a php newbie....sorry Link to comment Share on other sites More sharing options...
Guest Posted October 23, 2008 Share Posted October 23, 2008 Anyone please? Hi there I have suddenly started to get the following error when I click on customer or orders. Haven't changed anything code wise on my site for a while. The customer and orders page loads but this is at the bottom 1062 - Duplicate entry 'b0a7768d7950f803536d42b7c3d5cd71' for key 1 insert into sessions values ('b0a7768d7950f803536d42b7c3d5cd71?action=view', '1224765673', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:9:\"customers\";') [TEP STOP] Anyone know what it means or how to solve it??? Bit of a php newbie....sorry Link to comment Share on other sites More sharing options...
arietis Posted October 24, 2008 Share Posted October 24, 2008 it looks like the index file for that table is corrupt. you'll have to use phpmyadmin to do a repair table on it and see if that sorts it out. if that doesn't, you can recreate the table. look in the /install/oscommerce.sql file that is in your osc download and you'll find the structure of the table you can use to recreate it. Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2008 Share Posted October 24, 2008 it looks like the index file for that table is corrupt. you'll have to use phpmyadmin to do a repair table on it and see if that sorts it out. if that doesn't, you can recreate the table. look in the /install/oscommerce.sql file that is in your osc download and you'll find the structure of the table you can use to recreate it. Spot on....had to figure out how to do the repair bit but I did it and problem solved. Many many thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.