Joomla 1.6 – Duplicate Featured Articles Showing on Frontpage

by Elaine on March 10, 2011

My head was spinning after encountering this problem.   I was publishing multiple featured articles but for some reason they were duplicating on the frontpage.   The same article was showing up not only twice but articles tripled and was causing real problems on my Joomla 1.6 website.  I checked all the frontpage settings but nothing was out of the ordinary.  I don’t recall any Article or Featured article settings that would logically say ‘duplicate featured articles’.   So this was a real headache.  After many nights and much white hair I finally found the solution.  Again it was so simple!!  Here is how to fix the duplicate featured articles problem on the frontpage:

(I was also having difficulty finding deleted/trashed contacts, so I put some instructions at the bottom – step 8 – on how to find those as well)

1.  Log in to your Joomla 1.6 backend.

2.  Go to Components, Contacts, Contacts

3.  You will see a list of users registered on your site, look down the column that says ‘Linked User’.

4.  If any of your users are linked to the admin account, you must remove this link.

5.  Click on the user.

6.  In the field Linked user - click on the button ‘Select User’ and select ‘- No User -’.

7.  Oh also make sure you clear the ‘Trash’ contacts.  Even if you deleted a contact that is linked to the admin user and still exists in the ‘Trash’ it will still affect your website.

How to find Deleted / Trashed Contacts:

8.  Go to Components, Contacts, Contacts

9.  Click on the ‘Select State’ drop down filter, and change to ‘Trash’.

10.  Select the contacts in the ‘Trash’ that is linked to the Admin user and click on the button at the top ‘Empty Trash’.

Save your contacts and refresh your website.  All the duplicate or triplicate featured articles should be gone.

Hope that helps,
Elaine
Elaine@cmsmind.com

 Joomla 1.6   Duplicate Featured Articles Showing on Frontpage

Elaine

Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

{ 54 comments… read them below or add one }

Phil March 11, 2011 at 12:13 pm

Thanks, just converting the above site from iWeb to Joomla 1.6 This was driving me crazy, really caught me, as a 1.5 user thought I knew it all!!!

Big thanks
Phil

Reply

Enzolina March 11, 2011 at 1:21 pm

Hi Phil,

Yes!! They really changed things around in Joomla 1.6. The little things drove me nuts as well. Glad the post help you.

Thanks for your visit,
Elaine

Reply

Jeff March 15, 2011 at 5:20 pm

Wow! I was completely racking my brain. I thought I stepped into some sort of Joomla Twighlight zone. You have save me hours of cursing. :)

Reply

Ruud March 16, 2011 at 8:09 pm

This “glitch” actually had me pinned down for 2 weeks!
I was nearly considering moving back to Joomla 1.5 when I found this post.

Thanks a million!

/Ruud

Reply

Elaine March 16, 2011 at 8:15 pm

Hi Ruud,
No problem, I felt the same way until I found the fix. Glad it helped you.
Thanks for your visit,
Elaine

Reply

Petr March 19, 2011 at 10:59 pm

Your post helped me a lot. thanks.

Reply

Elaine March 19, 2011 at 11:26 pm

Hi Petr,
No Problem! Thanks for your visit.
elaine

Reply

Pedro Lima March 19, 2011 at 11:29 pm

Hi Jeff,

Thanks a lot for sharing this!

Fortunately, thanks to this great and simple article, you saved me a LOT of time!

I lost like only 15 minutes trying to solve the problem and then I just though “Well, let’s Google it…”.

Thank you very much. :)

Best regards,
Pedro Lima

Reply

sudhir March 22, 2011 at 5:14 am

Thanks a lot………

Reply

Elaine March 22, 2011 at 1:16 pm

Hi Sudhir,

no problem! thanks for your visit.

elaine

Reply

Mike Cravens May 13, 2011 at 10:32 am

This is occurring on Category Blogs for articles created by Super Admin, as well. oes anyone know if this has been reported as a bug?

Reply

Rob Johnstone May 14, 2011 at 8:09 am

Oh thank you so much for this solution.
You saved me from throwing my laptop out the window – this problem had been driving me insane!

THANK YOU!

Reply

Elaine May 14, 2011 at 10:43 am

Hi Rob,
No Problem, glad i could help!!
Thanks for your visit,
elaine

Reply

den May 21, 2011 at 1:57 pm

ha i did not get what i had changed in contacts that caused this or how it was even related but this solved the duplicate listings problem in the read more content module *just brilliant* thank you so much elaine! i looked all over the joomla forums too! thank you for going the extra mile to help others that were struggling – you are a joomla 1.6 master elaine!!!

Reply

Elaine May 21, 2011 at 2:19 pm

Hi Den,
No problem! glad my post can help…
thanks for your visit,
elaine

Reply

Mike iLL June 1, 2011 at 5:55 pm

Thanks for the fix. As of right now, the contact form stopped working when I unlinked the user, though.

Reply

Mike iLL June 1, 2011 at 6:17 pm

Found this fix:

[code] Fix for this is in SQL as mentioned earlier

file

components/com_content/models/articles.php

line 207 , is joining the item on user_id instead ID , if same user is selected for more than 1 contact the user_id will be same for both contacts

change

$query->join('LEFT','#__contact_details AS contact on contact.user_id = a.created_by');

to

$query->join('LEFT','#__contact_details AS contact on contact.id = a.created_by');
[/code]

which may be easier. only wish i had found it before i deleted user. now trying to get the Contact Form working again.

Reply

Elaine June 1, 2011 at 6:34 pm

Hi Mike,
I’m not too sure what the issue was. Did you delete all the users in your contact? The contact form has to link to a user in your contacts. Maybe you deleted your default contact? The fix for this issue was just to unlink the users.
Sorry for any confusion. Thanks for your code above.
elaine

Reply

enav June 9, 2011 at 11:54 pm

Thanks mate you save my hair to become white also

Reply

Elaine June 10, 2011 at 12:44 am

Hi Enav,
No Problem, glad the post helped you.
Thanks for your visit,
elaine

Reply

Ellen June 12, 2011 at 9:01 pm

Thank you!! This was driving me nuts! I’m so relieved to find the solution.

Reply

Elaine June 12, 2011 at 9:36 pm

Hi Ellen,
No problem!
Thanks for your visit,
Elaine

Reply

Vysakh June 24, 2011 at 5:58 pm

Thank you very much Really you are great !!!

Reply

Peter June 29, 2011 at 7:07 am

you made my day! Thanks, Elaine!

Reply

Elaine June 29, 2011 at 1:23 pm

hi Peter,
No problem.
Thanks for your visit,
elaine

Reply

Asami July 7, 2011 at 7:14 am

I was worried for a long time about this problem.
You saved me. Thanls a lot , Elaine!

Big thanks
Asami

Reply

hafi July 7, 2011 at 1:10 pm

thanks!!!
that was a huge rescue… thanks a lot!

Reply

Elaine July 7, 2011 at 1:30 pm

Hi Hafi,
no problem! thanks for your visit,
elaine

Reply

Sameer Jain July 19, 2011 at 6:44 pm

I am having the same issue and I do not have any contact in the contacts? I also tried the fixed mentioned by Mike iLL, didn’t work out. Am I doing something wrong? Is there have to be a contact?

Thanks

Reply

David July 25, 2011 at 2:32 pm

Thank you for your posting! I agree with your sentiment of the situation, “My head was spinning after encountering this problem.”

Thanks for your time to post this solution. I was rolling back to alternate versions of the site to determine where I went wrong. The site ‘helpdesk’ folks were not helpful.

All good thoughts and wishes to you!

– best regards,

David

Reply

Elaine July 25, 2011 at 2:35 pm

Hi David,
I was just about to send you an email. I’m not a professional writer, but I wish I was good enough to be one! :)
Thanks for your nice comments and for visiting my site,
elaine

Reply

Kip July 30, 2011 at 3:40 am

Oh how I wished for this to work for me too. But Alas… I am still where you were before you found this solution…
My predicament is that -
everything is working like a well oiled machine except when a visitor uploads an article from the front end.
It appears only once in the article manager at the back end as unpublished waiting for my approval.. but when I come to allow it to be published it duplicates 8 times on the front end only.
I thought you must have the answer because I have 8 contacts in the contacts contacts.
But Alas none of them are in the trash and none of them are linked to any other user.

I NEED my visitors to be able to submit articles without logging in.

When i submit an article from the back end everything is fine. When I submit an article from the front end using a backend user name it is ok sometimes. But is I submit and article with any other name or none at all it duplicates x 8 when published. Any category including uncategorized.

Any suggestions ?? I have 3 Q. up on joomla forum and no one has answered any.
I am stumped totally

Reply

Neejoh August 6, 2011 at 5:09 pm

Thank you so much Elaine, I can not believe you found this. I’ve been back tracing Joomla for hours now, and you fixed it for me within a minute. Close to amazing , I would’ve never found it otherwise!

Reply

Elaine August 6, 2011 at 5:36 pm

Hi Neejoh,
No problem. Glad I could help!
Thanks for your visit,
elaine

Reply

ol August 15, 2011 at 2:19 pm

thanks, you saved my life :)
Had the same in J1.7

Reply

Elaine August 15, 2011 at 8:51 pm

Hi Ol,
No problem! glad i could help.
thanks for your visit,
elaine

Reply

jock September 13, 2011 at 1:26 am

Thanks this fix has just stopped my new computer ending on the street, It has been driving me nuts for the last 2 hours.

Reply

Elaine September 13, 2011 at 11:21 am

Hi Jock,
No problem! I’m glad the post helped you.
Thanks for your visit,
elaine

Reply

Joell September 17, 2011 at 8:35 pm

Dang…. none of these fixes has worked for me with 1.7. I only had one contact… which was the admin…. and I unlinked it… but still duplicates. I had nothing in the trash contacts.

Here’s one page that’s doing it…

Changed the template… no joy.

Reply

Mike September 23, 2011 at 10:34 pm

Thank you! Thank you! Thank you!

It’s amazing that Joomla even has an option for linking a contact to a user if it screws up your site so badly.

Again, thank you!

Mike

Reply

Elaine September 23, 2011 at 10:42 pm

Hi Mike,
Yes! I hope they fix this in future Joomla releases! Glad it worked for you.
Thanks for your visit,
Elaine

Reply

herman October 5, 2011 at 11:48 pm

hey man thanx… very useful.. this saves me my mind

Reply

Elaine October 6, 2011 at 4:13 pm

Hi Herman,
No Problem.
Thanks for your visit,
elaine

Reply

tecnofilo October 10, 2011 at 12:18 am

Hi Elaine, thanks for this solutions.

With Joomla 1.7 still happens and with your steps i can resolve it.

Regards…

Reply

Elaine October 11, 2011 at 10:10 pm

Hi Tecnofilo,
No problem. Thanks for your visit,
elaine

Reply

Fazliddin December 10, 2011 at 4:49 pm

Very thanks to you, ELAINE.
I have been developing my Joomla Site for 5 months and I accidently encountered with problem. I was desperate and almost decided to develop my project agan. But your tutorial saved me from “heart insult”.

Reply

Elaine December 10, 2011 at 4:51 pm

Hi Fazliddin,
No Problem! I’m glad my tutorial helped you!
Thanks for your visit,
elaine

Reply

Rodik February 11, 2012 at 8:43 pm

Great article. I have almost the same problem on Joomla 1.5.25 but I do not have any user linked in my contacts. Frontpage articles appears twice on my site. Does somebody know what else could be the reason? Thanks in advance

Reply

Site Grátis May 30, 2012 at 4:59 pm

Thanks a lot, problem solved.

Reply

Elaine June 2, 2012 at 12:05 pm

Hi William,
No problem! Glad the problem is solved for you.
Thanks for your visit,
elaine

Reply

Anne August 28, 2012 at 4:29 pm

Phew! This solve my problem. Thanks a lotttttt

Reply

Kaminda Dimunge January 12, 2013 at 3:20 am

Hi Elaine,
This helped me a lot. Initially I thought this caused due to installing extensions and struggling to correct the problem for two weeks.
Thanks a lot.
Kaminda

Reply

Nerijus May 23, 2013 at 11:12 pm

Elaine!

Omg, i almost felt crying after this worked on joomla 3.1… so many nights spend in frustration and finally such idiot problem was solved.

Can´t thank you enouth….

Reply

Elaine March 15, 2011 at 8:58 pm

Hi Jeff,
No problem!! Thanks for your visit.
Elaine

Reply

Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: