• Yves

    (@worthwhileluxury)


    I have installed the events calendar on a blog I’m doing for a golfer and he needs to put up all his events. Events show for January but when we select the month February from the drop down menu at the top it kicks out an error page and says what we are looking for is not there.
    Is there a fix for this problem? What do I do? Please help it is urgent.

Viewing 15 replies - 1 through 15 (of 44 total)
  • Howdy,

    I can’t replicate this bug. Can you paste the error you’re getting? Is it your 404 page?

    Justin

    Sounds like it could be some type of permalink issue. Out of curiosity, what permalink structure do you set?

    Thread Starter Yves

    (@worthwhileluxury)

    Goodness I’m still new so be kind to me guys! lol.
    The page gives

    Not Found

    Sorry, but you are looking for something that isn’t here.

    http://andrewgeorgiou.com/?cat=8/2010-02/

    Using default permalink structure: Permalink: http://andrewgeorgiou.com/?p=298

    Does this help?

    Thread Starter Yves

    (@worthwhileluxury)

    Will it help if I completely delete the plug in and take it off the server and reinstall?

    Yup you sure do seem to have a legit bug. We’ll poke at it a bit and get back to you. See if we have any ideas.

    Can you try something for me: change your permalink structure (settings > permalinks) to custom: /%postname%. Does the bug still happen?

    Thread Starter Yves

    (@worthwhileluxury)

    ARE YOU A HUNNY OR WHAT!!!??? it works now. What a little bug? hehe
    Thank you kindly sir.

    Thread Starter Yves

    (@worthwhileluxury)

    now since I’m registered on Gravatar why the heck doesn’t my gravatar show here? I’m struggling with those stupid albeit useful little things!

    interesting – so we do have a permalink issue. What is the new link to the cal – so we can test?

    Thread Starter Yves

    (@worthwhileluxury)

    Definitely a permalink issue. I run permalink structure /index.php/%category%/%postname%/

    – I can’t switch between grid / list view, nor switch a month like OP.

    When trying to switch views it will try to go to something like category/events/upcoming – omitting the index.php, and adding ‘category’. ALthough even if I manually enter the perceived right address, such as index.php/events/upcoming – it spits out a generic no posts found message from the original wordpress post/page template loop

    Any ideas to fix? I have a project I’m working on so an ETA on a solution would be killer. Thanks!

    We actually fixed this specific bug in an old branch. Perhaps it got merged out in an past merge. Let me check with the other contributors and get back to you on the eta.

    Hi Everyone,

    Sorry you’re having this issue. To fix it, replace your datepicker.php file with the following code and it should work with any permalink settings (including the default!)

    <?php
    if( '' == get_option('permalink_structure') ) {
            $link =  trailingslashit( get_bloginfo('url') ) . '?cat=' . $spEvents->eventCategory() . '&eventDisplay=month&eventDate=';
    } else {
            $link = get_bloginfo( 'url' ) . '/' . $spEvents->getCategoryBase() . '/' . strtolower( The_Events_Calendar::CATEGORYNAME ) . '/';
    }
    ?>
    <script type="text/javascript" charset="utf-8">
            jQuery(document).ready(function(){
                    jQuery('.<?php echo $prefix; ?>events-dropdown').change(function( ){
                            monthSelect = jQuery('#<?php echo $prefix; ?>events-month');
                            yearSelect = jQuery('#<?php echo $prefix; ?>events-year');
                            jumpMonth = monthSelect.attr("options")[monthSelect.attr("selectedIndex")].value;
                            jumpYear = yearSelect.attr("options")[yearSelect.attr("selectedIndex")].value;                        location.href = '<?php echo $link; ?>' + jumpYear + '-' + jumpMonth;
                    });        });
    </script>
    <select id='<?php echo $prefix; ?>events-month' name='EventJumpToMonth' class='<?php echo $prefix; ?>events-dropdown'>
            <?php echo $monthOptions; ?>
    </select><select id='<?php echo $prefix; ?>events-year' name='EventJumpToYear' class='events-dropdown'>
            <?php echo $yearOptions; ?></select>

    Thanks for the help Kelsey, however it doesn’t seem to have affected anything. I deactivated/reactivated the plugin, as well as resaving my permalink settings after the change.

    The calendar still directs to single entrys fine, but clicking grid view/list view, or changing month, still results in the issue I mentioned above.

    Also, on the single entry page, when I click ‘back to events’ the permalinks fail as well.

    numethod,

    I am testing again using your permalinks setting of /index.php/%category%/%postname%/ and can’t reproduce your issue using the 1.5.2 download of this plugin…The links to the gridview and the date picker are working for me.

    Can you tell me more about your configuration? Is index.php served by default by your webserver, or do you need to include index.php in the URL for wordpress to work?

    Kelsey,

    I’m using the latest version of the plugin, no worries there. You can check out the issue at
    http://www.princesslodges.com/blog/index.php/events – you can see what happens when trying to switch the date, or between list/grid view

    – The permalink structure for this site is /index.php/%category%/%postname%

    I have to use index.php rather then omitting it in the permalink structure due to client redirection rules written into the index.php file.

    Thanks for the assistance!

Viewing 15 replies - 1 through 15 (of 44 total)
  • The topic ‘[Plugin: The Events Calendar] Grid calendar can’t show dates other than current month’ is closed to new replies.