Als een bestand niet is geüpload, is de $_FILES-array leeg. In het bijzonder, als het bestand image is niet geüpload, $_FILES['image'] wordt niet ingesteld.
Dus
$file = $_FILES['image']['tmp_name']; //Error comes from here(here is the prob!)
zou moeten zijn:
if(empty($_FILES) || !isset($_FILES['image']))
bijwerken
U zult ook problemen hebben omdat u de enctype . mist attribuut op uw formulier:
<form class="form-horizontal" action="Ressave.php" method="POST" autocomplete="on" enctype="multipart/form-data">