The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Error- please help
PostPosted: Sun Apr 01, 2012 1:18 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Wed Jan 04, 2012 5:51 am
Posts: 55
Location: India
JInstaller: :Install: Error SQL DB function failed with error number 1062
Duplicate entry '228-0' for key 'PRIMARY' SQL=INSERT INTO `j16_modules_menu` (`moduleid`, `menuid`) VALUES (LAST_INSERT_ID(), 0);
SQL =
INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES
(LAST_INSERT_ID(), 0);
Files Update: SQL error file DB function failed with error number 1062
Duplicate entry '228-0' for key 'PRIMARY' SQL=INSERT INTO `j16_modules_menu` (`moduleid`, `menuid`) VALUES (LAST_INSERT_ID(), 0);
SQL =
INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES
(LAST_INSERT_ID(), 0);


Top
 Profile  
 
 Post subject: Re: Error- please help
PostPosted: Sun Apr 01, 2012 4:09 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 11984
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
First one first: Simple question: Are you trying to install a module or Joomla?
Th message means that the module tabels are already in the database and that you have to delete these first from the table "menus" with phpmyadmin before trying to reinstall

Leo 8)

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
 Post subject: Re: Error- please help
PostPosted: Mon Apr 02, 2012 5:15 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Wed Jan 04, 2012 5:51 am
Posts: 55
Location: India
wht is to b done
I was trying to update to joomla 2.5


Top
 Profile  
 
 Post subject: Re: Error- please help
PostPosted: Thu Apr 05, 2012 4:24 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Wed Jan 04, 2012 5:51 am
Posts: 55
Location: India
JInstaller: :Install: Error SQL DB function failed with error number 1062
Duplicate entry '228-0' for key 'PRIMARY' SQL=INSERT INTO `j16_modules_menu` (`moduleid`, `menuid`) VALUES (LAST_INSERT_ID(), 0);
SQL =
INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES
(LAST_INSERT_ID(), 0);
Files Update: SQL error file DB function failed with error number 1062
Duplicate entry '228-0' for key 'PRIMARY' SQL=INSERT INTO `j16_modules_menu` (`moduleid`, `menuid`) VALUES (LAST_INSERT_ID(), 0);
SQL =
INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES
(LAST_INSERT_ID(), 0);


Top
 Profile  
 
 Post subject: Re: Error- please help
PostPosted: Thu Apr 25, 2013 12:39 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sat Dec 08, 2007 8:23 pm
Posts: 84
I had a similar error with the 'extensions' table so I simply checked the record in the SQL table and the only change I had to make was changing the last copyright year form '2012' to '2013'. You could do the same thing with the 'j16_modules_menu' table by just manually checking the values to ensure they match with the ones in the error message.


Top
 Profile  
 
 Post subject: Re: Error- please help
PostPosted: Thu Apr 25, 2013 3:22 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sat Dec 08, 2007 8:23 pm
Posts: 84
magesolution wrote:
I believe you are using the wrong upgrade version package. You upgrade from which version to which version?


In my case it was from '2.5.9' to '2.5.10'.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 



Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group