When submitting news it does not go through it shows error:
"Warning Error uploading image"
When i'm not uploading a image? below is the debug from e107 debug.


Any help on this would be great thanks in advance.
I do not select any image to load and I get the same error, and Undefined index: submitnews_media, Line 390 of /home/xxx/yyy/clan-toro.es/submitnews.php
I think that problem is here:
// ==== Process File Upload ====
if (FILE_UPLOADS && !empty($_FILES['file_userfile']) && vartrue($pref['subnews_attach']) && vartrue($pref['upload_enabled']) && check_class($pref['upload_class']))
{
$uploaded = e107::getFile()->getUploaded(e_UPLOAD, 'unique', array('file_mask' => 'jpg,gif,png', 'max_file_count' => 3));
if (empty($uploaded)) // Non-specific error
There is test: !empty($_FILES['file_userfile']) but $_FILES is array, so its not empty.

@chory Please try the updated file. Thank you @Jimmi08
OK thanks, works fine.
But e107_admin/newspost.php?[debug=everything+] show a blank page.
Earlier I do not know, as I could not send news.
No problems with php5. No blank page.
Thank you both.
I will try with php5
[edited]
Versi贸n de PHP
5.6.31
MySQL
5.5.57-cll
Base de datos: xxxxx
PDO: Habilitado
Mode: NO_ENGINE_SUBSTITUTION
blank/white page
[edited]
Versi贸n de PHP
5.4.45
blank/white page
Clean caches (E107 admin area & browser), and try again, please...
It's done
Everything remains the same
A white page represents an error. Please check for error_log in the root directory.
A white page represents an error. Please check for error_log in the root directory.
Or in your Apache error log through the webhosting control panel
No log file, or empty file
[Solved]
I activated display_errors in server and show me error in _ /e107_languages/Spanish/admin/lan_newspost.php on line 142_
@chory Is it a problem in the official v2.1.6 language pack? ( @Norwayman )
Yes, Solved removing the excess "" on 142 line
Most helpful comment
Or in your Apache error log through the webhosting control panel