Deprecated: Function ereg() is deprecated in includes/file.inc

This is due to that you have recently upgraded your PHP version from 5.2 + to 5.3 + . 

To solve this you either have to re-install the PHP 5.2+ version again like 5.2.9 .

OR

Replace the ereg($mask, $file) with mb_ereg($mask, $file) in file.inc specifically on line 902.