[solved, fix in next release] Cannot delete inactive pages
[solved, fix in next release] Cannot delete inactive pages
Good day.
It took me quite a while to find a simple CMS that I thought would suit my needs. Well ...
I downloaded & installed the current version of CMSMS (1.6.4 - Moindou) on a server with PHP Version 5.2.0-8+etch13 and MySQL Version 5.0.32. (The phpinfo page is here if you'd like to have a look.)
Then I went through all the pages that were installed with the setup, reading on how to use this CMS and so on, and then I wanted to delete them, making room for the stuff I actually want to put on the site.
Well, that worked for Chapter 2 (Content and so on), but when I try to delete the other pages, namely those about templates, I cannot delete them. I click the dustbin icon, the popup appears, I click yes, the row disappears, and a moment later that row re-appears! I deactivated these pages, tried to delete each of them manually, no dice. I tried bulk-deleting, I confirm that I really want to delete them, and all I get is the same old list, with a message "No bulk operation performed." and a checkmark next to it.
No, I cannot get safe_mode disabled. Will I ever be able to run a clean site or do I have to find another CMS?
Yes, I did do a couple of board searches, but none of the other threads seemed to address my problem (at less than 20% relevance I stopped).
Sad greetings
It took me quite a while to find a simple CMS that I thought would suit my needs. Well ...
I downloaded & installed the current version of CMSMS (1.6.4 - Moindou) on a server with PHP Version 5.2.0-8+etch13 and MySQL Version 5.0.32. (The phpinfo page is here if you'd like to have a look.)
Then I went through all the pages that were installed with the setup, reading on how to use this CMS and so on, and then I wanted to delete them, making room for the stuff I actually want to put on the site.
Well, that worked for Chapter 2 (Content and so on), but when I try to delete the other pages, namely those about templates, I cannot delete them. I click the dustbin icon, the popup appears, I click yes, the row disappears, and a moment later that row re-appears! I deactivated these pages, tried to delete each of them manually, no dice. I tried bulk-deleting, I confirm that I really want to delete them, and all I get is the same old list, with a message "No bulk operation performed." and a checkmark next to it.
No, I cannot get safe_mode disabled. Will I ever be able to run a clean site or do I have to find another CMS?
Yes, I did do a couple of board searches, but none of the other threads seemed to address my problem (at less than 20% relevance I stopped).
Sad greetings
Last edited by Kex on Fri Sep 04, 2009 4:11 pm, edited 1 time in total.
Re: Cannot delete installed pages
Kex,
you try deleting as an admin-user? Basically the only page that shouldnt be deletable should be the page that is set as the default-page... I will do some testing.
Ronny
you try deleting as an admin-user? Basically the only page that shouldnt be deletable should be the page that is set as the default-page... I will do some testing.
Ronny
Re: Cannot delete installed pages
My installation Admin is currently the only user on that site, so yes, I tried deleting while being the Admin. Default page is still "Home" which I did not try to delete.
Well, a test just revealed that this would have a different result anyway: a red message "You cannot delete the parent of the default page. (Troubleshooting)" with an exclamation mark in front of it.
Which is strange as "Home" is the default page itself and not a parent of any other page.
Well, a test just revealed that this would have a different result anyway: a red message "You cannot delete the parent of the default page. (Troubleshooting)" with an exclamation mark in front of it.
Which is strange as "Home" is the default page itself and not a parent of any other page.
Re: Cannot delete installed pages
Kex,
can you PM me some login information, so that I can check in the backend?
I checked on a clean install of 1.6.4 and had no issue with the deletion....
Ronny
can you PM me some login information, so that I can check in the backend?
I checked on a clean install of 1.6.4 and had no issue with the deletion....
Ronny
Re: Cannot delete installed pages
Hi RonnyK,
I've noticed similar behavior on one of my sites...
Delete a page, the page is removed from the pages list and the next moment is there again.
Rolf
I've noticed similar behavior on one of my sites...
Delete a page, the page is removed from the pages list and the next moment is there again.
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Cannot delete installed pages
@RonnyK: As soon as I find the PM button, sure.
Sent. At least I hope it did send it.
@Rolf: Yes, exactly that. Disappears - reappears.
That could mean I'm not too stupid to install a CMS!
Sent. At least I hope it did send it.
@Rolf: Yes, exactly that. Disappears - reappears.
That could mean I'm not too stupid to install a CMS!

Last edited by Kex on Mon Aug 24, 2009 12:22 pm, edited 1 time in total.
Re: Cannot delete installed pages
Hello,
Pierre M.
Can you monitor the SQL log while you operate ?Kex wrote: @Rolf: Yes, exactly that. Disappears - reappears.
Pierre M.
Re: Cannot delete installed pages
Hello Pierre M.,
I don't think I can. I just have a tiny bit of webspace, not a whole server of my own. Would a normal user even have permission to check it, provided that he's know where to look?
(If that thingy was running DB2 on z/OS and I'd be the installation admin, I'd even know where to look for that kind of data, but world isn't that easy ...)
I don't think I can. I just have a tiny bit of webspace, not a whole server of my own. Would a normal user even have permission to check it, provided that he's know where to look?
(If that thingy was running DB2 on z/OS and I'd be the installation admin, I'd even know where to look for that kind of data, but world isn't that easy ...)
Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
So,
RonnyK managed to delete the pages in question, but noticed some other strange behaviour (which I could reproduce afterwards). Deleting of a "parent" page resulted in only the "parent" page being deleted, letting the "children" becoming "orphans" that had to be deleted seperately afterwards. Expected behaviour is probably either deletion of the whole set of pages (parents and children) or just a message that you couldn't delete a parent ...
There is still no indicator to WHY all this happened like it did, so RonnyK is doing some further testing, he said.
If the undeletability was just a temporary server condition, the problem's source will probably remain hidden for a while ...
Thanks for your help!
Kex
RonnyK managed to delete the pages in question, but noticed some other strange behaviour (which I could reproduce afterwards). Deleting of a "parent" page resulted in only the "parent" page being deleted, letting the "children" becoming "orphans" that had to be deleted seperately afterwards. Expected behaviour is probably either deletion of the whole set of pages (parents and children) or just a message that you couldn't delete a parent ...
There is still no indicator to WHY all this happened like it did, so RonnyK is doing some further testing, he said.
If the undeletability was just a temporary server condition, the problem's source will probably remain hidden for a while ...
Thanks for your help!
Kex
Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
I contacted my webhost for a mysql log like PierreM suggested: Shared host, no option...If the undeletability was just a temporary server condition, the problem's source will probably remain hidden for a while ...

Placed a backup on my xampp localhost and I'm getting the same thing over here!
Trying to make an errorlog here now and...
®olf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
It only occurs when you try to delete a child page wich is inactive.
Switch the page to active and it will be deleted...
I can reproduce it also on another site...
®
Switch the page to active and it will be deleted...
I can reproduce it also on another site...
®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
Ouch. That sounds like not-intended behaviour.
Well, yes, that would explain it for me as well, I was turning pages inactive before trying to delete them, unlike the first chapter, from which I just deleted pages right after reading. Once I reached the last pages, I figured I wouldn't need to keep all of them as I could as well read on the demo board if needed.
Good work.
Well, yes, that would explain it for me as well, I was turning pages inactive before trying to delete them, unlike the first chapter, from which I just deleted pages right after reading. Once I reached the last pages, I figured I wouldn't need to keep all of them as I could as well read on the demo board if needed.
Good work.

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages
Rolf, Kex, thank you very much for the feedback, the tests and the bug report filed in the forge.
And for the workaround too, waiting for the fix.
Community rocks
Pierre M.
And for the workaround too, waiting for the fix.
Community rocks

Pierre M.
Re: [solved kinda, bugreport filed] Cannot delete installed pages
Hi Kex,
RonnyK fixed this issue in the SVN: http://dev.cmsmadesimple.org/bug/view/3952
Should be available in the next release.
Grtz. Rolf
RonnyK fixed this issue in the SVN: http://dev.cmsmadesimple.org/bug/view/3952
Should be available in the next release.
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -