Using the standard CakePHP code, the delete will handle the record in the MySQL table, but not the file. How do you do both? This should be in the documentation.
Function : move
$fileObject->moveTo($this->configuration->getConfig('storagePath') . $fileObject->getClientFilename());
this line is giving an error. if I print the path it is "storage/agent-registration-2.jpg"
As I said above my storage folder is parallel to src and webroot folder,
I followed the few instructions, and when I attempt to run the code, this is the error I get.
Perhaps what I am missing is something in the ./templates//add.php page that actually prompts the user for the file to upload. Can you add that code to the readme?