Please or Register to create posts and topics.

Delete Category function not working

Page 1 of 2Next

I accidentally created a category on my forum when I intended to add a forum to a category, and the “Delete Category” link doesn’t function. It’s doing something because it causes the page to scroll to the top, but nothing I do causes the category to be removed.

How do I fix this?

Hi FaerieGodfather.

Maybe this?

 

Hello FaerieGodfather,

  • Which browser are you using?
  • Do you have JavaScript enabled in your browser?
  • Are you using the latest version of the plugin?
  • Have you tried to refresh the page with CTRL + F5 and try it again?

If the answer to the last three answers is “yes”, I assume it could be a JavaScript error/problem. In case you are using Google Chrome, you could open the developer console with CTRL + SHIFT + J. In the console-tab there should appear some errors, e.g. when you try to click the “Delete Category”. If so, can you send me them?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I am using Firefox 55.0.3 (32-bit) and my config screen says Java is enabled.

I am using version 1.5.9 of the forum plugin.

Control + F5 does not resolve the issue.

Object { specialPage: false, hasHTTPS: false, inMajorTrackingNetwork: false, totalBlocked: 0, hasObscureTracker: false, domain: “faeriegodfather.us”, isaMajorTrackingNetwork: 0 } tabManager.js:107:17
Object { specialPage: false, hasHTTPS: false, inMajorTrackingNetwork: false, totalBlocked: 0, hasObscureTracker: false, domain: “faeriegodfather.us”, isaMajorTrackingNetwork: 0 } tabManager.js:107:17
Object { specialPage: false, hasHTTPS: false, inMajorTrackingNetwork: false, totalBlocked: 0, hasObscureTracker: false, domain: “faeriegodfather.us”, isaMajorTrackingNetwork: 0 } tabManager.js:107:17
Object { specialPage: false, hasHTTPS: false, inMajorTrackingNetwork: false, totalBlocked: 0, hasObscureTracker: false, domain: “faeriegodfather.us”, isaMajorTrackingNetwork: 0 } tabManager.js:107:17
Object { specialPage: false, hasHTTPS: false, inMajorTrackingNetwork: false, totalBlocked: 0, hasObscureTracker: false, domain: “faeriegodfather.us”, isaMajorTrackingNetwork: 0 } tabManager.js:107:17

Can you try to figure out from which extension this errors are coming so you can check if disabling it will resolve the issue?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from Asgaros on September 8, 2017, 1:39 pm

Can you try to figure out from which extension this errors are coming so you can check if disabling it will resolve the issue?

No, I really can’t. That’s far beyond my technical abilities.

To revive this old topic… I ran into the same problem. Started out by creating a sub-forum that had the same name as a previous sub-forum but under a different category. Accidentally moved the new sub-forum into the same category as the old sub-forum, and the result was the entire forum was subbed under the new sub-forum.

After sorting out the forum structure to the original version I wasn’t able to delete or edit the duplicate sub-forums. Created a new Category to test and was also unable to delete or edit that.

Both of the sub-categories and the category had an ID:0. Found they all had a term_id: 0, and was able to delete them manually from phpmyadmin after finding them.

No problems now they are cleared out.

Hello @gus

Thank you for your possible bug-report. Can you give again some step-by-step instructions on how to reproduce it? I just tried to do it with your description but I didnt run into any problem. If this is really a bug which can get reproduced we can try to find a quick fix for it.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Will try, also on a side note I did not receive any JavaScript errors on the console-tab when looking into this earlier. I haven’t been able to reproduce it myself,  and sorry if the before steps are a bit confusing I may have error on some of the terms now that I re-read it.

I had two different forums under one category. The first forum had one sub-forum. The second forum I added the same named sub-forum.

  • Category 1
    • Forum 1
      • Sub-Forum A
    • Forum 2
      • Sub-Forum A
    • Forum 3

Adjusting the structure I edited the sub-forum parent for the second sub-forum A, and accidentally moved it into Forum 1.  So the action I was taking would have saved as:

  • Category 1
    • Forum 1
      • Sub-Forum A
      • Sub-Forum A
    • Forum 2
    • Forum 3

(I had intended to move it into forum 3)

But after saving, structure updated and forum resorted itself under Sub-Forum A, looking something similar to this:

  • Category 1
    • Sub-Forum A
      • Forum 1
        • Sub-forum A
      • Forum 2
      • Forum 3

This is when I noticed the ID:0 on the both Sub-forums A’s, and made me think perhaps something was wrong with having the same name sub-forums parented together.

While trying to separate the duplicate sub-forums, after editing the parents again and saving, the structure would say updated, but they were not moved. (Found I also could not delete them)

Then while trying to troubleshoot I created a new Category to see if I could move the duplicates out of the Forum 1 and separate them. The new category took on ID: 0 as well and moved to the top of the structure and was not able to edit/delete.

Hope this helps!

Thanks again for the steps @gus

Very strange. I tested it with your instructions as well with others and I still could not reproduce it. So I guess its just one of those weird random errors which sometimes appear out of nowhere – maybe because of some error during saving the changes, some wrong caching-state, etc. Have you used any special-characters inside your forum names or descriptions which may have caused some error?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Page 1 of 2Next