News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Categories not displaying in the proper order

Started by PiGuy, September 06, 2013, 08:17:44 PM

Previous topic - Next topic

PiGuy

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.




mashby

Hmm...mind providing a link to where the screen shots came from?
Always be a little kinder than necessary.
- James M. Barrie

Illori

can you check if your yourprefixhere_boards and yourprefixhere_categories tables are innoDB or MyISAM ?

PiGuy

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.

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.

Illori

have you tried moving a board up and down in the admin panel and see if that helps?

PiGuy

#5
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:

and the admin panel:


Illori

then double check that the tables are not INNODB

PiGuy

#7
Quote from: Illori on September 07, 2013, 04:03:05 PM
then double check that the tables are not INNODB


Nada.




Arantor

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)
Holder of controversial views, all of which my own.


PiGuy

#9
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


Arantor

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.
Holder of controversial views, all of which my own.


PiGuy

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.

Arantor

Oh, it completely needs to be answered because you gave me the table CONTENT. Not the indexes.
Holder of controversial views, all of which my own.


PiGuy

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.  :-[





Arantor

OK, so do you have any modifications that touch the board index?
Holder of controversial views, all of which my own.


PiGuy

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, 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.

Arantor

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?
Holder of controversial views, all of which my own.


PiGuy

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.

johndays

I have the same problem since my SP updated MySQL

Kindred

do not post questions in old threads... especially ones which have already been marked as solved.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: