Hi,
I'm currently trying to get CPG to add some video files to the database ( i.ve already uploaded them to my web server ). The files range between 1.2 - 2.5 GB in size. I keep getting the message "no new file was found". I have checked and re-checked that I have used the correct syntax for the thumbnail image, i.e.:
file1.avi corresponds to thumb_file1.jpg
Initially I thought that it was Apache that was the problem as I was running ver 1.3.34 and so I installed ver. 2.2 which has Large File support. When I tried to access the files just via Apache ( i.e. from a basic directory and not using PHP, etc ) it now worked, whereas before I just got an error. I went back to trying to add the AVI files to the CPG database via the "batch add files" and still it was the same old message "no new file was found" yet the syntax for the files and thumds was fine. I then looked around to see if PHP was the problem and compiled in the following CFLAGS into PHP :
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
I thought again that this would do the trick yet i'm no nearer solving this, it would seem. Can CPG handle files which have already been uploaded which are greater than 1GB in size? what else can I try?
p.s. I tried establishing beyond doubt that it is a file size issue buy copying over a 500mb file from another directory and renaming it it to the exact same filename in the exact same directory of the 1GB+ file that I was trying to add. This worked fine and CPG had no problem adding the smaller file so it is a file size issue
Regards, Mark