Welcome Guest, Not a member yet? Register   Sign In
uploaded file exceeds the maximum allowed size
#7

[eluser]Tartaron[/eluser]
I checked both of your solutions and I still have the same problem, in my php.ini I have:

post_max_size = 80M
upload_max_filesize = 20M

also checked the phpinfo() and it´s not set to integer

I sent the file size as part of the error report with

Code:
set_time_limit(0);
ini_set("upload_max_filesize",25);
$nombre_video = $_FILES['video']['name'];
$size = $_FILES['video']['size'];
            
$vconfig['upload_path'] = './assets/uploads/video/';
$vconfig['allowed_types'] = 'flv';
$vconfig['max_size']= '0';
            
$this->load->library('upload', $vconfig);
            
    
if ( !$this->upload->do_upload('video'))
{
    echo $this->upload->display_errors();
    echo $nombre_video.': ';
    echo $size.' bytes';
}

and I got this
The uploaded file exceeds the maximum size allowed by the submission form.
A001 video.flv: 0 bytes


Messages In This Thread
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 05:27 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 06:32 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 06:36 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-09-2011, 01:48 PM
uploaded file exceeds the maximum allowed size - by El Forum - 06-09-2011, 11:15 PM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 01:39 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 09:53 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 11:12 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-11-2011, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB