Advertisement:

Author Topic: Board ordering broken after 1.1.16->1.1.17 upgrade  (Read 1730 times)

Offline cmb

  • Newbie
  • *
  • Posts: 9
Board ordering broken after 1.1.16->1.1.17 upgrade
« 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

Offline mashby

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,394
  • Gender: Male
  • badass beer hound
    • Choppix
Re: Board ordering broken after 1.1.16->1.1.17 upgrade
« Reply #1 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?
Always be a little kinder than necessary.
- James M. Barrie

Offline cmb

  • Newbie
  • *
  • Posts: 9
Re: Board ordering broken after 1.1.16->1.1.17 upgrade
« Reply #2 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.

Offline cmb

  • Newbie
  • *
  • Posts: 9
Re: Board ordering broken after 1.1.16->1.1.17 upgrade
« Reply #3 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.

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,874
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Board ordering broken after 1.1.16->1.1.17 upgrade
« Reply #4 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?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline cmb

  • Newbie
  • *
  • Posts: 9
Re: Board ordering broken after 1.1.16->1.1.17 upgrade
« Reply #5 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.