Home page node id problem and DocumentTypes not keeping propertys
Umbraco 4.0.3
i somehow deleted the home page doc type and now the node ID is different for the home page and will not show the new home page and i can not edit the tab propertys unless, i delete the content tab and then all propertys come in as generic propertys. This is also effecting the textpage aswell. i have put a lot of time in this and have tried a node trace and get no return. I do not want to recreate the site because this will take hours. the site is http://americanlegendmotocycles.com please help.
Did you delete the homepage document type in the Backend UI or within the database? I have seem something similar when a client of mine accidentally deleted a template row from the database.
If you didn't touch the database I wouldn't worry about the tables. Maybe explain a bit more the process that happened. Did you recreate the document type. If you delete the document type "home", it will remove all nodes of type "home". Therefore all child nodes should be deleted as well. If I recall it still leaves some data in the database.
Also check your data/umbraco.config. That is an xml representation of your site. As long as the cache has not been updated you might be able to recover. And as always....backup the database :).
Item has already been added. Key in dictionary: ''
Key being added: ''
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.ArgumentException: Item
has already been added. Key in dictionary: '' Key being added: ''
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
I got this error too. My situation was that I had a doctype wich had several childtypes. And one of the childtypes had a property that de roottype already had. So Umbraco doesnt add the property again but gives a error. Check your propertys and look for duplicates.
Home page node id problem and DocumentTypes not keeping propertys
Umbraco 4.0.3
i somehow deleted the home page doc type and now the node ID is different for the home page and will not show the new home page and i can not edit the tab propertys unless, i delete the content tab and then all propertys come in as generic propertys. This is also effecting the textpage aswell. i have put a lot of time in this and have tried a node trace and get no return. I do not want to recreate the site because this will take hours. the site is http://americanlegendmotocycles.com please help.
Did you delete the homepage document type in the Backend UI or within the database? I have seem something similar when a client of mine accidentally deleted a template row from the database.
-Chris
Where in the database is is located? in the Umbraco.node table or where?
Did not delete in database
wrong site like above http://americanlegendmotorcycles.com
If you didn't touch the database I wouldn't worry about the tables. Maybe explain a bit more the process that happened. Did you recreate the document type. If you delete the document type "home", it will remove all nodes of type "home". Therefore all child nodes should be deleted as well. If I recall it still leaves some data in the database.
Also check your data/umbraco.config. That is an xml representation of your site. As long as the cache has not been updated you might be able to recover. And as always....backup the database :).
-Chris
i performed a restore amd got most of it back but iit is doind crazy stuff with the Doc types
Server Error in '/' Application.
Item has already been added. Key in dictionary: '' Key being added: ''
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: '' Key being added: ''
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Ohhh you fokep up man..
I got this error too. My situation was that I had a doctype wich had several childtypes. And one of the childtypes had a property that de roottype already had. So Umbraco doesnt add the property again but gives a error. Check your propertys and look for duplicates.
is working on a reply...