WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Month/Year Drop-down Menu leads to "Page Not Found" error (14 posts)

  1. makspot
    Member
    Posted 4 years ago #

    I hope this post is not redundant, but based on the issues I've read here pertaining to the drop-down menu, users are having trouble with it not responding at all when clicked.

    My problem, however, is when I try to move to a different month or year, I end up being directed to a wrong link, thus the "Page Not Found" error.

    When I look at the links, I see that the correct links look different from the ones the drop-down menu takes me to.

    This is how a correct link to May 2010 looks like on our site:
    http://www.aaiskhobar.com/alpha/category/events/?eventDate=2010-05&eventDisplay=month
    -- I used the previous/next link to navigate to the previous month, and there is no problem with this.

    However, this is the link I get when I try to switch to May 2010 using the drop-down menu in the grid view:
    http://www.aaiskhobar.com/alpha/category/events/&eventDisplay=month&eventDate=2010-05

    The difference seems to be that the right link has a ? right after events/, whereas the drop-down menu returns a & instead.

    Any idea how to resolve this issue? Doesn't seem to be a huge problem at all. I'd appreciate any help! Thanks!

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. frognip
    Member
    Posted 4 years ago #

    I am having the same problem with my calendar as well: http://mycitysf.com/calendar/category/events/?eventDisplay=month

    Otherwise a great plugin!

  3. jamblo
    Member
    Posted 4 years ago #

    Same here!
    http://downescreditongc.co.uk/index/category/events/?eventDisplay=month

    None of the dropdown options work but you can go next/previous without any issue.

    Pretty URLs don't work either but that's not as important.

    James

  4. jamblo
    Member
    Posted 4 years ago #

    Was any solution discovered for this?

    Really important I fix this!

  5. justinendler
    Member
    Posted 4 years ago #

    @makspot
    I followed your link and your site seems to not have this problem anymore. Did you learn how to fix it?

    @frognip and @jamblo
    I've confirmed yours are busted. I'm a broken record on the updating issue, but nonetheless, make sure you're either using 1.6.3 with WP 3.0 or 1.5.6 with WP 2.9.2. Also, both of your sites seems to be on default Permalink settings. Is this true?

  6. jamblo
    Member
    Posted 4 years ago #

    Thanks for replying.

    I am using version WP 3.0 and version 1.6.3 of the plugin.
    I've had to turn pretty links off as that always results in a 404.

    The permalink setting I am using is /%postname%/

    Is there anything I can do to fix this issue?

  7. jeff fren
    Member
    Posted 3 years ago #

    Please try change below two lines on \views\datepicker.php

    ---------- 1 --------------------------
    $link .= '&eventDisplay=month&eventDate=';

    change to >>>>

    $link .= '?eventDate=';

    ---------- 2 --------------------------
    location.href = '<?php echo $link; ?>' + jQuery('#<?php echo $prefix; ?>events-year').val() + '-' + jQuery('#<?php echo $prefix; ?>events-month').val();

    change to >>>>

    location.href = '<?php echo $link; ?>' + jQuery('#<?php echo $prefix; ?>events-year').val() + '-' + jQuery('#<?php echo $prefix; ?>events-month').val() + '&eventDisplay=month';

  8. jamblo
    Member
    Posted 3 years ago #

    @jeffvfren

    Brilliant, worked a treat!

    Thanks very much!

  9. frognip
    Member
    Posted 3 years ago #

    Thanks jeffvfren! Works perfectly now!

  10. asplash
    Member
    Posted 3 years ago #

    Thank you jeffvfren, that worked perfectly.

  11. dgalfano
    Member
    Posted 3 years ago #

    Awesome! Thanks jeffvfren!

  12. jaygeorge
    Member
    Posted 3 years ago #

    Excellent, this fix worked for me too. Jeffvfren is a legend.

  13. Jeff Mann
    Member
    Posted 3 years ago #

    Fantastic! This did the trick. Works great now. Thank you!

  14. SteamSynthetic
    Member
    Posted 3 years ago #

    This broke with the most recent update of WordPress or it may be version 1.6.5. I had to find an older version I had backed up at 1.6.4 for this to work again. The plugin developer should really find a fix for this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic