Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: quique - joulukuu 29, 2005, 07:11:22 AP

Otsikko: [bug] SMF 1.1rc1 - I can't delete an empty category
Kirjoitti: quique - joulukuu 29, 2005, 07:11:22 AP

I had a category with one forum.

I moved all the posts from this forum to other forums.
Then, I deleted the forum, without any problem.
But when trying to delete the (now empty) category, I got this error:

LainaaYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
Archivo: /usr/local/www/servers/machine.domain.net/public_html/Sources/Subs-Boards.php
Línea: 1190

I'm using MySQL 4.1.
Otsikko: Re: [bug] SMF 1.1rc1 - I can't delete an empty category
Kirjoitti: clearly - joulukuu 29, 2005, 08:14:24 AP
Create a new forum in the category and then you can delete the whole category. It's a little bug...
Otsikko: Re: [bug] SMF 1.1rc1 - I can't delete an empty category
Kirjoitti: quique - joulukuu 30, 2005, 08:42:15 AP
Lainaus käyttäjältä: clearly - joulukuu 29, 2005, 08:14:24 AP
Create a new forum in the category and then you can delete the whole category. It's a little bug...
Thanks, it worked.
Hopefully it will be fixed on the 1.1 final version.