Crosby

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: Events Calenar year 2013 bug #30768
    Crosby
    Participant

    actually you’ll have to manually change the & to & in the url yourself, i guess i can’t post that either here. 🙂

    Thanks for you help BTW!

    in reply to: Events Calenar year 2013 bug #30766
    Crosby
    Participant

    Some more info, our site is hosted at Rackspace on a cloud site running PHP 5.3.14.

    Also bizarre, but i can get it to load my results for 2013 if i change the ampersands from & to & in the url. However, I’m not sure how i can do that in the script i wrote because i am a jquery.get command to build the url I’m pulling the data from.

    See:
    http://hv.crosbydev.com/events-widget/?month=01&year=2013&getAll=true

    Pretty odd.

    in reply to: Events Calenar year 2013 bug #30760
    Crosby
    Participant

    Here is the code that I have in my sidebar-leftmenu.php file.
    http://hv.crosbydev.com/Source/sidebar-leftmenu.txt

    Those two scripts work together to make the events appear in the sidebar and load them in dynamically filtered by month and year.

    in reply to: Events Calenar year 2013 bug #30756
    Crosby
    Participant

    eh sorry about that, i’ve posted my code here in a flat text file:

    http://hv.crosbydev.com/Source/event-widget.txt

    in reply to: Events Calenar year 2013 bug #30755
    Crosby
    Participant

    Let me try to paste my code again


    'all',
    'posts_per_page'=>-1,
    'start_date'=>'01 '.$current_month.' '.$current_year,
    'end_date'=>'31 '.$current_month.' '.$current_year
    ));

    if( empty($all_events) ) {
    echo 'No scheduled events.';
    } else {
    foreach($all_events as $post) {
    setup_postdata($post);
    ?>
    <div class="">
    <a href="">
    <a href="">ID, true, 'M j, Y'); ?> - ID, true, 'M j, Y'); ?>

    in reply to: Events Calenar year 2013 bug #30753
    Crosby
    Participant

    I got my wires crossed with the version numbers. I have 3 websites all using the same script. One site is running v2.0.8 and the other is running the latest. I’m having the same problem on both websites though.

    I’ll give you some more details about what the script does.

    On this page: http://www.shopwaughchapel.com/ you’ll find a box in the left column of the page titles Upcoming Events. You’ll see the loading icon never really disappears it just keeps loading. It’s because its trying to connect to this url: http://www.shopwaughchapel.com/events-widget/?month=03&year=2013&getAll=true — its not getting the response its looking for.

    I’m using a jQuery.get on a wordpress template that should return all of the events in a given month and year and then load them into that Upcoming Events box.

    Here is the code for the widget that loads the events:

    ‘all’,
    ‘posts_per_page’=>-1,
    ‘start_date’=>’01 ‘.$current_month.’ ‘.$current_year,
    ‘end_date’=>’31 ‘.$current_month.’ ‘.$current_year
    ));

    if( empty($all_events) ) {
    echo ‘No scheduled events.’;
    } else {
    foreach($all_events as $post) {
    setup_postdata($post);
    ?>
    <div class="”>
    <a href="”>
    <a href="”>ID, true, ‘M j, Y’); ?> – ID, true, ‘M j, Y’); ?>

    in reply to: Events Calenar year 2013 bug #30750
    Crosby
    Participant

    To offer some more information i have enabled WP_DEBUG and installed the DEbug bar.

    Here is what it is telling me:

    WARNING: wp-includes/functions.php:924 – Cannot modify header information – headers already sent by (output started at wp-includes/functions.php:2758)
    WARNING: wp-includes/functions.php:3523 – Cannot modify header information – headers already sent by (output started at wp-includes/functions.php:2758)
    WARNING: wp-admin/admin-header.php:9 – Cannot modify header information – headers already sent by (output started at wp-includes/functions.php:2758)
    NOTICE: wp-content/plugins/wp-login/wp-login.php:63 – Undefined index: authorized
    NOTICE: wp-content/plugins/role-scoper/definitions_cr.php:412 – Undefined property: stdClass::$create_posts
    NOTICE: wp-content/plugins/role-scoper/definitions_cr.php:424 – Undefined property: stdClass::$create_posts
    NOTICE: wp-content/plugins/role-scoper/definitions_cr.php:436 – Undefined property: stdClass::$create_posts
    NOTICE: wp-content/plugins/role-scoper/definitions_cr.php:455 – Undefined property: stdClass::$create_posts

    I’m not seeing anything related to the event calendar, so I’m scratching my head trying to figure out why this is not working.

Viewing 7 posts - 16 through 22 (of 22 total)