Closed (fixed)
Project:
Video
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2011 at 18:25 UTC
Updated:
16 Apr 2011 at 11:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hypertext200should be your in PHP 5.3. What is the PHP version?
Comment #2
anglo commentedthe PHP version - 5.3.3-1ubuntu9.3
Comment #3
anglo commentedI read that the ereg() function is no longer used in PHP 5.3 . Instead, the preg_match function should be considered.
Comment #4
anglo commentedSame for 7.x-1.0-alpha1 version.
Deprecated function: Function ereg() is deprecated in video_ffmpeg->get_dimensions() (line 258 of /sites/all/modules/video/transcoders/video_ffmpeg.inc).
Comment #5
Anonymous (not verified) commentedI'm experiencing the same problem.
Did anyone find a solution for this already?
Thanks
Comment #6
404 commentedI had the same warning.
Comment #7
hypertext200In video_ffmpeg.inc
line 258:
replace with
This has been added to the dev release, please test the dev release and update the status here. Changing the need review
Comment #8
anglo commentedThe error has gone but new appeared:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '?' in video_ffmpeg->get_dimensions() (line 259 of sites/all/modules/video/transcoders/video_ffmpeg.inc).
Notice: Undefined variable: regs in video_ffmpeg->get_dimensions() (line 259 of sites/all/modules/video/transcoders/video_ffmpeg.inc).
Is it connected with http://drupal.org/node/1103942 ?
Comment #9
hypertext200No.
This is a regx issue. I will fix that soon.
Comment #10
hypertext200Comment #11
anglo commentedPatched. I get the following error:
Warning: preg_match() [function.preg-match]: Unknown modifier '?' in video_ffmpeg->get_dimensions() (line 259 of sites/all/modules/video/transcoders/video_ffmpeg.inc).
Comment #12
hypertext200Comment #13
anglo commentedPatched. The error 's been fixed.
Comment #14
anglo commentedThank you.