Hey everyone, having an issue collapsing or minimizing new categories created. All old categories collapse just fine, no issues. I believe it might be due to the fact that I have over 250 categories on the forum. I read an older post that claimed there was a 250 limit to the number of categories. I don't know if this has anything to do with it or not, since I can still add the categories and new boards underneath them, just can not collapse them. I get the following error:
Duplicate entry '255-2' for key 'PRIMARY'
File: /home/(account-directoy)/public_html/Sources/Subs-Categories.php
Line: 276
The line that it refers to in the php file is:
'is_collapsible' => 1,
I have the option checked to allow it to be collapsible and you can click on the minus symbol, but you always get that error.
I've copied the files and database to a new server to do testing and I've deleted 50+ old categories as well as some of the new ones too. But as soon as you create a new one, it auto-numbers it in the database as 266, 267, 268... and it will not collapse. Again, everything is working fine with it, just that one feature.
I'm on version SMF 2.0.15, no mods install. Brand new clean install, with import of database through phpmyadmin. I've run all of the maintenance tools through the forum to clean things up, and check for errors. Nothing seems to help. Do you think it's because of the 250 limit, or has this gone away in newer versions. If this is the case, can I manually increase it somehow. Or how do I renumber or fix it? Any ideas much appreciated. I can't give a link to the forum as all of it requires a login to view. Thanks again for any ideas.