Welcome Guest, Not a member yet? Register   Sign In
The upload path does not appear to be valid
#1

[eluser]Mitja[/eluser]
After the night upload not working any more.
All the time i get error of The upload path does not appear to be valid.

Code:
$config['upload_path'] = './uploads/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size']    = '100';
$config['max_width']  = '1024';
$config['max_height']  = '768';
        
$this->load->library('upload', $config);
$field_name = "title_photo";

folder uploads exist. I try everything but still get this error. I search but i did not find solution.

Quote:var_dump(is_dir('./uploads/'));
var_dump($_SERVER['SCRIPT_FILENAME']);

gives me

Quote:boolean true
string 'C:/HTTPSERVER/wwwroot/bewoop/index.php' (length=38)

so dir is readable.

Quote:$this->upload->initialize($config);

also not working.

Any idea why?
#2

[eluser]Asinox[/eluser]
is only read?




Theme © iAndrew 2016 - Forum software by © MyBB