Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: problem w/ media files other than WMV  (Read 3619 times)

0 Members and 1 Guest are viewing this topic.

cxprod

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
[Solved]: problem w/ media files other than WMV
« on: July 07, 2004, 12:57:24 pm »

I have a few galleries set up w/ a video category. The WMV files play great, even behind an .htaccess hotlink protection.

I uploaded an .avi and a .mpg file to one of the galleries and they will not play.
The .avi just doesn't do anything... its like the file isn't even there.

The .mpg looks like its going to load in quicktime (which I do have installed on my computer) and then it just turns into a small quicktime logo where the video should be.

When I go to specify which media files to allow I get this error at the top of my page...  once for each album with a video file

Warning: getimagesize: Unable to open '' for reading. in /usr/home/colette/websites/colettex.com/members/gallery/index.php on line 606


and then the thumbs of all the videos including the .wmv files are small 1x1 pixel images and they won't open.

I tried three different ways of entering the file types in the Allowed movie types instead of ALL and got the same error each time... with and without the .htaccess file.

I then tried to specify all the image and video files in the Allowed image types and I got the same error... only this time for each album that i have in the gallery.

Is there something I can edit to keep this from happening and get the movie files to work?

btw... these avi and mpg files do play just fine on my hard drive and from my server when they are not located inside the gallery
« Last Edit: July 08, 2004, 06:36:03 am by GauGau »
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: problem w/ media files other than WMV
« Reply #1 on: July 07, 2004, 01:03:22 pm »

It seems like you've modified something. (Provide a link.) You shouldn't have to change any settings in config, unless you want to disallow something.


-omni
Logged

cxprod

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: problem w/ media files other than WMV
« Reply #2 on: July 07, 2004, 05:30:43 pm »

The site is adult related... otherwise i would provide a link..

I did modify the displayimage.php file.. i commented out some of the image information so the url, size and a few other things wouldn't be displayed under the image...

i just uploaded a freshly extracted displayimage.php file from the zip file and it looks like its working..
the .avi files completely load before they play.. and the mpg only shows a portion of the file but i read in another thread that actually specifying the size of the movie will fix that problem.. i'm going to try and figure out that now..

Thanks.... sorry for the post when the fix was so easy...

great job on CPG btw!  I love it
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: problem w/ media files other than WMV
« Reply #3 on: July 08, 2004, 12:17:52 am »

Glad you got it sorted yourself.

There is no problem with providing a link to an adult site here, provided you give a good warning with it.

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

cxprod

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: [Solved]: problem w/ media files other than WMV
« Reply #4 on: July 08, 2004, 06:00:29 pm »

Thanks Casper...

the gallery in question is behind a password protection so I really couldn't give out the link...  :P
Logged
Pages: [1]   Go Up
 

Page created in 0.068 seconds with 15 queries.