Posted by skizzo on August 7, 2009 at 9:01pm
Jump to:
| Project: | Vote Up/Down |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
| Issue tags: | vud-2-blocker |
Issue Summary
enabling the Votes display (for both teaser and full) causes the following error when visiting a node
* warning: include(./sites/all/modules/vote_up_down/widgets/updown/votes.tpl.php) [function.include]: failed to open stream: No such file or directory in /var/www/drupal/includes/theme.inc on line 1020.
* warning: include() [function.include]: Failed opening './sites/all/modules/vote_up_down/widgets/updown/votes.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/drupal/includes/theme.inc on line 1020.
Comments
#1
I just copied the votes.tpl.php file from the plain folder into the updown folder and did not get the error message again. It seems that the file wasn't copied over to the updown widget as it should.
#2
You should also change a class name, which indicates plain. It will work without it, but the markup will be messy/not right. =)
#3
As I think this is a common source of doubts, we should provide all tpl's to avoid this reports
#4
Since ctools integration patch(#615548: Integrate with CTools for AJAX and plugins) is commited, this is no more needed