Hi,

I am a new user of Drupal. I have just installed Video module (version 7.x-2.3) on a clean Drupal 7.9 (minimal install) on Open SUSE Linux 12.1.

The Transcoder configuration tab returns blank page. (This did not happen on my previous installation on Windows XP and Ubuntu Linux 10.04). I debug the issue with NetBeans and found that program exits during line 188-217 in adminSettings in TranscoderAbstractionFactoryZencoder.inc The problem should lies in "st" command.

From "http://api.drupal.org/api/drupal/includes--install.inc/function/st/7", I found:
"Use t() if your code will never run during the Drupal installation phase. Use st() if your code will only run during installation and never any other time. Use get_t() if your code could run in either circumstance."

After I changing "st" to "t", the program seems run correctly.

I think this is a bug and replace "st" with "t" in TranscoderAbstractionFactoryZencoder.inc should be the solution. Could someone help to confirm and patch it? (I have checkout the code from git and made sure that it hasn't been fixed.)

Thanks a lot!

Cameron Wong

Comments

odegard’s picture

Confirmed. I get this error:

Fatal error: Call to undefined function st() in /.......etc..../sites/all/modules/video/transcoders/TranscoderAbstractionFactoryZencoder.inc on line 190

After changing several st()'s to t()'s, it works great.

Jorrit’s picture

Status: Active » Fixed

Fixed in 7.x-2.x.

Status: Fixed » Closed (fixed)

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