ChristophS wrote:Hi,
I have this weird but serious problem in Umbraco. I had this working and running testsite. After a lot of experimenting I decided to delete this site and to start a new one. Unfortunately, this isn't working out so well. I made a new content item based on 'Home page' document type and template. But when I'm trying to publish, I'm getting the error as you can see in the topic title.
I've found almost nothing on the internet concerning this error, so I was hoping anyone on this forum could help me out with this one.
Greets.
I see there is not solution to this one yet. I have exactly the some problem.
Mine started like this..
I had this site structure (doc types shown in ())
Code:
Content
Home (Home)
Some Page (Page Doc Type)
Next Page (Page Doc type)
Another Page (Page Doc Type)
Now, all was good, until I worked out that 'Another Page' needed to have a child page, where the other content items at that level did not.
So, I created a new document type called 'Another Doc Type', deleted the existing 'Another Page' and recreated it with the new Doc Type.
Now, my Content tree looked exactly the same as above. However when I ran my site, 'Another Page was listed in the navigation twice!!
As a test I deleted the new 'Another Page'. This time when I ran the site the Another Site nav item was still there.
Nothing I could do would make it disappear.
So I deleted every content item from the tree with the hope of starting again. This is where the fun started..
With NO items in the umbraco content tree, when I ran the site, it STILL had a nav item there for 'Another Page'. I deleted the XML from the Umbraco.config file and it got recreated with the 'Another Page' item in it.
I restared IIS, Rebooted my machine, Refreshed and refresh and every thing I could, yet that long ago deleted content item remained.
Finally, I attempted to recreate the site, I created the Home page again and tried to publish it.
My content tree now looks like this.
I got the same error as the other guys here.. Publising failed because the parent page isn't published
Can the top level Content item be pubished? Can it be deleted? Where is in the database tables? Can't I just set it to published in the database?