When I enable Zencoder API on my modules page and then go to Configure/Video/Transcoders, I get a blank screen.
If I disable Zencoder API, I can see the Transcoders page OK.
Any suggestions??
Thanks

Comments

hypertext200’s picture

You need to download the zencode zpi from the https://github.com/zencoder/zencoder-php and place it, sites/all/libraries/zencoder

GinaF’s picture

Yes, I have done that. In the libraries/zencoder folder, I have:
Services folder
.gitignore file
LICENSE
README

Do I need to do anything else?

hypertext200’s picture

Did you install libraries module?. http://drupal.org/project/libraries

Can you go to your PHP error log and send me what your getting there.

GinaF’s picture

I have the libraries module enabled.
Under Report/log messages there are no errors - should I look somewhere else?

hypertext200’s picture

php_error_log on your server.

GinaF’s picture

This is the error:
[Mon Apr 30 16:03:43 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function libraries_detect() in C:\\mowes_portable\\www\\drupal\\sites\\all\\modules\\video\\modules\\zencoderapi\\zencoderapi.module on line 39, referer: http://127.0.0.1/drupal/video

GinaF’s picture

I just upgraded to Libraries v2 alpha and can now see the Transcoder page.

However, when I chose zencoder and tried to save configuration with my email address, I get this error:

Services_Zencoder_Exception: cURL extension must be enabled. in Services_Zencoder->__construct() (line 0 of ).

I tried uncommenting extension=php_curl.dll in php.ini and restarted my Apache server, but I still get this error.
Any ideas??
Thanks
Gina

Jorrit’s picture

uncommenting that line should work. Is the extension_dir line also set correctly?

GinaF’s picture

What should extension_dir be?
I have:

; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = C:\mowes_portable\php5\ext

Whilst I am able to configure my php.ini on my development server, I won't be able to access it on the live server & I'm not sure IT will be willing to make these amendments for me as they would affect everybody - is there any way I could get round that?? (or is there no point to this... )
I really appreciate your help with this, thanks.

Jorrit’s picture

Assigned: Unassigned » Jorrit
Status: Active » Postponed (maintainer needs more info)

if C:\mowes_portable\php5\ext contains php_curl.dll, it's the right directory. Also look at the Windows related instructions at http://nl.php.net/manual/en/curl.installation.php .

Most servers have cURL enabled. You can check that using a page with the following text:

phpinfo();
jantoine’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This looks to be a duplicate of #1488012: The Zencoder API module can be installed with the Libraries 1.x module as a dependency, when 2.x is required. Setting as duplicate, please update the status if this turns out to be a different issue.