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 [2]   Go Down

Author Topic: FTP partial video list  (Read 12274 times)

0 Members and 1 Guest are viewing this topic.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: FTP partial video list
« Reply #20 on: June 01, 2006, 09:01:51 pm »

Oops.  I made a mistake in the code above.  The variable in the picrow() function is $picname, not $file.  I changed the code above.
Logged

fabrozor

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: FTP partial video list
« Reply #21 on: June 01, 2006, 09:30:51 pm »

IIIIITTTTT WWWWWOOOOOORRRRRRKKKKKKK !!!!!!!!!!!!!!!!!!!!!!!  :o
PAVER YOU'RE A GOD !!!!!!!!!!!!!!!!!!!!!!   :o ;D ;D ;D ;D ;D ;D

I pm you the link so you can take a look and enjoy  ;D ;D ;D

Thank you very very much for your precious help.
About the video, if some seems not to start , just hit "reload" and it should fix it.
« Last Edit: June 01, 2006, 09:36:18 pm by fabrozor »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: FTP partial video list
« Reply #22 on: June 01, 2006, 09:48:27 pm »

I'm still very curious why is_file() and is_readable() didn't work with your larger files.

Oh well.  Too many things to do to dwell on this issue.

I'm glad the work-around worked.
Logged

fabrozor

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: FTP partial video list
« Reply #23 on: June 01, 2006, 10:00:17 pm »

Well, this problem occurs with other people on the same Internet Provider that host our files.
So it's probably a server side configuration problem.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP partial video list
« Reply #24 on: June 01, 2006, 11:15:44 pm »

Let's check if the large video files are accessible in the first place: please post a deep link to one of the video files that you're having issues with.
Logged

fabrozor

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: FTP partial video list
« Reply #25 on: June 01, 2006, 11:46:34 pm »

What does "deep link" mean ?
A direct link in an Html page worked fine.

The Coppermine_gallery problem was fixed with paver solution.

But something strange. If i display the files info (size, ...) in the coppermine options, the 55Mo video display a size of 0Ko.
Well i upload all my video again to be sure there was no FTP transfert problem.
« Last Edit: June 01, 2006, 11:57:13 pm by fabrozor »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: FTP partial video list
« Reply #26 on: June 02, 2006, 12:38:47 am »

Yeah, if is_file() and is_readable() don't work, then the function filesize() probably won't work as well - hence the empty filesizes you see in the file information.

Double-check the group owner for the files and the permissions.  Make sure the 5 that show up fine are exactly the same as the rest.  I don't understand how all these functions would fail just because of the filesize being too big, but if that's the only common denominator, then I guess that must be what it is.

A "deep link" means a link directly to the video file, either through Coppermine's displayimage.php URL or to the file itself.  You're correct that if a link on an HTML page works fine, then the webserver is fine with the files.  However, the PHP execution *may* be run as a different owner - I think I've read that, although I don't really know.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP partial video list
« Reply #27 on: June 02, 2006, 08:43:18 am »

If you don't know what a "deep link" is, a regular link would be a good start too ;)
Logged

fabrozor

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: FTP partial video list
« Reply #28 on: June 02, 2006, 10:13:09 am »

@ Paver : i wonder how i can check who is the owner of the file (that are hosted on my internet provider server).

@ GauGau : sorry but i'm not english and i do my best to anderstand.
I wonder how to put an avatar in my profile !?
« Last Edit: June 02, 2006, 10:29:02 am by fabrozor »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP partial video list
« Reply #29 on: June 02, 2006, 10:19:47 am »

...then post a link to your coppermine gallery, for Christ's sake!
Logged

fabrozor

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: FTP partial video list
« Reply #30 on: June 02, 2006, 10:30:48 am »

lol, i knew since your first answer you didn't want to help but only be sarcastic.
And you come now, as all is finished, only to see my private photos and videos ... but sorry, for now the FTP upload is not finished (as i'm re-uploading).

You can use your administrator rights to "punish" me. Arghh ! negativ karma ! it hurts !
Oh by the way, for the second time i wonder how to put an avatar in my profile, thank you for your help (will you finally help ?)

{i edited this message as an answer, after you closed the thread}
« Last Edit: June 02, 2006, 10:05:15 pm by fabrozor »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP partial video list
« Reply #31 on: June 02, 2006, 10:36:34 am »

Editing out your initial postings, making the replies look silly is bad and selfish behaviour. If you want further support, respect board rules and common sense. Locking this thread now, giving negative karma.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.019 seconds with 19 queries.