warning: theme_render_template
| Project: | Event |
| Version: | 6.x-2.x-dev |
| Component: | Event Views |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
When clicking through to the calendar/month view this warning appears:
* warning: theme_render_template(./sites/all/modules/event/event-node-month.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in /home/sites/example.com/public_html/includes/theme.inc on line 963.
* warning: theme_render_template(./sites/all/modules/event/event-node-month.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in /home/sites/example.com/public_html/includes/theme.inc on line 963.
* warning: theme_render_template(./sites/all/modules/event/event-node-month.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in /home/sites/example.com/public_html/includes/theme.inc on line 963.
* warning: theme_render_template() [function.include]: Failed opening './sites/all/modules/event/event-node-month.tpl.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/example.com/public_html/includes/theme.inc on line 963.
Any ideas?

#1
I get this error as well.
#2
me to, currently using the Garland theme
* warning: include(./sites/all/modules/event/event-node-month.tpl.php) [function.include]: failed to open stream: No such file or directory in I:\wamp\www\includes\theme.inc on line 963.
* warning: include() [function.include]: Failed opening './sites/all/modules/event/event-node-month.tpl.php' for inclusion (include_path='.;C:\php5\pear') in I:\wamp\www\includes\theme.inc on line 963.
also not sure why it points to c:\php5\pear ?
#3
same error here on garland :(
#4
CobraMP wrote:
also not sure why it points to c:\php5\pear ?This is the include_path set in php.ini
This specific file not found issue is a duplicate and has been addressed at #232878: Asking for event-node-month.tpl.php which is not present?, comment #5.
If your positive the file is there and the name is correct, it could be a path issue. Many times path issues can be solved by adding the path to the root of the application that is having the file not found problem. Try adding [include_path='.;C:\php5\pear;c:\wamp\www\drupal'] or what ever the path is to your Drupal root. Also, I know that with Xampp the php.ini is found in two different locations depending on where PHP is run from. One is 'c:\xampp\php\' and the other is in 'c:\xampp\apache\'. I usually play it safe by changing both to prevent those head banging episodes where you just know that you made the changes but it's still not working...
Also, paths are operating system dependent, ie Linux verses Windows. However, I think PHP is now forgiving of this and naturally accepts either with no question.
#5
"This specific file not found issue is a duplicate and has been addressed at #232878: Asking for event-node-month.tpl.php which is not present?, comment #5."
Adding an empty file only masks the problem. Since the template is empty, the module has no idea how to render the data in the month view. Therefore, you still have an empty calendar, but without the errors in the log.
I suspect that what we need is a correct template for the month view.
#6
This was fixed in the current 30/03/08 release, even if it was borked still... There's a patch here; http://drupal.org/node/223685
Pobster
#7
Automatically closed -- issue fixed for two weeks with no activity.