1

I am trying to make a simple video uploading site with Drupal. I am using the Video module. Let me tell you what I have done:

1) Just made a fresh installation of Drupal 7.7

2) Installed the Video module

3) Enabled the following

  • Video
  • Video UI

Now when I go to configuration tab I see the following error:

Exception: You must have the cURL extension enabled to use this library. in require_once() (line 22 of C:\wamp\www\freshdrupal\sites\all\modules\video\libraries\zencoder-php\Zencoder.php).

However I can still create a new content type and add field of video type. In that case when I add a content and upload video it gaves the same exception error as shown above.

Please help. If there is any substitute module for doing the same please tell me so. I need it urgently.

  • Still problem the error is now when i i click the config> transcoder tab i see- Fatal error: Interface 'transcoder_interface' not found in C:\wamp\www\freshseven\sites\all\modules\media_zencoder\transcoders\media_zencoder.inc on line 1 – shababhsiddique Oct 11 '11 at 18:32
  • I am having same problem. Exception: You must have the cURL extension enabled to use this library. in require_once() (line 22 of E:\xampp\htdocs\chimcat\sites\all\modules\video\libraries\zencoder-php\Zencoder.php). I am using xampp. Help me please, thank you very much, – user4225 Nov 28 '11 at 15:06
2

According to your error, you need to have CURL installed.

If you're running a mac: http://www.davidonzo.com/lng/en/post/986/php-mac-os-x-how-to-install-the-curl-library/

If you're running linux: type in the command line - "apt-get install curl"

If you're running WAMP on Windows: click the WAMP icon in task tray, then go to PHP > PHP Extensions > php_curl. Then restart apache.

  • thank you, i am running windows. the WAMP stack. and yes i know i have curl missing but apparently drupal.org/project/curl has only support for drupal 6 – shababhsiddique Oct 10 '11 at 16:04
  • Updated my answer, give that a try, snagged from here: phpfreaks.com/forums/index.php?topic=180453.0 – LSU_JBob Oct 10 '11 at 16:48
  • just done that, now the previous error is gone. But when i click configure > transcoder i see another error ( ! ) Fatal error: Interface 'transcoder_interface' not found in C:\wamp\www\freshseven\sites\all\modules\media_zencoder\transcoders\media_zencoder.inc on line 14 – shababhsiddique Oct 10 '11 at 17:41
  • Whn i upload a video through a custom created content type it says This video is currently being processed. Please wait. – shababhsiddique Oct 10 '11 at 17:46
  • Ok, so we've solved the error mentioned in the original post. Now you're going to have to set up FFMPEG like uwe999 suggested. Perhaps make a new post somewhere else on stack exchange? just because the original question was solved and this is kindof no longer a "drupal" problem but a "local windows environment zen configuration" problem. – LSU_JBob Oct 10 '11 at 17:48
0

for the video module you have to configure an encoder, either FFMPEG (for video encoding on your server) or Zencoder (video encoding service).

Make sure to follow all the steps to configure Zencoder correctly including postback (I believe the postback is by ftp).

  • how do i configure zencoder – shababhsiddique Oct 9 '11 at 18:20
  • there is a documentation link on the project page: video.heidisoft.com/documentation/… – uwe Oct 9 '11 at 20:34
  • this tutorial works perfectly with drupal 6. Not with drupal 7. FileField required module is not still up for drupal 7. CCK is only on dev release. Can you please tell me how i can solve the issue? – shababhsiddique Oct 10 '11 at 5:33
  • still having same problem. Installed all the substitute modules in drupal 7 but when i click configure the error comes-Exception: You must have the cURL extension enabled to use this library. in require_once() (line 22 of C:\wamp\www\freshseven\sites\all\modules\video\libraries\zencoder-php\Zencoder.php). – shababhsiddique Oct 10 '11 at 6:29
  • i think i found the exact position of error. It comes whenever i try to access the transcoder configuration tab. All other are working good – shababhsiddique Oct 10 '11 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.