Invalid argument supplied for foreach() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Invalid argument supplied for foreach() (/showthread.php?tid=43898) Pages:
1
2
|
Invalid argument supplied for foreach() - El Forum - 07-28-2011 [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... Invalid argument supplied for foreach() - El Forum - 07-28-2011 [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. Invalid argument supplied for foreach() - El Forum - 07-28-2011 [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? Invalid argument supplied for foreach() - El Forum - 07-28-2011 [eluser]SaSa[/eluser] Please help me... Invalid argument supplied for foreach() - El Forum - 07-28-2011 [eluser]NeoArc[/eluser] Did you found out what var_export() do? Invalid argument supplied for foreach() - El Forum - 07-29-2011 [eluser]nikes[/eluser] multi upload for file, Please help me… Invalid argument supplied for foreach() - El Forum - 07-29-2011 [eluser]fornyhucker[/eluser] try this: Code: ... |