Error Saving article - Invalid parent id.

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
ataylor23
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Tue Nov 02, 2010 5:14 pm

Error Saving article - Invalid parent id.

Post by ataylor23 » Tue Mar 29, 2011 6:42 pm

"Joomla Save failed with the following error: Invalid parent id."

:'( - I feel this might be a big error due to my database migration from 1.5.

Would love some help here.
-Drew

xantof
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Mar 02, 2009 8:52 am
Location: Toulouse, France
Contact:

Re: Error Saving article - Invalid parent id.

Post by xantof » Sun Apr 03, 2011 3:21 am

Hi,

I've got the same problem. But I did not migrate data.
Just trying to save a single newly created article which IS created with above message.

Trying to modify it produces the same results : modifications accepted but message appears.

???

Edit : Solved? I don't know what did it -- cleared the cache, logged out and back into admin
Just one of those things.

ataylor23
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Tue Nov 02, 2010 5:14 pm

Re: Error Saving article - Invalid parent id.

Post by ataylor23 » Sun Apr 03, 2011 4:34 pm

im still having the issue. Ive done the same :(

ataylor23
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Tue Nov 02, 2010 5:14 pm

Re: Error Saving article - Invalid parent id.

Post by ataylor23 » Thu Apr 07, 2011 9:19 pm

Still looking for some help here :(

Heres a screen shot of the error. It occurs after creating then saving any new articles. The articles appear to save fine even though but Im worried there will be issues down the road from this.

Image

- Drew :pop

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44019
Joined: Sat Apr 05, 2008 9:58 pm

Re: Error Saving article - Invalid parent id.

Post by Webdongle » Thu Apr 07, 2011 9:37 pm

In some of the development I was doing the other week I did notice an error
like this...it appeared to be due to an invalid asset_id value if I remember
correctly.
http://groups.google.com/group/joomla-d ... 31cb?fwc=1

There is a bug tracker for it but it has been closed http://joomlacode.org/gf/project/joomla ... m_id=20839
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

ataylor23
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Tue Nov 02, 2010 5:14 pm

Re: Error Saving article - Invalid parent id.

Post by ataylor23 » Thu Apr 07, 2011 10:47 pm

Webdongle wrote:
In some of the development I was doing the other week I did notice an error
like this...it appeared to be due to an invalid asset_id value if I remember
correctly.
http://groups.google.com/group/joomla-d ... 31cb?fwc=1

There is a bug tracker for it but it has been closed http://joomlacode.org/gf/project/joomla ... m_id=20839
Yea I did some Google searches and came up with both of those but neither seem to have a solid resolution. :(

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44019
Joined: Sat Apr 05, 2008 9:58 pm

Re: Error Saving article - Invalid parent id.

Post by Webdongle » Thu Apr 07, 2011 10:52 pm

ataylor20 wrote:...

Yea I did some Google searches and came up with both of those but neither seem to have a solid resolution. :(
But did you submit a report to the bug tracker ?

Also do you have nested categories and that is causing confusion in Joomla ?

Have you tried saving to different categories ?

Are you using a non standard Template as Default ? Sometime Template overrides cause problems
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

ataylor23
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Tue Nov 02, 2010 5:14 pm

Re: Error Saving article - Invalid parent id.

Post by ataylor23 » Thu Apr 07, 2011 11:36 pm

But did you submit a report to the bug tracker ?
- I have not considering this case was closed. I have always submitted inquires here in the past so I have not submitted anything on that page ever. Maybe that would be a good start?

Also do you have nested categories and that is causing confusion in Joomla ?
- I have now created some nested categories as I thought that was the point of the new system. I will un-nest a group and save an article, see what that does.

Have you tried saving to different categories ?
- I typically on use the categories that are nested so again I will test this. (Thanks)

Are you using a non standard Template as Default ? Sometime Template overrides cause problems
- Im using a artisteer template. Not sure if that is a "Non Standard Template"

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44019
Joined: Sat Apr 05, 2008 9:58 pm

Re: Error Saving article - Invalid parent id.

Post by Webdongle » Fri Apr 08, 2011 12:07 am

ataylor20 wrote:....
Are you using a non standard Template as Default ? Sometime Template overrides cause problems
- Im using a artisteer template. Not sure if that is a "Non Standard Template"
I would consider that a non standard Template in that:
It is not installed with Joomla
It is not written by someone who fully understands html/css/variables used in Joomla. No offence meant but IMHO people who knows what they are doing would not use artisteer. Try with the Templates that were installed with Joomla.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
RobB
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Wed Jan 04, 2006 1:39 pm
Location: Cape Town, South Africa
Contact:

Re: Error Saving article - Invalid parent id.

Post by RobB » Sun Apr 17, 2011 12:20 pm

This fixed it for me whilst having the following symptoms:

a) Error invalid parent ID in content articles when saving (articles saved, though)
b) Asset_id in content table is 0

Solution:

1. Click 'rebuild' in menu manager
2. Click 'rebuild' in categories
3. Open Categories (top categories first, then sub-categories) and save them

New articles save now correctly, old ones will get their asset_id when opening and saving again.

mucman
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Apr 13, 2011 11:12 am

Re: Error Saving article - Invalid parent id.

Post by mucman » Sun Apr 17, 2011 12:55 pm

Thanks. I try it and it worked :)

User avatar
systeman
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Sat Jun 10, 2006 7:15 am
Location: London
Contact:

Re: Error Saving article - Invalid parent id.

Post by systeman » Thu Aug 04, 2011 9:50 am

I also just came across this issue and applied the solution which did the trick.

diogowernik
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Feb 17, 2009 10:41 pm

Re: Error Saving article - Invalid parent id.

Post by diogowernik » Thu Aug 04, 2011 10:53 am

Great... i was with a diferent issue but that solved... thanks for the solution :)

obaviet
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Aug 04, 2008 4:32 am

Re: Error Saving article - Invalid parent id.

Post by obaviet » Sun Oct 02, 2011 7:12 am

error i do it but not work

obaviet
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Aug 04, 2008 4:32 am

Re: Error Saving article - Invalid parent id.

Post by obaviet » Sun Oct 02, 2011 7:13 am

RobB wrote:This fixed it for me whilst having the following symptoms:

a) Error invalid parent ID in content articles when saving (articles saved, though)
b) Asset_id in content table is 0

Solution:

1. Click 'rebuild' in menu manager
2. Click 'rebuild' in categories
3. Open Categories (top categories first, then sub-categories) and save them

New articles save now correctly, old ones will get their asset_id when opening and saving again.
it do not work

tech_kinote
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Oct 22, 2011 10:28 pm

Re: Error Saving article - Invalid parent id.

Post by tech_kinote » Tue Oct 25, 2011 2:37 am

@RobB that was a good one....it work man...thank you

FrischinBigD
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Aug 10, 2009 3:27 am

Re: Error Saving article - Invalid parent id.

Post by FrischinBigD » Thu Oct 27, 2011 7:42 am

Works for me! Big Help thanks. :laugh:

egdotcom
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Wed Feb 04, 2009 9:23 pm
Location: Bairnsdale, Vic, Australia

Re: Error Saving article - Invalid parent id.

Post by egdotcom » Mon Nov 28, 2011 12:23 pm

Worked for me also so many thanks.

BTW Mine was a brand new install on a brand new host account.
Joomla 1.7.3 with standard template, install with no content.
Gave error on first article created.

User avatar
jessihance
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 113
Joined: Fri Apr 23, 2010 5:55 pm
Location: Santa Cruz, California, USA

Re: Error Saving article - Invalid parent id.

Post by jessihance » Thu Feb 09, 2012 10:53 pm

Worked for me. You've saved my life. :D
Jessi Hance
Cruzio Internet

Andante1750
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Dec 30, 2009 8:06 am

Re: Error Saving article - Invalid parent id.

Post by Andante1750 » Sun Feb 19, 2012 2:52 pm

Worked for me also.

User avatar
LGLisle
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Thu May 12, 2011 9:58 pm
Location: W-S NC USA

Re: Error Saving article - Invalid parent id.

Post by LGLisle » Thu Feb 23, 2012 10:38 pm

Didn't work for me. I removed the parent on the category, rebuilt menus and categories, but still get error.
Currently trying out Joomla! 2.5 at BurkheadUMC.org

User avatar
majid-eb
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jun 22, 2011 8:57 am
Location: Netherlands
Contact:

Re: Error Saving article - Invalid parent id.

Post by majid-eb » Fri Apr 06, 2012 1:22 pm

Thanks, just exported DB and imported it in a new site, but got this error, and your solution helped.

User avatar
webgobe
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 139
Joined: Thu Aug 18, 2005 5:13 pm
Location: Transsylvania/Romania
Contact:

Re: Error Saving article - Invalid parent id.

Post by webgobe » Sat Jun 09, 2012 12:46 pm

Tips on Joomla - http://joomla-tips.org
My LinkedIn profile - http://ro.linkedin.com/in/webgobe
Like a fine wine - getting better over time!

oubernie
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue Nov 04, 2008 12:17 pm

Re: Error Saving article - Invalid parent id.

Post by oubernie » Sat Jun 23, 2012 6:57 am

Thanks a lot. This solution helped me solve my problem last night.

devananda
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Mon Apr 04, 2011 12:54 am
Location: S. Korea

6 years later and thanks robb

Post by devananda » Tue Oct 23, 2012 5:36 am

thanks robB for the solution.

Don't forget to go back to categories - top level ones first- and open each one and save and close again.

6 years later and this solution still works!

kibprimary
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Nov 08, 2012 9:18 am

Re: Error Saving article - Invalid parent id.

Post by kibprimary » Fri Nov 09, 2012 10:57 am

This worked a treat. Thanks guys!!

User avatar
pjdbck
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jul 31, 2007 7:47 pm

Re: Error Saving article - Invalid parent id.

Post by pjdbck » Tue Nov 20, 2012 6:24 am

NICE! RobB Thanks! A "Joomla! Apprentice" saves the day!

swiss_time
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Dec 26, 2012 7:08 am

Re: Error Saving article - Invalid parent id.

Post by swiss_time » Wed Dec 26, 2012 8:22 am

We also recently upgraded from 1.5 to 2.5

The given solution of opening and closing menu/category items actually does work, however on a large site with many menu items/categories this is physically impossible to do.

Any significant change in our configuration or CCK template (we are using the Form2Content component) results in the 'invalid ID' error coming up at refresh of our articles. With thousands of articles it becomes a really big issue.

If someone knows of a sustainable solution to this problem I would like to know.

xeont
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 205
Joined: Tue Sep 28, 2010 7:04 am
Location: Melbourne, Australia

Re: Error Saving article - Invalid parent id.

Post by xeont » Sat Feb 09, 2013 6:30 pm

Thank you RobB,

it worked.

Simple solution to a bigger problem.. without editing the database.. let joomla fix it ..
http://www.xeont.com.au - Computer Parts | Forum
http://www.chicshop.com.au - ChicShop

krishunt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 139
Joined: Wed Feb 08, 2012 8:37 pm

Re: Error Saving article - Invalid parent id.

Post by krishunt » Tue Mar 26, 2013 6:07 pm

Thanks Rob, it worked for me, too.


Locked

Return to “General Questions/New to Joomla! 2.5”