[solved, fix in next release] Cannot delete inactive pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

[solved, fix in next release] Cannot delete inactive pages

Post by Kex »

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
Last edited by Kex on Fri Sep 04, 2009 4:11 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Cannot delete installed pages

Post by RonnyK »

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
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

Re: Cannot delete installed pages

Post by Kex »

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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Cannot delete installed pages

Post by RonnyK »

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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Cannot delete installed pages

Post by Rolf »

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

Re: Cannot delete installed pages

Post by Kex »

@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! :D
Last edited by Kex on Mon Aug 24, 2009 12:22 pm, edited 1 time in total.
Pierre M.

Re: Cannot delete installed pages

Post by Pierre M. »

Hello,
Kex wrote: @Rolf: Yes, exactly that. Disappears - reappears.
Can you monitor the SQL log while you operate ?

Pierre M.
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

Re: Cannot delete installed pages

Post by Kex »

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 ...)
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Kex »

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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Rolf »

If the undeletability was just a temporary server condition, the problem's source will probably remain hidden for a while ...
I contacted my webhost for a mysql log like PierreM suggested: Shared host, no option...  :(

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
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Rolf »

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...

®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Kex
New Member
New Member
Posts: 7
Joined: Sun Aug 23, 2009 6:10 pm

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Kex »

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. :)
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Pierre M.

Re: [solved kinda, pages deleted, still needs testing] Cannot delete installed pages

Post by Pierre M. »

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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [solved kinda, bugreport filed] Cannot delete installed pages

Post by Rolf »

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”