Welcome Guest, Not a member yet? Register   Sign In
Invalid argument supplied for foreach()
#11

[eluser]SaSa[/eluser]
[quote author="NeoArc" date="1311878565"]Try this (var_export() it first ):

$config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;[/quote]

Where do I use this(var_export() it first )?
replaced this: $config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;
with: $config['upload_path'] = './uploads/';


still there is same problem...
#12

[eluser]DirkZz[/eluser]
[quote author="SaSa" date="1311881291"][quote author="NeoArc" date="1311878565"]Try this (var_export() it first ):

$config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;[/quote]

Where do I use this(var_export() it first )?
replaced this: $config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;
with: $config['upload_path'] = './uploads/';


still there is same problem...[/quote]

Maybe spend your time by reading the basics of php instead of constantly changing your nickname and asking for basic stuff.

I really want to help people, but this is getting annoying.
#13

[eluser]SaSa[/eluser]
[quote author="DirkZz" date="1311881674"][quote author="SaSa" date="1311881291"][quote author="NeoArc" date="1311878565"]Try this (var_export() it first ):

$config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;[/quote]

Where do I use this(var_export() it first )?
replaced this: $config['upload_path'] = FCPATH.'uploads'.DIRECTORY_SEPARATOR;
with: $config['upload_path'] = './uploads/';


still there is same problem...[/quote]

Maybe spend your time by reading the basics of php instead of constantly changing your nickname and asking for basic stuff.

I really want to help people, but this is getting annoying.[/quote]

what!!!!!!!!!!!!!!!!!!!!!!!!!!!!?
Please help me instead of teaching the ethics issue to be resolved.
I did not insult anyone,i respect you.
Please give comments to solve the problem?
#14

[eluser]SaSa[/eluser]
Please help me...
#15

[eluser]NeoArc[/eluser]
Did you found out what var_export() do?
#16

[eluser]nikes[/eluser]
multi upload for file, Please help me…
#17

[eluser]fornyhucker[/eluser]
try this:
Code:
...
if ($error_upload) {
            $this->set_error($error_hold);
            return FALSE;
        } else {
            var_dump($file_list);
            exit;
        }    
    }
and you see what your function return, maybe its not an array.




Theme © iAndrew 2016 - Forum software by © MyBB