Jump to content

Weird sort issues after deployment Windows -> CentOS

Recommended Posts

I've now twice noticed a problem after I deployed a version to a live server.

For example the top buttons in Admin.

Usually they are in the order:

  • Pages
  • Setup
  • Modules
  • Access

Only when I pushed everyting (incl database export) live the order seems to have changed to 

  • Pages
  • Modules
  • Setup
  • Access

I also noticed a simple selector seems to ignore the sort I used, and used I think the ID for sorting.

It was a critical moment so I quick-hacked a sort after the selector got it results, and thus was not able to get the source ot the problem.

The production server uses CentOS with Php 5.2.17 and MySQL 5.0.51a

Before I lose hours in debugging and testing, maybe anyone has noticed the same issues and already figured out what was wrong?

Share this post

Link to post
Share on other sites

I've not ever seen that particular issue. Though know that there was a sorting bug in a certain MySQL version (bug in MySQL not PW), so that would be something to look at. That's the only thing I can think of. Unrelated, but also be sure to get your PHP version up above 5.3 if possible. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By opalepatrick
      Hi, trying to order pages by modified date, date. I can do 'sort=-date_modified, sort=-date' but that will always put the modified date first regardless of actual date order. I just want to coalesce the two fields and sort. Any ideas would be appreciated.
    • By Andi
      Getting a little deeper into the ProcessWire state-of-mind here. I seriously think I wouldn't have come back to webdev if it wasn't for this wonderful little gem of a CMS.
      I have an "Options" field added to all users on a site. If the user has anything other then "default" selected, I would like to show a permanent message in the admin like the one in the screenshot, only so that the user can't close it. As a friendly reminder that he changed that option from default to something crazy 🙂
      I've read up on how to send messages to users, but where would I hook into to make this show up all the time in the backend?
      Thanks in advance!

    • By BitPoet
      Here's a small new module that adds a "Manage tags" button to the template list, just like the field list already has.
      Easily add, remove and change tags for your templates.

    • By Noel Boss
      Hi everyone 🙌
      Is there a way to order the language tabs in the backend? Currently, they seem to be ordered based on the created date (or id?) …
      ( time passes … ⏰ 🚶‍♂️)
      Just answered my own question. One can reorder the languages in the page tree under admin » languages or directly in the DB » pages » template_id=54 » sord field.
      Anyone knows if there are side effects when moving the default language from sort 0 to somewhere higher?
  • Create New...