Page 1 of 2
Multimedia content part problems and adding video
Posted: Mon 27. Feb 2006, 21:34
by nnhubbard
I was wanting to add video to one of my pages, so I tried to add the multimedia content part, but with any luck. I was trying to add a .mov file, I used an ftp client to add it to the ftp folder, then I used ftp takeover to bring it into phpwcms. Now, here is where it gets wierd. I figured since it was now in the "file center" that I would be able to use it in the multimedia content part. So I went to add it from the "internal" selection but the file that I am looking for cannot be found in the media browser. It says that there is no multimedia in that folder. So I find this strange.
I next check out if my file is really there, so I look in the phpwcms_filestorage folder to see if my file is there, but there is no file with a .mov extention. But there is a file of the same size, and date, but it has been given the extension .wbmp . A photoshop bitmap file? No, this was my video file, but why when I added it to phpwcms does it change the extension? This is what is preventing me from see the .mov file in the media browser, because it is not recognized as a valid media file because it is not a .wbmp file.
Has anyone had this problem? Not sure why this is happening, or what I have done wrong. I tried uploading both .mov and .mp4 and both had the same extension changing problems. Any help would be GREATLY appreciated!!
using phpwcms ver. 1.2.5
same problem
Posted: Mon 13. Mar 2006, 20:33
by ptjones
I tried it with avi and mpg and the extension was in both cases
xxx.wbmp. but it worked with mp3 or wav files.
Version 1.2.6.
It works on 1.1.4 on the same server !!
how can that occur?
Posted: Tue 14. Mar 2006, 06:15
by DeXXus
May be a problem with your version(s) of PHP (4.3.8 at the time of bug reports):
http://bugs.php.net/bug.php?id=29443
http://www.manucorp.com/archives/php-bu ... g02173.php
May have had same effect for other video types??
Posted: Tue 14. Mar 2006, 07:50
by ptjones
its php 4.3.3 and i have both (1.2.6 and 1.1.4) versions running on the
same server with 1.1.4 it works
Posted: Tue 14. Mar 2006, 10:11
by DeXXus
I didn't know that v1.1RC4 even HAD the multimedia "content part"
Posted: Tue 14. Mar 2006, 17:03
by ptjones
exact that is the strange thing
Posted: Wed 15. Mar 2006, 17:21
by ptjones
no idea?
Re: same problem
Posted: Thu 16. Mar 2006, 05:12
by DeXXus
ptjones wrote:I tried it with avi and mpg
Tried WHAT? You couldn't have been using the multimedia "content part" (like
nnhubbard) in that "older" version... because it wasn't there.
If you mean just using FTP takeover... then the reason is probably because the older version is not programmed to do any checking / classifying of files as WBMP. (There is absolutely no reference to WBMP in v1.1RC4). In other words... that version cannot mark a file type as .WBMP if it does no checking for such.
Don't know if this is a problem caused by later versions of phpWCMS -or- if the "bug" in PHP was present UP THROUGH version 4.38.
Posted: Thu 16. Mar 2006, 09:57
by ptjones
I tried to upload via ftp and direct with the fileupload and in both cases it worked with version 1.1.4. and not with 1.2.6. but it sounds interresting, that 1.1.4 had no filecheck.
this, could be the reason, that a renamed jpg image
xxx.jpg --> xxx.mpg is recogniced as jpg and not as
mpg file.
Posted: Thu 16. Mar 2006, 20:16
by StudioZ
Could it be simply related to one of these two lines in your:
config/phpwcms/conf.inc.php file?
Code: Select all
$phpwcms["imgext_disabled"] = "doc,ppt,pdf,htm,html,shtm,shtml"; //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"] = "aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi"; //comma seperated list of file extensiosn allowed for multimedia
Posted: Thu 16. Mar 2006, 21:03
by DeXXus
Nope! Remove a multimedia extension and it would ~likely~ no longer be recognized (or processed?) as multimedia, RIGHT?
Problem mentioned is ~apparently~ .MOV, .AVI, & .MPG being detected as .WBMP file during FTP takeover (for these two members).
Posted: Thu 16. Mar 2006, 21:09
by StudioZ
I guess then I've been just too lazy to read the whole thread
Location : "Watermelon in Easter Hay" -- F.Z.
Posted: Thu 16. Mar 2006, 21:42
by DeXXus
StudioZ wrote:Location : "Watermelon in Easter Hay" -- F.Z.
AS interesting AS Brautigan's book... in just a lil' SONG:
Central Scrutinizer:
This is the CENTRAL SCRUTINIZER...Joe has just worked himself into an imaginary frenzy during the fade- out of his imaginary song...He begins to feel depressed now. He knows the end is near. He has realized at last that imaginary guitar notes and imaginary vocals exist only in the imagination of The Imaginer...and... ultimately, who gives a fuck anyway...So...So... Excuse me...So...Who gives a fuck anyway? So he goes back to his ugly little room and quietly dreams his last imaginary guitar solo...
(after the song ends)
This is the CENTRAL SCRUTINIZER...As you can see, MUSIC can get you pretty fucked up...Take a tip from Joe, do like he did, hock your imaginary guitar and get a good job...Joe did, and he's a happy guy now, on the day shift at the Utility Muffin Research Kitchen, arrogantly twisting the sterile canvas snoot of a fully-charged icing anointment utensil. And every time a nice little muffin comes by on the belt, he poots forth...
And if this doesn't convince you that MUSIC causes BIG TROUBLE...then maybe I should turn off my plastic megaphone and sing the last song on the album in my regular voice...
Posted: Thu 16. Mar 2006, 22:16
by StudioZ
DeXXus: I love this Frank Zappa's quote !
Joe's Garage (Act I / II) is one of my favorite Zappa album
There's only one Artist/Scenarist on planet earth
who could adapt and put this great Zappa Ĺ“uvre
on scene:
Robert Lepage
He is very well talented and geered for that
His company:
http://www.exmachina.qc.ca
Cheers,
Thanx for the Zappa quote :-))
Posted: Mon 20. Mar 2006, 22:03
by ptjones
No if I upload a file without extension in example xx(without jpg) it will be correctly recognized. so I think the php bug is worth a look.