Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1062 Duplicate error under admin page


MissyB19

Recommended Posts

Hi all, I've having this error that appears on my admin screen at the bottom of the page:

 

I've read thru some threads which said to use myphpadmin to delete the sessions.. can you explain what that means in layman's terms? If there's other methods, please let me know.

 

http://www.oscommerce.com/forums/index.php?sho...18entry541218

 

Error message

1062 - Duplicate entry '85be5f7eb376034169516267e7c59bbd' for key 1

 

insert into sessions values ('85be5f7eb376034169516267e7c59bbd?osCAdminID=02ca3bc5644f0f750dca57506548f5b3', '1121301056', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:13:\"configuration\";current_path|s:27:\"/home/tangocho/public_html/\";')

 

[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

Hi all, I've having this error that appears on my admin screen at the bottom of the page:

 

I've read thru some threads which said to use myphpadmin to delete the sessions.. can you explain what that means in layman's terms? If there's other methods, please let me know.

 

http://www.oscommerce.com/forums/index.php?sho...18entry541218

 

Error message

1062 - Duplicate entry '85be5f7eb376034169516267e7c59bbd' for key 1

 

insert into sessions values ('85be5f7eb376034169516267e7c59bbd?osCAdminID=02ca3bc5644f0f750dca57506548f5b3', '1121301056', 'language|s:7:\"english\";languages_id|s:1:\"1\";selected_box|s:13:\"configuration\";current_path|s:27:\"/home/tangocho/public_html/\";')

 

[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

 

 

when and how did it occur, did you click a link on your site? post up a url for your site

Link to comment
Share on other sites

when and how did it occur, did you click a link on your site? post up a url for your site

 

It was okay till yesterday. then i had this error, which my hosting provider said it was due to wrong permissions set for some files.. since they corrected it, i had the duplicate message when i login to my admin screen. i contacted them on this today and they said maybe they would try to reinstall the whole application, which set me worried, as i had done a lot of work on my site already. If there is a easier way around the problem, please let me know.

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

Link to comment
Share on other sites

Sometimes this just happens. A session gets locked in the database and does not expire. You will have to remove the sessions stored in your database via phpMyAdmin - which is usally accessible via your web hosting control panel.

 

Once you get to your database via phpMyAdmin, click on the Sessions table on the left of the screen. Next, click on the Browse tab, and this will bring up a list of the sessions registered on your website.

 

I know it's not easy as sessions have long and complicated names, but you need to locate the one named in the error. When you've done that you tick the box next to it, and then you click on the icon that allows you to 'drop' or delete just that one session. The icon takes different forms with different versions of phpMyAdmin. On many versions it's a red dustbin icon.

 

Vger

Link to comment
Share on other sites

Vger, are you familiar with SiteGround? I've asked the administrator to help me clear the sessions. However the error remains.

 

I'm going through the control panel to search for a place to delete sessions (double-checking), but i can't find any. If you are familiar with Siteground, pls help me. Quite worried that i got to reload the whole application and lose my data.

Link to comment
Share on other sites

Hi, my web hosting provider has deleted the sessions. However, the error persists. Is there any other way which I can solve the duplicate error, short of reloading the whole application?

 

Appreciate all the help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...