Jump to content

db rows not deleted when deleting parent download category


leemason

Recommended Posts

just been cleaning up my whmcs install and found that when you delete a category which includes sub cats and sub downloads it wont remove these from the db.

 

not really sure if this task is left till the cron job or what but im having to manually go in and remove the details.

Link to comment
Share on other sites

i have just figured out whats happening.

 

when you delete a parent category, it doesnt delete all inner article or categories.

 

but it also doesnt update the "parentid" in the db rows.

 

so it "looks" like it all been deleted, because it no longer shows in you admin panel, but it is there in the db.

 

my advice is to delete items one at a time, its much easier than sifting through the db like i have tonight.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated