Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: cmb on December 17, 2012, 09:58:11 PM

Title: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: cmb on December 17, 2012, 09:58:11 PM
Hello,

Our forum (can't post a link but it's forum dot pfsense dot org) lost its proper ordering of the boards after upgrading from 1.1.16 to 1.1.17. It still shows correctly under Forum>Boards in admin (page index.php?action=manageboards), but the site no longer displays them in the order they're shown there. I can't make sense of what order it's using now to display the boards. It's not the order it's been showing for the last 7+ years we've had the site (eg the configured order in Forum>Boards), it's not chronological order, it's not alphabetical order. I'm at a loss, suggestions much appreciated.

Thanks
Title: Re: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: mashby on December 17, 2012, 10:03:47 PM
The upgrade only touched 3 files and it shouldn't have messed with board order. Any mods installed? What order should your boards be in?
Title: Re: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: cmb on December 18, 2012, 12:49:39 AM
Thanks for the response. I did have 4 mods installed.
1.   Prevent Adding Signature Images And Links   1.3   
2.   Stop Forum Spam   1.0   
3.   Stop Spammer   2.3.9   
4.   Anti-Spam Verification Questions   1.02

I uninstalled all those, and reapplied the 1.1.17 upgrade (smf_1-1-17_update.tar.gz). Still the same.

I do get warnings when running upgrade.php. I did during the initial run, and the same again when I just ran it again.

Warning: file(/usr/local/www/forum/smforum/upgrade_1-1.sql): failed to open stream: No such file or directory in /usr/local/www/forum/smforum/upgrade.php on line 1127

Warning: implode(): Invalid arguments passed in /usr/local/www/forum/smforum/upgrade.php on line 1144

Warning: Invalid argument supplied for foreach() in /usr/local/www/forum/smforum/upgrade.php on line 1146


Though those appear to be harmless.
Title: Re: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: cmb on December 18, 2012, 12:55:12 AM
Hm, looks like I fixed it. I just modified the setting on the first board, saved what it was already configured as (first), and then they all fell back into their correct order. Weird. Glad that's fixed though.

Thanks for the help. And a big thanks in general to all the SMF developers and other contributors.
Title: Re: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: Colin on December 18, 2012, 01:12:59 AM
I will go ahead and mark this as solved, but to further clarify:


When did you see those error messages during the install?
Title: Re: Board ordering broken after 1.1.16->1.1.17 upgrade
Post by: cmb on December 18, 2012, 02:09:39 AM
Yes this can be marked as resolved (didn't notice a way to do that myself, thanks).

That's what shows up on upgrade.php after telling it to upgrade. On the screen where it otherwise says it was successful, the final thing it shows on upgrade.php after it's completed the upgrade.