All page structure moved to "trash" – please help!
I was trying to "delete forever" an old site from trash
and I ended up with the whole site structure being thrown into trash (along with the master HOME)!
I need to get it out of TRASH,
no idea how – normally I'd drag the pages back under HOME.
But since HOME is also in TRASH, it's a dead end.
The website still runs, but the problem completely messes up navigation.
I need to get the website back urgently. Please help me out!
The system threw up a message like "deleted pages go to trash with all their subpages. Are you sure you want to do this?"
Sure, said I – and now I'm fried :/
I'm experiencing similar problems! My site has to language versions (internationalization add-on), when i copied the document tree and deleted some pages, suddenly the whole Full sitemap was empty. The whole document tree is now in the Trash and i have no idea how it happened and what to do next? My site still works normally, but can't see anything in the Full sitemap. Anybody has idea what's going on?
I was deleting a normal page today, then I went to the sitemap, and the sitemap was empty. When I showed system pages, I found that my whole document tree was in the trash. It would let me drag the home page out of the trash either; every time I tried, the visually ques indicated that I was dragging the whole trash can.
I tried going directly to the database and changing the home page's parent to 0. That seemed to fix it, but I later went back to the sitemap, and the home page was in the trash again.
This is an urgent issue for me. I have a client waiting to be trained on this site, and I will need to show them the sitemap. I don't want them knowing that their entire site exists in a trash can.
jlivingston--I'm a newb and not familiar with how to access the C5 database or change these values. Can you provide more detailed instructions?
open up your database using the standard mysql facility
Find the "Pages" Table
Click Browse (top of the page)
select edit on page with cID 1
Make the changes
Click "Go" and your done
I have attached an example..
I reopened my site in C5, and the Home page and its subpages are indeed out of the trash. However, they can only be seen in "Show system pages" sitemap view and are still behaving as if they are in the trash; clicking on a page in this view brings up Preview and Delete Forever but no other choices. The pages also have not reappeared in my navigation (only Home shows up in the nav, same as before).
Any other ideas? Thanks so much for your help.
Ensure that the section cChildren number is equal to the number of sub pages that you have, including those that are excluded from the nav
Tried changing cChildren from 17 to 23 based on how many children I saw in the system sitemap. No effect. Then tried changing ctID to 23 (it had been 17 also, so I thought its value might need to match cChildren). No effect either.
Screen snaps of db values and sitemap attached.
I found that under the 'Pagepath' table in the database, removing the /!trash/ for each page in the sitemap according the the cID (I could find this through 'page search' on the dashboard, not thru sitemap).. AND also changing clsSystemPage in the table of 'Pages' in the DB to '0' for each page.. Brought all the sub-pages back onto the site map and viewable/editable.
I have other problems now, such as /home is showing on the URL and it conflicts with our domain mapping software.. Can't solve this, so might do a re-install next weekend if I can't find a solution :(
Really freaked out when it happened, all I did was empty the trash.. Could have lost £000's if I didn't get it working again and it took me a long time (20hrs+) to get it online again. I'm not a professional, so don't know anything complicated..