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

senpai’s picture

Title: install error » Install error "warning: include_once(sites/all/modules/video/theme/video_formatter.inc)"
Assigned: akbet » Unassigned
Status: Active » Fixed

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. :)

Jerimee’s picture

Status: Fixed » Active

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.
Jerimee’s picture

video_formatter.inc is not in /all/modules/video/theme/

it is in /all/modules/video/

Chris Sloan’s picture

Got the same issue here

Xray-2’s picture

Version: 6.x-4.0-rc1 » 6.x-4.0-rc4

Confirm this problem.
Solution for me:
$ cd /usr/local/share/drupal/modules/video/theme/
$ sudo ln -s ../video_formatter.inc video_formatter.inc

ronline’s picture

The same prob with my site
The fix 843368#comment-3217392 doesn't work in my case

wolfram’s picture

had the same problem
#5 does not work in my case

pjsz’s picture

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.

Peter76’s picture

I have the same problem. Anyone know how to fix it?
Clearing cache doesnt work.

hypertext200’s picture

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.

Peter76’s picture

Yes I use Video 6.x-4.0-rc6. I tried with 3 other versions but the problem is the same.

renoproc’s picture

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');

iLLin’s picture

Actually that will break it, per http://api.drupal.org/api/function/hook_theme/6

Try this instead:
Line 163

  '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.

Peter76’s picture

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.

maebelater’s picture

#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.

Peter76’s picture

#15 solved the problem.

hypertext200’s picture

Status: Active » Fixed

Fixed in the latest release.

harry slaughter’s picture

@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.

gregstout’s picture

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.

GBain22’s picture

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.

hypertext200’s picture

Version: 6.x-4.0-rc4 » 6.x-4.1-rc6

check the latest release.

hypertext200’s picture

Please check the latest CVS update and confirm. Fixed in there

boogily’s picture

Just installed that one. Not fixed...

hypertext200’s picture

install the latest one from the CVS.

Status: Fixed » Closed (fixed)

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

rantnrave’s picture

Status: Closed (fixed) » Active

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.

hypertext200’s picture

Status: Active » Closed (fixed)