All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Last entry placed with Reorder shows in default language with Publisher?

Snaders 23 Feb 2015 11:00 problem, complete

We're using Publiser to manage a bilingual site. There is a weird problem when placing entries with Low Reorder:

When we place these entries the last entry is shown in the default language instead of the current language. It always happens to the last entry only. It's not happening when placing the entries with the regular expressionEngine tags.

A lead might be that it's not concurring on our development server, but only on the live server (both Appache). We mailed BoldMinded (Publisher) but they only told us to 'compare php.ini files.'

Switching the PHP-version (5.3-5.6) does nothing.

Do you have ANY idea what might cause this, or at least where to look? Thanks in advance.

Replies

  1. Low 23 Feb 2015 11:40

    Not sure what you mean by "last entry placed". Is this in the Control Panel? Or in the templates? Do you have some template code or a screenshot you can share? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code. Also, what are your EE and LR versions?

  2. Snaders 23 Feb 2015 12:17

    The last entry placed in the templates:

    {exp:low_reorder:entries set="news_home" limit="4"}
    {switch="|"}


    {title}

    {switch="|"}
    {/exp:low_reorder:entries}

    The first 3 entries are shown in Dutch, the last one in English. If I put another entry on the fourth place with Reorder thát one is shown in English (so it isn't a bug with a paticular entry).

    And like I said: the entries are all shown in Dutch when I use the regular ExpressionEngine tags.

    You can see it happening on karresenbrands.nl (the four news items on the homepage)

  3. Low 23 Feb 2015 13:42

    I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

    But note that, since this doesn't happen on your testing environment, the issue is most likely environmental, so comparing the two (like BoldMinded suggested) isn't a bad idea.

  4. Snaders 23 Feb 2015 13:45

    I'll send you the credentials. And I know it's probably a PHP setting, but I was just hoping to get pointed in the right direction. I have NO idea where to look.

    Thanks for taking the time.

  5. Low 23 Feb 2015 15:51

    For visibility: this somehow had something to do with looping through the channel entries (using the channel_entries_query_result hook) by reference to add Low Reorder vars to them. Not looping by reference solved it -- will investigate before adding to the core, as it seems to be an edge case.