Event Organiser
Mess in events order, and i can't understand why (6 posts)

  1. asafche
    Posted 3 years ago #

    i have the latest version.
    the plugin is set to group recurrences.
    and in the archive-event template page, the dates are as followed:
    >> that direction >>
    22.10.12, 28.10.12, 2.11.12, 8.11.12, 9.11.12, 26.10.12, 25.10.12, 27.12.12, 24.10.12, 31.1.13



  2. Stephen Harris
    Posted 3 years ago #

    Seems either the actual template file being used is not displaying the correct date - or another plug-in is altering the order in which the events are altered.

    On a fresh install, with TwentyEleven theme, everything works as expected - so you may wish to deactivate your plug-ins and theme just in case tehre is a conflict.

  3. asafche
    Posted 3 years ago #

    nop. without any other plugin and with twenty eleven it's still behaving the same.
    other two things i've encountered that maybe can indicate a bigger problem:
    in the admin panel event list, clicking on "Start Date/Time" doesn't change anything in the order of the events, and somehow that odd order is the same order of the event in archive-event page.

    See This.

  4. Stephen Harris
    Posted 3 years ago #

    This is odd. I haven't been able to replicate this issue - so it may be due to a corrupted install. Re-installing the plug-in may work, but before that you may want to put WordPress into debug mode and see if that highlights any problems.

    I noticed you had phpmyadmin up - do the dates appear correctly in database, do they show correctly in the admin calendar?

  5. asafche
    Posted 3 years ago #

    what do you mean by appear correctly?

  6. Stephen Harris
    Posted 3 years ago #

    Do the events appear on the right dates in the admin calendar, do they appear correctly in the database table?

    I'm just trying to ascertain where the error is - in the database or somewhere between that and when they are displayed. It sounds like the latter - and potentially the ORDER BY statement is being ignored / over-ridden.

    As per this codex you can print the query to see what is actually being queried - that will help determine if the query is not correctly formed (e.g. incorrect ORDER BY )

    function my_posts_request_filter( $input ) {
    	print_r( $input );
    add_filter( 'posts_request', 'my_posts_request_filter' );

    That will print every query - so you may see a number of them (front end and back-end).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic