Multimedia content part problems and adding video

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
nnhubbard
Posts: 8
Joined: Mon 27. Feb 2006, 21:22

Multimedia content part problems and adding video

Post 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
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

same problem

Post 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?

Image
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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??
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I didn't know that v1.1RC4 even HAD the multimedia "content part" :oops:
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post by ptjones »

exact that is the strange thing
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post by ptjones »

no idea?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: same problem

Post 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. :wink:

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. :roll:
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post 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.
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post 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
:roll:
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Nope! Remove a multimedia extension and it would ~likely~ no longer be recognized (or processed?) as multimedia, RIGHT? :wink:

Problem mentioned is ~apparently~ .MOV, .AVI, & .MPG being detected as .WBMP file during FTP takeover (for these two members). :(
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

I guess then I've been just too lazy to read the whole thread :wink:
Location : "Watermelon in Easter Hay" -- F.Z. :wink:
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

StudioZ wrote:Location : "Watermelon in Easter Hay" -- F.Z. :wink:
AS interesting AS Brautigan's book... in just a lil' SONG: 8)
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...
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

DeXXus: I love this Frank Zappa's quote ! 8)
Joe's Garage (Act I / II) is one of my favorite Zappa album 8)
There's only one Artist/Scenarist on planet earth
who could adapt and put this great Zappa œuvre
on scene: Robert Lepage :wink:
He is very well talented and geered for that 8)
His company: http://www.exmachina.qc.ca

Cheers,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Thanx for the Zappa quote :-))

Post 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.
Last edited by ptjones on Mon 20. Mar 2006, 22:51, edited 1 time in total.
Post Reply