logo

Member
Member
Offline Offline
Posts: 221
Error Message

When I was deleting one of my test posts, I got this message:

Quote:
The post was not deleted for some reason


And then the post was deleted and it worked fine again. But nice error message, lol.
Global Moderator
Global Moderator
Offline Offline
Posts: 122
Re: Error Message

LOL, indeed.  I found it funny.

Arwym's Domain  ||  SBM: A PHP Bookmarks Script (coming soon)
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

lol we're very professional here.

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Ok does it still do this now?

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 221
Re: Error Message

It still does it, but it completes the command anyway, so it's not a major problem.
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

It should only display this if the function does not return true. The only place it returns true is the actual query to delete the post :S

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 221
Re: Error Message

That's just what it did, I have no idea why. Tongue
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Can anyone confirm that it does this? As i do not get this message

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

Doesn't do it for me on here... let me try on ecms.110mb.com...

Seen a bug? Report it!
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

I think it might be to do with the first post in the thread. Not sure...

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Yea if it is the first post in a thread you should get the error message
Quote:
This post can not be deleted due to it being the first post of the topic

but they are talking about a different message which happens when the delete post query fails

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

No I get 'This post cannot be deleted for some reason'

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Is this when you delete a post of your own or someone elses? Is it when you delete the first post of a topic?

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

It was the first post of the topic and it was mine (I am the only member on ecms.110mb.com)

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 221
Re: Error Message

It happened to me when I deleted the first post of topic instead of deleting the whole thread. It was the only post in the thread, and it was my post.
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Yea it should not let you delete the first post in a topic

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

OK then this seems to be resolved in that case then? I will put something in the manual about being unable to delete the first post in a topic.

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

It might be the check for errors, let me take a look, leave it as it is for now, need to fix this bloody move topic function once and for all

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Error Message

Ok i think that the actual error it was meant to display was being overwrited by that silly error i added to test the code ages back. Can someone test it again on this site?

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Error Message

I've tested. It works.

[FIXED]

Seen a bug? Report it!

Jump to:


0.08 seconds Queries: 13