Hi Guys
Some time when you click multiple ajax buttons during file upload spinner you face the following messages
The specified file temporary://o_181ttbjbp7771hhm1ajj1uhvhigb.tmp could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
The specified file . could not be uploaded. Only files with the following extensions are allowed: mp4 ogg avi mov wmv flv ogv webm.
The specified file temporary://o_181ttbjbp7771hhm1ajj1uhvhigb.tmp could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
The specified file . could not be uploaded. Only files with the following extensions are allowed: mp4 ogg avi mov wmv flv ogv webm.
For security reasons, your upload has been renamed to ..
For security reasons, your upload has been renamed to ..
and these messages show some thing wrong with file but when you save content you does not face any issue. So you can prevent these messages by using this code with the help of module https://drupal.org/project/messages_alter (Drupal 7 module code is available in issues)
<?php
/**
* Implementation of hook_message_alter().
*
* You would do something like this
* with your custom module:
*
* yourmodule_message_alter(&$messages) {
*
* }
*
*/
function messages_alter_message_alter(&$messages) {