Drupal Core 7.8 + Video 7.x-2.1-alpha3. Always get a blank page when visiting Configuration > Video > Transcoders (admin/config/media/video/transcoders). There is no error or warning message in Reports > Recent log messages

Reports > Status report shows zencoder version is 1.2. I also have the most up-to-date ffmpeg installed (CentOS 6.0 server).

As such, I can't transcode video. Can anyone help?

Comments

hypertext200’s picture

Did you upgrade from any other version or is this a new installation?

hypertext200’s picture

What I can suggest is go to database and find variables table then search for video_convertor and delete that variable. It will work or run update.php

beijinger’s picture

heshan, I could not find any variable named 'video_convertor' (also tried select * from variable where name like 'video_convert%' but can't find anything).

I upgraded from Video 7.x-2.x-dev from a clean way:

#1 uncheck Video UI and Video in Modules list
#2 uninstall Video UI and Video module
#3 remove video/ directory under sites/all/modules
#4 remove video, video_ui from the system table. also make sure no 'video%' exists in the variable table.
#5 extract Video 7.x-2.x-alpha3 to sites/all/modules and enable Video, Video UI in Modules.

I just reproduced the problem again following these steps. Still getting a blank page when I tried to visit Configuration > Video > Transcoders (admin/config/media/video/transcoders)

Any ideas? Thanks!

hypertext200’s picture

Please check the php log and paste what is the issue?

beijinger’s picture

PHP fatal error from log file:

[23-Sep-2011 16:24:01] PHP Fatal error: Call to undefined function st() in /var/www/html/drupal/sites/all/modules/video/transcoders/TranscoderAbstractionFactor
yZencoder.inc on line 190

Not sure why it can't find st() function?

hypertext200’s picture

Status: Active » Fixed

This is not a video issues, please check your Drupal installation.

hypertext200’s picture

Status: Fixed » Closed (works as designed)
beijinger’s picture

I can't find what the problem is with my drupal installation. However, I changed st() function call to get_t() call and the Transcoder configuration page is showing now. I also tried 7.x-2.x-alpha2, which shows the Transcoder page just fine without having to change st() to get_t(). Not sure why...

Thanks anyways!

cweagans’s picture

Status: Closed (works as designed) » Active

I'm having this problem with 7.x-2.x-dev right now. Not sure what the problem is.

g089h515r806’s picture

Component: Video Trasncoding » Video Core

subscribe+

cweagans’s picture

@g089h515r806, please don't leave subscribe comments anymore. Click the follow button at the top of the issue instead. Thanks.

g089h515r806’s picture

Here we should use t() instead of st().Here is st()'s docs from API.drupal.org:

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.

g089h515r806’s picture

It is a very strange issue, it works on one of my sites, does not work on another site.Both sites on the same server and use the same Drupal base.

cweagans’s picture

Except the error isn't happening at install time. It's happening in a normal bootstrap...I don't think it's a t() thing.

g089h515r806’s picture

we have changed all st to get_t, but the problem still exist.

cweagans’s picture

That's correct. This is not a t()/st()/get_t() related issue. It's something else that's causing the problem.

g089h515r806’s picture

We test with several versions, and at last fallback to video 7.x-2.0-alpha6 , and now it works very well.

studiotaffi’s picture

Same issue on video 7.x-2.3 with ffmpeg on a linux-debian server. Same php error in the apache log.

Mt

hypertext200’s picture

Status: Active » Postponed (maintainer needs more info)

Please send me the PHP log message when you go to white page death page?.

Anonymous’s picture

On 7.x-2.4 I had the same problem with the st() string error and changed st() to t() on every occurrence in TranscoderAbstractionFactoryZencoder.inc and everything works fine with local ffmpeg installed.

Peace and Happy New Year,
Michael

keith.aumiller’s picture

I got this because I had made a backup copy of an include file in the transcoder directory. The logic in the Transcoders.inc scans every file in the transcoders directory.

[Sun Jan 29 13:00:19 2012] [error] [client 68.81.38.169] PHP Fatal error: Class 'TranscoderAbstractionFactoryZencoder.inc' not found in /var/aegir/hostmaster-7.x/sites/all/modules/video/includes/Transcoder.inc on line 219, referer: http://moe.stlouisintegration.com/admin/config/media/video

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Closed because of lack of response. The t() / st() issue is solved, by the way.

altavis’s picture

LAMP, fresh Drupal 7.12, fresh Video 7.x-2.4, same st() error at admin/config/media/video/transcoders

Be aware of automated function name changes, there's a function that matches st() - do it manually!

altavis’s picture

Version: 7.x-2.1-alpha3 » 7.x-2.4
Status: Closed (works as designed) » Active

sorry, status change

Jorrit’s picture

I don't know why you reopened this issue. The t()/st() bug has been fixed in 7.x-2.x-dev. There is no release with that fix yet, but it will be made soon.

Jorrit’s picture

Status: Active » Closed (fixed)