We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unlink(/home/cms/storage/runtime/temp/assets59cb4ae26f1842.80020798.jpg): No such file or directory
When changing users photo, after save i got error.
The problem is on FileHelper::removeFile($fileLocation), because $users->saveUserPhoto already clean temp file.
Trace:
// Did they upload a new one? if ($photo = UploadedFile::getInstanceByName('photo')) { $fileLocation = Assets::tempFilePath($photo->getExtension()); move_uploaded_file($photo->tempName, $fileLocation); $users->saveUserPhoto($fileLocation, $user, $photo->name); FileHelper::removeFile($fileLocation); }
Sorry for my English)
The text was updated successfully, but these errors were encountered:
Are you seeing this in the Control Panel or a front-end user profile form?
Sorry, something went wrong.
front-end
2fc55e3
Thanks! Fixed for the next release.
No branches or pull requests
Description
unlink(/home/cms/storage/runtime/temp/assets59cb4ae26f1842.80020798.jpg): No such file or directory
Steps to reproduce
When changing users photo, after save i got error.
The problem is on FileHelper::removeFile($fileLocation), because $users->saveUserPhoto already clean temp file.
Trace:
Sorry for my English)
Additional info
The text was updated successfully, but these errors were encountered: