Issues and their resolutions with multiple file load
- var_dump( Input::file("file_field") ) == NULL, for multiple file uploading but works fine for one file.
- Check if you have max_upload_file and max_post_size set very low in php.ini file
- Input::file("file_field") is giving only one file object.
- Verify that you have file filed set with name attribute containing brackets . eg. Form::file("file_name[]") .
- If you're doing some image processing you then might need to extend memory_limit.
ini_set('memory_limit', '64M'); >> Set it to ini_set('memory_limit', -1)
Stack trace:
Error Say's that you need to increase memory for your application. Where? In php.ini file.
If you don't have access? then increase dynamically using ini_set()
4. Consult your laravel log file if you face any other error . Log file you may find inside storage/log folder.
eg. path/to/your/application/app/storage/logs
No comments:
Post a Comment