coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: superstan on December 16, 2004, 07:43:22 PM

Title: O upload sucessful when trying to upload video
Post by: superstan on December 16, 2004, 07:43:22 PM
im trying to upload videos wmv and mpeg - ive renamed them to simple name with no special charecters - but it still says 0 uploads were sucessful - these are well bellow the maximum size linmit - what do do ???
Title: Re: O upload sucessful when trying to upload video
Post by: Tranz on December 16, 2004, 07:47:08 PM
Did you also set your php settings to allow max upload size to accommodate the larger video sizes? Check your phpinfo in Admin Tools
Title: Re: O upload sucessful when trying to upload video
Post by: superstan on December 16, 2004, 08:04:54 PM
yes i did - i think i need to create a temp file - do i put it in the same folder where my gallerty is or my root directory - as there already seems to be on in the root
Title: Re: O upload sucessful when trying to upload video
Post by: kegobeer on December 16, 2004, 08:12:44 PM
Are you running your own server?  What OS (Windows, *nix) are you running?  Is the tmp directory writable?  Do you have a tmp directory set in php.ini?
Title: Re: O upload sucessful when trying to upload video
Post by: superstan on December 16, 2004, 08:32:51 PM
the galllery was autoinstaled by the server - this is the error massage

Undefined offset: 2 in /hometemp/planetd/public_html/photoes/upload.php on line 250

Notice: Undefined offset: 3 in /hometemp/planetd/public_html/photoes/upload.php on line 256

Notice: Undefined offset: 4 in /hometemp/planetd/public_html/photoes/upload.php on line 256

USER:
------------------
Array
(
    [ID] => 972176f53e18fc8d82e344f207b31c83
    [am] => 1
    [liv] => Array
        (
           
Title: Re: O upload sucessful when trying to upload video
Post by: kegobeer on December 17, 2004, 01:28:05 AM
That isn't an error message, it's just debug output.  The notices don't matter at all.

Why do you think you need to create a new tmp directory?  Have you received any errors saying the tmp directory isn't writable?
Title: Re: O upload sucessful when trying to upload video
Post by: Joachim Müller on December 17, 2004, 01:49:23 AM
set metod for file upload to "Single files only" in "groups" temporarily, with debug_mode enabled: should give you a more detailed error message what exactly went wrong.

Joachim
Title: Re: O upload sucessful when trying to upload video
Post by: superstan on December 17, 2004, 10:17:41 AM
its not an error message as such - it say zero files were uloaded - these files are 30MB - i set the limit to 51mb

it allows uploads of 1-2 mb - but wont seem to accept the larger files - ive noticed at the bottom of here
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M

it says max file uplad 2m - is that the problem - how do i change that parameter ?
Title: Re: O upload sucessful when trying to upload video
Post by: Casper on December 17, 2004, 01:25:37 PM
I would say that is certainly the problem.  30mb is considerably bigger than 2mb.

If the server is your own, you can change it, if you are hosted, you need to ask your host.