Calendar Views Not Working

Home Forums Calendar Products Events Calendar PRO Calendar Views Not Working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66770
    opcfw
    Participant

    I have plugin version 3.0.3 installed with WP 3.6.1 and when I view any other page on my site everything works fine. When I view the events page though I receive the following error

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /path/to/wp-content/plugins/the-events-calendar/views/default-template.php:17) in /path/to/wp-content/themes/[theme]/header.php on line 11

    I realize this is a theme conflict issue, but I was hoping I could receive some help.

    *disclaimer* this site does NOT use the Pro version. While I have a license for another site/project I work on this site is not currently using Pro. Once I get things working and the client approves that will change though 😀

    #66786
    Barry
    Member

    Hi opcfw,

    If I’m understanding this correctly then the theme isn’t attempting to start the session until a very late point indeed and ideally they would do this earlier on. That said, can you read up on our Themer’s Guide (if you’re not already familiar with the process of overriding our templates, that is) and then set up a custom default-template.php template, based initially on the original version.

    Try removing the closing PHP tag on line 15 and the opening PHP tag on line 17, such that instead of reading:

    if ( !defined('ABSPATH') ) { die('-1'); } ?>
    <?php get_header(); ?>

    It reads:

    if ( !defined('ABSPATH') ) { die('-1'); }
    get_header(); ?>

    If that doesn’t help I’d recommend talking to the theme author and asking if they can move the session_start() call to an earlier point 🙂

    Thanks!

    #66796
    opcfw
    Participant

    Hi Barry, that seemed to solve my problem. Thank you very much!

    #66830
    Barry
    Member

    Fantastic!

    #980879
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Calendar Views Not Working’ is closed to new replies.