Jump to:
| Project: | Video |
| Version: | 6.x-4.1-rc6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When I activate module I see:
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once(sites/all/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/andrew/public_html/drupal61/includes/theme.inc on line 286.
Comments
#1
Please disable the module, then uninstall it, then delete it from your modules directory. Then, download the 4.0-rc3 version and try installing that.
If the same error persists, please re-open this ticket. :)
#2
Got the same error - going to try to uninstall and reinstall but I doubt that will change much. I'm installing for one individual site on a multi-site configuration.
# warning: include_once(sites/xxx.com/modules/video/theme/video_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /home1/xxx/public_html/_main/includes/theme.inc on line 286.# warning: include_once() [function.include]: Failed opening 'sites/xxx.com/modules/video/theme/video_formatter.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/xxx/public_html/_main/includes/theme.inc on line 286.
#3
video_formatter.inc is not in /all/modules/video/theme/
it is in /all/modules/video/
#4
Got the same issue here
#5
Confirm this problem.
Solution for me:
$ cd /usr/local/share/drupal/modules/video/theme/
$ sudo ln -s ../video_formatter.inc video_formatter.inc
#6
The same prob with my site
The fix 843368#comment-3217392 doesn't work in my case
#7
had the same problem
#5 does not work in my case
#8
Try clearing cache and see if problem happens. Does that help? I've had no such problem with this version. And i've installed on 3 servers this week.
#9
I have the same problem. Anyone know how to fix it?
Clearing cache doesnt work.
#10
Are you using the latest version of video, I didn't see any issue with the my module, I check the code and all, but didn't see any issue.
#11
Yes I use Video 6.x-4.0-rc6. I tried with 3 other versions but the problem is the same.
#12
Same thing with 6.x-4.0-rc7
The problem comes from video.module file.
Line 155 : $path = drupal_get_path('module', 'video'). '/theme';
Try to modifie it to
$path = drupal_get_path('module', 'video');
#13
Actually that will break it, per http://api.drupal.org/api/function/hook_theme/6
Try this instead:
Line 163
<?php'path' => $path,
//change to this
'theme path' => $path,
?>
let me know if this is the issue with this. Clear you theme registry after you do this.
#14
Now I get this errors:
* warning: include(./sites/all/modules/video/video-play-flash.tpl.php) [function.include]: failed to open stream: No such file or directory in /home/++++++/domains/++++++/public_html/++++++/includes/theme.inc on line 1020.
* warning: include(./sites/all/modules/video/video-play-flash.tpl.php) [function.include]: failed to open stream: No such file or directory in /home/++++++/domains/++++++/public_html/++++++/includes/theme.inc on line 1020.
* warning: include() [function.include]: Failed opening './sites/all/modules/video/video-play-flash.tpl.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/++++++/domains/++++++/public_html/++++++/includes/theme.inc on line 1020.
#15
#13 worked for me, and so far I've managed to fix #14 by copying tpl's from sites\all\modules\video\theme to sites\all\modules\video. Not the neatest solution, but it works so far (keeping my fingers crossed). Thanks.
#16
#15 solved the problem.
#17
Fixed in the latest release.
#18
@heshan.lk - i just installed the "latest release" on a site and get the same problem. The latest release as of right now is 6.x-4.1-rc4, correct? The problem is definitely not fixed in that version.
#19
Ditto. I just installed the latest release (video-6.x-4.1-rc4) and got the same problem. Easy to see when you go to the update.php page.
#20
I have just tried the latest dev version: 6.x-4.x-dev and also 6.x-4.1-rc4 and both give me the same error. I have tried clearing the cache, copying the tpl files into my current themes directory and moving video_formatter.inc to the modules/video/theme folder - and I still get the error message.
#21
check the latest release.
#22
Please check the latest CVS update and confirm. Fixed in there
#23
Just installed that one. Not fixed...
#24
install the latest one from the CVS.
#25
Automatically closed -- issue fixed for 2 weeks with no activity.
#26
Asking someone to use CVS to fix such a simple problem? Did you actually leave such a bug in your release files? Wow you should be embarrassed to pull off a feat such as this. And from what I see, this problem STILL exists in both the dev release and the stable release. Pathetic. You cannot possibly expect someone like a themer person to know how to use CVS. If it were a "new feature" then yes, using CVS is the correct method. But to fix a critical "bug"? Erm, no, bad idea.
#27