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
Comment #1
karens commentedYou 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.
Comment #2
Micha1111 commentedThere is no directory date/theme (and no file theme.inc) in the the newest download archiv (2008-05-29)
Comment #3
Jeremy Toaster commentedI'm having the exact same errors. The directory 'sites/all/modules/date/theme/' does not exist.
Comment #4
karens commentedUgh! 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.
Comment #5
Jeremy Toaster commentedNo 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
Comment #6
Jeremy Toaster commented* Template to display date naviagion links.
Also, typo in in date.navigation.tpl.php, line 5 naviagion > navigation
Comment #7
Jeremy Toaster commentedLooks like you fixed it! Thanks a lot! Now if I can just get this Views MySql error to go away! :)
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
irk commentedI'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.
Comment #10
travismiller commentedI'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
Comment #11
noah commentedI'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.
Comment #12
damienmckennaUnfortunately 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.