hello
so here i go again, i install gallery 2 a go well so well, then i want to set netpbm and ffmepg and appears problems, i upload to my root server, netpbm and try with all the binaries of ffmepg i found and alwaays i faund the same problem this is the debug report
realpath(http://seha.com.ar/ffmepg)
realpath(/sesiones/)
realpath(/www/)
realpath(/tmp)
realpath(/usr/local/php4/lib/php/)
realpath(/mail/)
Executing: ( "http://seha.com.ar/ffmepg" "-formats" )
2>/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgPf1DFu
file_exists(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgPf1DFu)
filesize(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgPf1DFu)
fopen(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgPf1DFu, r, 0)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fclose(Resource id #100)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgPf1DFu)
Regular Output:
Error Output:
sh: line 1: http://seha.com.ar/ffmepg: No such file or directory
Status: 127 (expected 0)
Executing: ( "http://seha.com.ar/ffmepg" "-h" )
2>/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgdau9vR
file_exists(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgdau9vR)
filesize(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgdau9vR)
fopen(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgdau9vR, r, 0)
feof(Resource id #102)
fgets(Resource id #102, 4096)
feof(Resource id #102)
fgets(Resource id #102, 4096)
feof(Resource id #102)
fclose(Resource id #102)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgdau9vR)
Regular Output:
Error Output:
sh: line 1: http://seha.com.ar/ffmepg: No such file or directory
Status: 127 (expected 0)
so i install the binaries in de gallery2 folder on my server an put the path an allways the same answer there is no binary on this path.
i change de chmod also
a i dont know what can i do
any help is welcome
regards
popovsky
Posts: 36
i found this http://sourceforge.net/project/showfiles.php?group_id=122353&package_id=133626
ffmpeg - php
is this work with gallery?
are in some place the binaries for linux apache located?
saludos
popovsky
Posts: 25939
Looks to me like you entered the wrong path.
Does the ffmpeg binary work from the comand line?
Did you compile the ffmpeg binary yourself or did you find a precompiled binary for your server?
The title says netpbm as well...what is the trouble with netpbm?
Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 36
thanx for answer, i dont compile anithing i dont know how yo do.
about netpbm it pass only 1 of the 4 test, and for that keeps in the opcion configure
if i put the binaries in gallery2 folder the path must be "http://webroot/gallery2/netbpm/" is that correct?
about de ffmpeg, i took diferent versions of ffmpèg i found in the forum,is some place in the web where i can fond the binaries working for linux apache server?.
because in the ffmepg page are no binaries. or is some other alternative thats working well with gallery? what about mplayer?. it is good?
thanx a lot for answer an if need more information just ask.
saludos popovky
Posts: 36
this what happens with image magick
realpath(http://seha.com.ar/imagemagick/imagemagick/)
realpath(/sesiones/)
realpath(/www/)
realpath(/tmp)
realpath(/usr/local/php4/lib/php/)
realpath(/mail/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/)
file_exists(http://seha.com.ar/imagemagick/imagemagick/gm)
realpath(http://seha.com.ar/imagemagick/imagemagick/identify)
realpath(/sesiones/)
realpath(/www/)
realpath(/tmp)
realpath(/usr/local/php4/lib/php/)
realpath(/mail/)
getParameter exec.beNice for core plugin
Executing: ( "http://seha.com.ar/imagemagick/imagemagick/identify"
"/www/seha.com.ar/htdocs/gallery2/modules/imagemagick/data/test.gif" )
2>/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg4vSw5I
getParameter exec.expectedStatus for core plugin
file_exists(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg4vSw5I)
filesize(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg4vSw5I)
fopen(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg4vSw5I, r, 0)
feof(Resource id #96)
fgets(Resource id #96, 4096)
feof(Resource id #96)
fgets(Resource id #96, 4096)
feof(Resource id #96)
fclose(Resource id #96)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg4vSw5I)
Regular Output:
Error Output:
sh: line 1: http://seha.com.ar/imagemagick/imagemagick/identify: No such
file or directory
Status: 127 (expected 0)
realpath(/www/seha.com.ar/htdocs/gallery2/modules/core/classes/../../..)
Binding text domain: modules_imagemagick ->
/www/seha.com.ar/htdocs/gallery2/modules/imagemagick/locale
file_exists(http://seha.com.ar/imagemagick/imagemagick/gm)
tempnam(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/, imgk_)
realpath(http://seha.com.ar/imagemagick/imagemagick/convert)
realpath(/sesiones/)
realpath(/www/)
realpath(/tmp)
realpath(/usr/local/php4/lib/php/)
realpath(/mail/)
Executing: ( "http://seha.com.ar/imagemagick/imagemagick/convert" "-size"
"200x200" "-geometry" "200x200"
"/www/seha.com.ar/htdocs/gallery2/modules/imagemagick/data/test.gif"
"/www/seha.com.ar/htdocs/gallery2/g2data/tmp/imgk_gcRd8n" )
2>/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgan26m3
file_exists(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgan26m3)
filesize(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgan26m3)
fopen(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgan26m3, r, 0)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fclose(Resource id #98)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbgan26m3)
Regular Output:
Error Output:
sh: line 1: http://seha.com.ar/imagemagick/imagemagick/convert: No such
file or directory
Status: 127 (expected 0)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/imgk_gcRd8n)
file_exists(http://seha.com.ar/imagemagick/imagemagick/gm)
file_exists(http://seha.com.ar/imagemagick/imagemagick/combine)
file_exists(http://seha.com.ar/imagemagick/imagemagick/composite)
file_exists(http://seha.com.ar/imagemagick/imagemagick/gm)
tempnam(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/, imgk_)
Executing: ( "http://seha.com.ar/imagemagick/imagemagick/composite"
"-geometry" "+0+0"
"/www/seha.com.ar/htdocs/gallery2/modules/imagemagick/data/test.jpg"
"/www/seha.com.ar/htdocs/gallery2/modules/imagemagick/data/test.gif"
"/www/seha.com.ar/htdocs/gallery2/g2data/tmp/imgk_o4SfEJ" )
2>/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg0PLzZp
file_exists(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg0PLzZp)
filesize(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg0PLzZp)
fopen(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg0PLzZp, r, 0)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fgets(Resource id #100, 4096)
feof(Resource id #100)
fclose(Resource id #100)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/g2dbg0PLzZp)
Regular Output:
Error Output:
sh: line 1: http://seha.com.ar/imagemagick/imagemagick/composite: No such
file or directory
Status: 127 (expected 0)
unlink(/www/seha.com.ar/htdocs/gallery2/g2data/tmp/imgk_o4SfEJ)
chdir(/www/seha.com.ar/htdocs/gallery2)
the same thing, its posibly , i dont do something?
what is wrong, with those things
regards
popovsky
Posts: 25939
No. Path is similar to your config.php setting for where you put the g2 data directory.
like
$gallery->setConfig('data.gallery.base', '/home/user/langleyc/g2data/');You have to compile it for your server if the pre compiled versions don't work. Each server is configured differently and have dependencies of other libraries on the server.
Same with mplayer you have to compile it on your server of find one that works for your server.
Ask you host to install ffmpeg for you and ask them for the path when they are done.
Ask you host if they have ImageMagik installed and if they do what is the path.
If they don't then there is netpbm from the download page on this site.
Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 36
i have 2 more question,
1 its something i need to write in the config.php that i forgot?
2 how i compile the ffmpeg for my server? in fact how i compile something?
i try to a new path similar to the g2data, but doesent work
saludos
popovsky
Posts: 25939
1. no. You need to find the path to where you installed the binary.
2. get ffmpeg and read the install directions If you only had ftp access you will not be able to compile ffmpeg or mplayer
Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 36
floridave thanx for answer, finally install fmpeg but not suport any tipe of video, in the test results i found this
Supported MIME Types
The FFMPEG module can support files with the following MIME types
video/x-ms-asf
video/x-msvideo
video/quicktime
video/mpeg
video/x-ms-wmv
only support mpeg, is that normal?
saludos
popovsky
Posts: 36
i found something, depend of the navigator (dont try with asf movies)
in ie everything go bad except mpeg movies (mov and wmv appears to download)
in firefox everything go well (nothing new, jaja)
in netscape everything go well (dont try with mpeg)
in opera only quicktime movies go well (dont try mpeg)
saludos
popovsky
pd: one more question, its posibly to put a download movie option?
Posts: 25939
Embedded support for movies is better in 2.2.
Download movie option is in 2.2 as well.
Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 36
the download movie option only apears if the sistem dont recognize de movie format, but if it is, the button dont appera , if i want to do the option to people to dowload de movie if they like, were i can find this opcion, its not a option of the movie, and dont appears automatically.
thanx in advance (its good to practice my english, is too bad)
popovsky
Posts: 36
hello again, i can install netbpm and ffmepg, but still cant find the download button,
i have de gallery 2,1 installed and i upgrade to gallery 2,1,2 via replacing (is this word exist????) the folders on my server on ftp, then i run gallery but is still the same.
its some step i forgot?
yes im boring, but its my first time with this, iam an actionscript developer, i dont know nothig about this
so thanx in advance
popovsky
Posts: 25939
You will have to wait for 2.2 to be released. It is not out yet.
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 36
ok thanx, ill be waiting for 2.2
popovsky