Pages and page types will not delete
Permalink
Hello forum, hope someone might have some ideas about this...
I've got a (so far smooth-running) site where we made numerous temporary pages and page types to experiment with. We've decided on the layouts, and now I'm trying to delete all the temporary pages and types we don't plan to use, and running into all kinds of problems.
The pages that did delete took FOREVER (30-40 seconds each). The site hung when I tried to empty the trash. Then, when I tried deleting one page at a time from the trash, most of them gave me the option to "delete forever", while others display a menu of choices identical to pages that are not in the trash. When I click to delete them, they disappear quickly, but then when I re-load the site map, they're back again.
I've been just going into the database and deleting them manually, which does the trick, but I'm concerned about what I might be leaving behind that could cause me some trouble later on.
Any ideas what causes this and how to fix it?
Thanky!
I've got a (so far smooth-running) site where we made numerous temporary pages and page types to experiment with. We've decided on the layouts, and now I'm trying to delete all the temporary pages and types we don't plan to use, and running into all kinds of problems.
The pages that did delete took FOREVER (30-40 seconds each). The site hung when I tried to empty the trash. Then, when I tried deleting one page at a time from the trash, most of them gave me the option to "delete forever", while others display a menu of choices identical to pages that are not in the trash. When I click to delete them, they disappear quickly, but then when I re-load the site map, they're back again.
I've been just going into the database and deleting them manually, which does the trick, but I'm concerned about what I might be leaving behind that could cause me some trouble later on.
Any ideas what causes this and how to fix it?
Thanky!
Hi Kate,
Which version of C5 are you using? I've had similar problems with a C5521 site. I decided to make a backup and do an upgrade to C5602. After upgrading, pages were deleted much faster.
I did some checking and saw that the queries take a lot of time and >100% CPU usage. Probably OK for one page, but indeed, you get problems if you've many pages or many collection versions.
I'd advise upgrading and increase max_execution_time for a while.
Which version of C5 are you using? I've had similar problems with a C5521 site. I decided to make a backup and do an upgrade to C5602. After upgrading, pages were deleted much faster.
I did some checking and saw that the queries take a lot of time and >100% CPU usage. Probably OK for one page, but indeed, you get problems if you've many pages or many collection versions.
I'd advise upgrading and increase max_execution_time for a while.
Hi Kate,
I've just had a similar issue with deleting pages so if you're still having problems this is what I found out which may help you too:
1. You can't delete a page if an existing page is using that page type - even if that page is in the trash.
2. If a page is in the trash and hasn't been approved - ie you made it to test something and then forgot all about it, then you won't be able to delete it until you approve it first. It will just keep popping back up wanting approval first!!
Hope this helps
Kind regards
Bek
I've just had a similar issue with deleting pages so if you're still having problems this is what I found out which may help you too:
1. You can't delete a page if an existing page is using that page type - even if that page is in the trash.
2. If a page is in the trash and hasn't been approved - ie you made it to test something and then forgot all about it, then you won't be able to delete it until you approve it first. It will just keep popping back up wanting approval first!!
Hope this helps
Kind regards
Bek
I am dealing with some issues that are similar right now and have found (after reading a few posts) that caching can cause you all sorts of weirdness.
Try clearing the cache (System & Settings | Clear Cache).
I had to do this after adding a new page type in order for the system to display the page type blocks for setting defaults.
Have carried out this process 3 - 4 times in the last hour to get things working.