Closed (fixed)
Project:
Video
Version:
7.x-2.4
Component:
Video Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2011 at 09:30 UTC
Updated:
12 Mar 2012 at 20:51 UTC
Jump to comment: Most recent
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
Comment #1
hypertext200Did you upgrade from any other version or is this a new installation?
Comment #2
hypertext200What I can suggest is go to database and find variables table then search for
video_convertorand delete that variable. It will work or run update.phpComment #3
beijinger commentedheshan, 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!
Comment #4
hypertext200Please check the php log and paste what is the issue?
Comment #5
beijinger commentedPHP 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?
Comment #6
hypertext200This is not a video issues, please check your Drupal installation.
Comment #7
hypertext200Comment #8
beijinger commentedI 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!
Comment #9
cweagansI'm having this problem with 7.x-2.x-dev right now. Not sure what the problem is.
Comment #10
g089h515r806 commentedsubscribe+
Comment #11
cweagans@g089h515r806, please don't leave subscribe comments anymore. Click the follow button at the top of the issue instead. Thanks.
Comment #12
g089h515r806 commentedHere 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.
Comment #13
g089h515r806 commentedIt 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.
Comment #14
cweagansExcept the error isn't happening at install time. It's happening in a normal bootstrap...I don't think it's a t() thing.
Comment #15
g089h515r806 commentedwe have changed all st to get_t, but the problem still exist.
Comment #16
cweagansThat's correct. This is not a t()/st()/get_t() related issue. It's something else that's causing the problem.
Comment #17
g089h515r806 commentedWe test with several versions, and at last fallback to video 7.x-2.0-alpha6 , and now it works very well.
Comment #18
studiotaffi commentedSame issue on video 7.x-2.3 with ffmpeg on a linux-debian server. Same php error in the apache log.
Mt
Comment #19
hypertext200Please send me the PHP log message when you go to white page death page?.
Comment #20
Anonymous (not verified) commentedOn 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
Comment #21
keith.aumiller commentedI 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
Comment #22
Jorrit commentedClosed because of lack of response. The t() / st() issue is solved, by the way.
Comment #23
altavis commentedLAMP, 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!
Comment #24
altavis commentedsorry, status change
Comment #25
Jorrit commentedI 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.
Comment #26
Jorrit commented