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: MOV File Upload problem  (Read 8153 times)

0 Members and 1 Guest are viewing this topic.

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
MOV File Upload problem
« on: December 15, 2005, 03:17:21 am »

Hi there.

Just to let you know I have searched this forum for solution before posting, and checked as much as I could before asking here.

I have a problem uploading MOV files. WMVs and JPGs seem to work OK, but when I try to upload MOV, I get a message saying "O fIles were uploaded". Not a serious looking error, but I know that the upload did not work.
I've checked as many relevant settings as I can see, and found nothing really amiss.

The server is a Red Hat (Fedora 4) box that I run here in my office. Its address is gallery.hainsnet.com.
Below is the debug dump that is requested.

Please advise.

Thanks
Greg
************************* ???


USER:
------------------
Array
(
    [ID] => 96cac2bc13039fc13184c3c861752807
    [am] => 1
    [liv] => Array
        (
           
  • => 4
  • [1] => 3
                [2] => 5
                [3] => 2
                [4] => 1
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => hainsnet
    [user_password] => ********
    [user_lastvisit] => 2005-12-15 11:44:39
    [user_regdate] => 2005-11-23 10:56:51
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg135_filetypes;
  • [1] => SELECT * FROM cpg135_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'e796b231a8d05ffd95f733f61b5038d0'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg135_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg135_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg135_banned WHERE expiry < '2005-12-15 11:45:13'
        [5] => SELECT * FROM cpg135_banned WHERE ip_addr='150.101.3.162' OR ip_addr='150.101.3.162' OR user_id=1
        [6] => SELECT aid, title FROM cpg135_albums WHERE category < 10000 ORDER BY title
        [7] => SELECT aid, title FROM cpg135_albums WHERE category='10001' ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
       
[URI_array] => Array
        (
           
  • =>
  • [1] =>
                [2] =>
            )

       
[control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.0.4 - OK
------------------
mySQL version: 4.1.15
------------------
Coppermine version: 1.3.5
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 4.1.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2.2
Linked Version 1.2.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/pear | .:/usr/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.146 seconds - 8 queries in 0.007 seconds - Album set :
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: MOV File Upload problem
« Reply #1 on: December 15, 2005, 04:08:28 am »

Don't post debug output unless requested.

Troubleshooting the upload process.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOV File Upload problem
« Reply #2 on: December 15, 2005, 05:26:01 am »

Thanks for the prompt reply. Sorry for the debug info - it just seemed to be helpful to those answering other jobs.
I have changed the Single File Upload option and that did not help - simply said to check if File Uploads were enabled (or words to that effect)

The site is http://gallery.hainsnet.com. The non-admin user to test with is "troubleshoot" and it's password is "coppermine".
Any help you can give me is appreciated.

Cheers,
Greg
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: MOV File Upload problem
« Reply #3 on: December 16, 2005, 05:58:57 pm »

I was able to upload just fine, see http://gallery.hainsnet.com/displayimage.php?pos=-368
Maybe your upload timed out if the video file is too large. You (as admin) should use FTP-upload plus batch-add anyway. If this doesn't solve your issue, do as suggested in the troubleshooting tut and enable debug_mode for everyone.
Logged

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOV File Upload problem
« Reply #4 on: December 23, 2005, 02:20:52 am »

Hi.

I saw the post you uploaded and that is a JPG file - I have no problems with JPG or WMV files - only MOV (Quicktime). I have even tried a 200K MOV file that it wont accept so it's not a size issue.
Any other ideas please?

Greg
Logged

Nibbler

  • Guest
Re: MOV File Upload problem
« Reply #5 on: December 23, 2005, 02:30:23 am »

I've uploaded a mov file to your gallery fine, there is no reason why a specific file type should fail to upload.
Logged

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOV File Upload problem
« Reply #6 on: December 23, 2005, 03:20:34 am »

Hi Nibbler.

Thanks for the prompt reply. I just did some further tests pertaining to the file size and found that I could upload a 730KB MOV file (dont belive Ive changed anything, but hey...), but was unable to upload a 4.8MB file. I have checked the upload size limit in Config and that is set to 20000KB (I assume 20000 is the correct format), so are there any other settings I need to check please? The biggest file I would need to upload is less than 20MB.

Cheers,
Greg
Logged

Nibbler

  • Guest
Re: MOV File Upload problem
« Reply #7 on: December 23, 2005, 03:23:46 am »

Look at the debug info you posted - your upload_max_filesize is set to 2MB. That's a server setting (php.ini), not a Coppermine setting.
Logged

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOV File Upload problem
« Reply #8 on: December 23, 2005, 03:34:16 am »

Nibbler.

Found the offending line in the PHP.INI and ammended it. Thanks for your help  - I am fairly new to Linux and this "extra-Coppermine" support is appreciated. I will test it now and see how it goes.

Cheers,
Greg
Logged

hainsnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: MOV File Upload problem
« Reply #9 on: December 23, 2005, 03:44:58 am »

Hi. Me again. Sorry.

Amended that file then rebooted the server - to ensure the settings took properly - but still no luck uploading larger files. I go to the Upload file screen, load a single file, and after the little progress bar on the bottom of the browser flikers for a few seconds, it returns to the screen where I am prompted to locate a file for upload - just as if my input for the file location had been removed. No error message.

Greg
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.