Jump to content

EX1062 error

Featured Replies

Posted

One of my new members states they are getting this error code on many pages.  When I did a search I found nothing recent or after 2015.  Is anyone else getting this?  I logged in with several different user group accounts and could not replicate the error, I did not see it even once.

MySQL error 1062 is duplicated entry on a primary key of a table. Take a look in logs to see if you get more details. 

  • Author

thanks

 

  • Author

Nothing in error logs, not a single error shown.

Have you logged in this specific user account? 

  • Author

Got this though in standard logs...  Many others

 

INSERT INTO `core_view_updates` ( `classname`, `id` ) VALUES ( 'IPS\forums\Topic', 20581 )
IPS\Db\Exception: Duplicate entry 'IPS\forums\Topic-20581' for key 'classname_and_id' (1062)
#0 /home/sharkopt/public_html/goancestry/forums/system/Db/Db.php(937): IPS\_Db->preparedQuery('/*IPS\\Content\\_...', Array)
#1 /home/sharkopt/public_html/goancestry/forums/system/Content/Controller.php(223): IPS\_Db->insert('core_view_updat...', Array)
#2 /home/sharkopt/public_html/goancestry/forums/applications/forums/modules/front/forums/topic.php(50): IPS\Content\_Controller->manage()
#3 /home/sharkopt/public_html/goancestry/forums/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\_topic->manage()
#4 /home/sharkopt/public_html/goancestry/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#5 /home/sharkopt/public_html/goancestry/forums/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#6 /home/sharkopt/public_html/goancestry/forums/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute()
#7 /home/sharkopt/public_html/goancestry/forums/index.php(13): IPS\_Dispatcher->run()
#8 {main}

Backtrace shows...

#0 /home/sharkopt/public_html/goancestry/forums/init.php(898): IPS\_Log::log('INSERT INTO `co...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception))
#2 {main}

The log entry was triggered by a guest

Guests
Just now

 

I would submit a ticket to IPS.

  • Author
8 minutes ago, GoAncestry said:

I have

 

  • Author

I logged into server and repaired the DB, nothing stood out, but it seems things are all working again.

Archived

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

Recently Browsing 0

  • No registered users viewing this page.