Hi, I'm having an issue in the latest release of SMF where my categories aren't displaying in the correct order.
It seems that no matter how I configure the boards/categories, they don't display in the correct order.
(http://puu.sh/4kRaC.png)
(http://puu.sh/4kRbS.png)
Hmm...mind providing a link to where the screen shots came from?
can you check if your yourprefixhere_boards and yourprefixhere_categories tables are innoDB or MyISAM ?
Quote from: mashby on September 06, 2013, 11:11:54 PM
Hmm...mind providing a link to where the screen shots came from?
Here's the website. (http://greatlakesservers.com/smf/index.php)
Quote from: Illori on September 07, 2013, 05:42:20 AM
can you check if your yourprefixhere_boards and yourprefixhere_categories tables are innoDB or MyISAM ?
They're MyISAM.
have you tried moving a board up and down in the admin panel and see if that helps?
Quote from: Illori on September 07, 2013, 03:56:03 PM
have you tried moving a board up and down in the admin panel and see if that helps?
I've re-arranged them via the admin panel, and even manually changed their order through the db. They don't seem to move.
DB values: (http://puu.sh/4lvOv.png)
and the admin panel: (http://puu.sh/4lvMt.png)
then double check that the tables are not INNODB
Quote from: Illori on September 07, 2013, 04:03:05 PM
then double check that the tables are not INNODB
Nada.
(http://puu.sh/4lvRI.png)
(http://puu.sh/4lvT9.png)
So, the admin panel has them correct and it's just the board listing that's wrong?
What, exactly, are the indexes on smf_boards? (smf_categories is irrelevant in this situation)
Quote from: Arantor on September 07, 2013, 04:16:12 PM
So, the admin panel has them correct and it's just the board listing that's wrong?
What, exactly, are the indexes on smf_boards? (smf_categories is irrelevant in this situation)
Here
(http://puu.sh/4lx1B.png)
Firstly you could have just answered my first question without having to make me look at two screenshots and compare them.
Secondly, please answer ALL the questions I ask.
Quote from: Arantor on September 07, 2013, 04:30:49 PM
Firstly you could have just answered my first question without having to make me look at two screenshots and compare them.
Secondly, please answer ALL the questions I ask.
I'm sorry.
Quote from: Arantor on September 07, 2013, 04:16:12 PM
So, the admin panel has them correct and it's just the board listing that's wrong?
That's correct.
Quote from: Arantor on September 07, 2013, 04:16:12 PM
What, exactly, are the indexes on smf_boards? (smf_categories is irrelevant in this situation)
I'm not sure if this still needs to be answered, or if the screenshot was sufficient.
Oh, it completely needs to be answered because you gave me the table CONTENT. Not the indexes.
Quote from: Arantor on September 07, 2013, 08:38:44 PM
Oh, it completely needs to be answered because you gave me the table CONTENT. Not the indexes.
Oh. I'm an idiot. :-[
(http://puu.sh/4lJRQ.png)
OK, so do you have any modifications that touch the board index?
Quote from: Arantor on September 07, 2013, 08:55:30 PM
OK, so do you have any modifications that touch the board index?
I'm assuming you mean the BoardIndex.template.php...
I downloaded the Ad Management Mod (http://custom.simplemachines.org/mods/index.php?mod=255), though that installed/uninstalled without incident.
Other than that, I haven't installed any other packages, because I noticed this issue once I started adding boards.
No, I'm not talking about BoardIndex.template.php as it happens, I'm talking about any file that could have modified Subs-BoardIndex.php instead.
See, what you're describing should only occur in one of two circumstances: using InnoDB or it's temporarily misadjusted (and moving a board and moving it back should force a reset anyway) but neither is the case here. So I assumed that you had a mod that changed the way it was ordering.
The really weird thing is that the behaviour it has is actually different to either of those two situations. There is no reason for it to be in the order it is... hmm.
You seem very adept with database tools. What privileges did you give the database user exactly? Does the user who is running SMF stuff have ALTER TABLE privileges?
Quote from: Arantor on September 07, 2013, 09:21:00 PM
No, I'm not talking about BoardIndex.template.php as it happens, I'm talking about any file that could have modified Subs-BoardIndex.php instead.
See, what you're describing should only occur in one of two circumstances: using InnoDB or it's temporarily misadjusted (and moving a board and moving it back should force a reset anyway) but neither is the case here. So I assumed that you had a mod that changed the way it was ordering.
The really weird thing is that the behaviour it has is actually different to either of those two situations. There is no reason for it to be in the order it is... hmm.
You seem very adept with database tools. What privileges did you give the database user exactly? Does the user who is running SMF stuff have ALTER TABLE privileges?
Sorry for the delay, I was out of the house for a few days.
I ended up just doing a fresh install and copying over the members/boards/categories tables to the new db.
Still no idea what went wrong, but everything seems to be in order now.
Thank you for your help.
I have the same problem since my SP updated MySQL
do not post questions in old threads... especially ones which have already been marked as solved.
So should I create a new one?
Thanks
yes
Thank you ;)