After enabling the calendar module I'm receiving numerous file inclusion errors. It seems as though the module is trying to include files from the main module directory rather than the includes directory. At the risk of including a whole mess of irrelevant code I'm going to include all the errors in their entirety due to the fact that file inclusion for the same file seems to fail from multiple sources.

    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in _theme_process_registry() (line 396 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in _theme_process_registry() (line 396 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc) [function.include-once]: failed to open stream: No such file or directory in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include_once() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/calendar.views.inc' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme() (line 794 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include(/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).
    * Warning: include() [function.include]: Failed opening '/Users/darren/Sites/Lock-and-Keel/d7/sites/all/modules/contrib/calendar/views-view.tpl.php' for inclusion (include_path='/Users/darren/Sites/Lock-and-Keel/d7/sites/all/libraries/htmlpurifier/library:.:/Applications/MAMP/bin/php5.3/lib/php') in theme_render_template() (line 1234 of /Users/darren/Sites/Lock-and-Keel/d7/includes/theme.inc).

Comments

Anonymous’s picture

I forgot to mention that the HTML Purifier module gets mentioned in the error output, though I'm not sure why. Something to do with how the template and input filters interact perhaps?

KarenS’s picture

Status: Active » Fixed

I suspect your have something wrong with your installation. Empty out the calendar folder completely and get a fresh copy of the code, then go to the modules list page and save it to be sure that Drupal registers where all your files are located.

Anonymous’s picture

It's quite likely. I actually haven't looked at this in quite a while. When I revisit it I'll be sure to upgrade all the related modules to fresh dev copies. I'll post back here if I run into issues again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

stkrzysiak’s picture

Status: Closed (fixed) » Active

This is still an issue for me, yet I am unable to replicate it on a clean sandbox, which is peculiar, as I have disabled all additional modules on my troubled D7 instance, wiped cache, ran update.php, and the relevant modules(date, calendar, views, ctools) are identical. Core is as well. I've even switched my theme to Bartik. What could I possibly be over looking? Why is calendar including properly on one twin instance but not the other?

KarenS’s picture

Status: Active » Fixed

Please read #2. That is all I can tell you. This is not a 'bug' in the calendar module, something is wrong with your installation.

stkrzysiak’s picture

KarenS,
You are right, it is probably not a calendar bug. Perhaps I should have classified this as a support request when I reopened. Calendar has generally worked great for me, yet I am days away from a launch and need to resolve it. So, I have created symbolic links for views-view.tpl.php and calendar.views.inc. I know this is not the right fix, but until I can figure out how drupal is populating the paths to the view includes, there's not much else I can do. I have done everything on this thread and #314196: Can't find views-view.tpl.php to no avail. Also, thanks for your help and work with the calendar module!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.