After installing the newest dev version, there are these following error messages:
warning: include_once(sites/all/modules/date/theme/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /mnt/web1/31/45/51628845/htdocs/includes/theme.inc on line 286.
warning: include_once() [function.include]: Failed opening 'sites/all/modules/date/theme/theme.inc' for inclusion (include_path='.:/opt/RZphp5pl/lib/php') in /mnt/web1/31/45/51628845/htdocs/includes/theme.inc on line 286.
warning: include_once(sites/all/modules/date/theme/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /mnt/web1/31/45/51628845/htdocs/includes/theme.inc on line 286.
warning: include_once() [function.include]: Failed opening 'sites/all/modules/date/theme/theme.inc' for inclusion (include_path='.:/opt/RZphp5pl/lib/php') in /mnt/web1/31/45/51628845/htdocs/includes/theme.inc on line 286.

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

You should have those files in those places. Do you? If not where did you update from? I was having some trouble getting all the right files into the 6.2 branch, but they should be there now in cvs and should be in tomorrow's tarball.

Micha1111’s picture

There is no directory date/theme (and no file theme.inc) in the the newest download archiv (2008-05-29)

Jeremy Toaster’s picture

I'm having the exact same errors. The directory 'sites/all/modules/date/theme/' does not exist.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ugh! I don't know why I'm having so much trouble getting all the right files in the right places. I opened up the tarball and sure enough those files are missing. I re-committed them and hopefully this time it will all come through.

Until everything shows up in the tarball, you can get them from cvs at http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/date/?pathr...

There's a theme folder and two files that do in it.

Jeremy Toaster’s picture

No worries!
Well I downloaded those files and placed them into the correct folder, but theme.inc get's displayed as a full php read file inside the Calendar block.

Like if you were to view http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/date/theme/... it a browser window. It shows all that stuff inside the block now.

Maybe I did something wrong?

jeremy

Jeremy Toaster’s picture

* Template to display date naviagion links.

Also, typo in in date.navigation.tpl.php, line 5 naviagion > navigation

Jeremy Toaster’s picture

Looks like you fixed it! Thanks a lot! Now if I can just get this Views MySql error to go away! :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

irk’s picture

Status: Closed (fixed) » Active

I'm getting this one too. I've updated to the most recent dev version of Calendar, Date, and Views. My error code:

* warning: include(./sites/default/modules/date/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/doreydesign.net/subdomains/phh/httpdocs/includes/theme.inc on line 1066.
* warning: include(./sites/default/modules/date/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/doreydesign.net/subdomains/phh/httpdocs/includes/theme.inc on line 1066.
* warning: include() [function.include]: Failed opening './sites/default/modules/date/views-view.tpl.php' for inclusion (include_path='.:') in /var/www/vhosts/doreydesign.net/subdomains/phh/httpdocs/includes/theme.inc on line 1066.

Also, in Views I no longer have the option of creating an Attachment display. That's with Date turned on - if I have Calendar turned on, the error code is for Calendar. And with Calendar turned on I lose the ability to make Page and Block displays in Views.

travismiller’s picture

I'm getting this warning with current versions of date and views. However, it seems to be causing more than just a warning. The view outputs nothing on a page display or in view preview.

Copying views/theme/views-view.tpl.php to date/views-view.tpl.php seems to fix everything.

* warning: include(./sites/all/modules/date/views-view.tpl.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/xxx/htdocs/includes/theme.inc on line 1066.
* warning: include() [function.include]: Failed opening './sites/all/modules/date/views-view.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/xxx/htdocs/includes/theme.inc on line 1066.

drupal-6.20
views-6.x-2.12
date-6.x-2.7

noah’s picture

I'm seeing the "include(./sites/all/modules/date/views-view.tpl.php)" warning as well. My views weren't just hidden, though, they all became unusable -- views-generated pages weren't working, blocks disappeared completely from the blocks table. Once I had copied views-view.tpl.php into the "modules/date" directory, I had to disable then re-enable the views module to get everything back.

There are a few threads about this or similar errors in bug reports for various modules:

Date: http://drupal.org/node/263885 (i.e., here)
Calendar: http://drupal.org/node/314196
Views: http://drupal.org/node/363182

I haven't seen a definitive solution anywhere, though.

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Unfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.