WordPress.org

Support

Support » Plugins and Hacks » All-in-One Event Calendar » [Resolved] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work

[Resolved] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work

Viewing 15 replies - 1 through 15 (of 38 total)
  • Also I’m not able to change view on calendar page from month to something else. It’s available in option list but nothing happens after click on one of them.
    I see the following errors in dev console:

    Uncaught TypeError: Cannot read property 'length' of undefined jquery.js:2
    Uncaught TypeError: Cannot read property '1' of null load_views.js:59
    initialize_view load_views.js:59
    current_hash load_views.js:324
    f.Callbacks.o jquery.js:2
    f.Callbacks.p.fireWith jquery.js:2
    w jquery.js:4
    f.support.ajax.f.ajaxTransport.send.d jquery.js:4

    Do you guys have any working version? Maybe I should try 1.7?

    Another error:

    Unsafe JavaScript attempt to access frame with URL http://mysite.com/calendar/?doing_wp_cron=1344280549.7780399322509765625000#action=ai1ec_posterboard&ai1ec_post_ids= from frame with URL https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=4343+Spencer+Str,++Torrance,+CA+90503&aq=&sll=51.495094,45.941571&sspn=0.009124,0.021522&t=m&ie=UTF8&hq=&hnear=4343+Spencer+St,+Torrance,+Los+Angeles,+California+90503&ll=33.846289,-118.360562&spn=0.00499,0.00854&z=15&output=embed. Domains, protocols and ports must match.
     %7Bmain,mod_util,mod_act,mod_act_s,mod_actbr,mod_adf,mod_appiw,mod_mg,mod_mssvt,mod_pphover,mod_rst,mod_strr%7D.js:785

    Plugin Contributor Yani Iliev

    @yaniiliev

    @ irolla
    All versions of the plugin are working.
    Can you check your theme footer.php file and see if you have a call to wp_footer() in there?
    If not, you will need to add it.
    Does that solve the problem?

    I have this call in my theme:

    # grep -C5 wp_footer ./wp-content/themes/u-design/footer.php
    		</div>
    	</div>
    
    	<div class="clear"></div>
    
    	<?php wp_footer(); ?>
        </div><!-- end wrapper-1 -->
    <?php
        if( $udesign_options['enable_cufon'] ) : ?>
    	<script type="text/javascript"> Cufon.now(); </script>
    <?php

    And I’ve already tried to completely reinstall calendar. It doesn’t help.

    Plugin Contributor Yani Iliev

    @yaniiliev

    Can you give me a link to your website?

    It’s under construction. I can give you a link with pass&login in private

    I’ve added some debug:

    ./wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/scripts/calendar/load_views.js:
    50         var initialize_view = function() {
     51                 // Make current view actively selected in view dropdown button.
     52                 var classes = $('body').attr( 'class' ).split( ' ' );
     53                 console.log("[debug] classes = " + classes); // DEBUG
     54                 for ( i in classes ) {
     55                         // Extract current view from the body class.
     56                         var matches = /ai1ec-action-([\w]+)/.exec( classes[i] );
     57                         console.log("[debug] matches = " + matches); // DEBUG
     58                         if ( matches != null ) break;
     59                 }
     60                 // Get the dropdown menu link of the active view.
     61                 var $selected_view = $( '#ai1ec-view-' + matches[1] );

    Results:

    [debug] classes = page,page-id-125,page-template,page-template-page-FullWidth-php,logged-in,admin-bar,customize-support,undefined load_views.js:53
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    [debug] matches = null load_views.js:57
    Uncaught TypeError: Cannot read property '1' of null : load_views.js:61

    Looks like there is no ‘ai1ec-action-‘ classes

    Plugin Contributor Yani Iliev

    @yaniiliev

    You can use this form for pass/login info: http://help.time.ly/customer/portal/emails/new

    sent

    I’ve replied to help@then.ly with wp-admin credentials. Did you get it?

    Just did the following things:
    1. Installed new wordpress
    2. Installed my wp theme
    3. Installed all-in-one calendar plugin 1.8.2 from WP repo
    4. Added event – ajax works OK when adding dates for event
    5. Upgraded to 1.8.3 premium version
    6. Ajax stopped working in ‘Add event’

    I’ve already sent an address of the new installation to your email, please check it.

    Hey guys,
    Any progress on this issue? You still have an access to my installation.

    Plugin Contributor Yani Iliev

    @yaniiliev

    @ irolla
    I am looking at the problem right now, will update you shortly

    It’s still doesn’t work 🙁
    Nothing in developer console(chrome), nothing in php-logs.

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Resolved] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work’ is closed to new replies.
Skip to toolbar