Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Neco96 on October 17, 2013, 04:03:51 PM

Title: Categories going up
Post by: Neco96 on October 17, 2013, 04:03:51 PM
Hello everyone,

I noticed I've a little problem and i dont know how to fix it.

Imagine I have 2 categories on my forum: category 1 and category 2
Now imagine I have a board named "Hello" in categorry 1 and a another board named "Bye" in category 2.


The category orders is like:


CATEGORY1
Hello

CATEGORY2
Bye



My problem is: If I make post something in "Bye" board, the Forum categories order will be:


CATEGORY2
Bye

CATEGORY1
Hello


How can I fix it?
Title: Re: Categories going up
Post by: Arantor on October 17, 2013, 04:05:32 PM
What MySQL version are you using?
Title: Re: Categories going up
Post by: Neco96 on October 17, 2013, 04:45:23 PM
Quote from: Arantor on October 17, 2013, 04:05:32 PM
What MySQL version are you using?
How can I see it?
Title: Re: Categories going up
Post by: Arantor on October 17, 2013, 04:50:20 PM
The admin panel has a 'support information' block on the first page, under that it has a 'more detailed' entry. It will be in there.
Title: Re: Categories going up
Post by: Neco96 on October 17, 2013, 04:59:44 PM
Quote from: Arantor on October 17, 2013, 04:50:20 PM
The admin panel has a 'support information' block on the first page, under that it has a 'more detailed' entry. It will be in there.
QuoteMySQL version: 5.6.12-log
Title: Re: Categories going up
Post by: Arantor on October 17, 2013, 05:06:12 PM
There are some issues we've had reported where MySQL 5.6 misbehaves with the code in the board index.

We don't have a fix at this time, short of totally rewriting the board index code :(

The only maybe-working fix is to make changes directly to the tables themselves by moving them to InnoDB rather than MyISAM and then altering the way the key structure is set up, which is not for the faint of heart - and because of the changes in MySQL 5.6 even that might not work :(
Title: Re: Categories going up
Post by: Neco96 on October 17, 2013, 05:21:48 PM
If I would have understood something.....

I just understood this:
Quote from: Arantor on October 17, 2013, 05:06:12 PM
We don't have a fix at this time

and

Quote from: Arantor on October 17, 2013, 05:06:12 PM
even that might not work :(

So... I can't change that MySQL or so?
Title: Re: Categories going up
Post by: Arantor on October 17, 2013, 05:22:25 PM
You could go back to MySQL 5.1 where it is known to work; even MySQL 5.5 is a bit unreliable with it.
Title: Re: Categories going up
Post by: Neco96 on October 17, 2013, 05:33:40 PM
Quote from: Arantor on October 17, 2013, 05:22:25 PM
You could go back to MySQL 5.1 where it is known to work; even MySQL 5.5 is a bit unreliable with it.
How can I do that?
Title: Re: Categories going up
Post by: Arantor on October 17, 2013, 05:41:57 PM
Ask your host *extremely* nicely. What it really needs is us to rewrite major chunks of SMF that haven't been touched in years that relied on behaviour in older versions of MySQL.

Honestly I don't think you're going to get a good answer here :(
Title: Re: Categories going up
Post by: Neco96 on October 18, 2013, 07:42:33 PM
It is solved! Changed MySQL to 5.6.12-log
Title: Re: Categories going up
Post by: Arantor on October 18, 2013, 08:21:26 PM
But that's what you were on before...