Bug Image upload
-
Image was uploaded didn't show in view,
when change icon of admin or upload meta image for fetch image from aliExpress
the image was uploaded show as uploaded successful but didn't exist in storage ,just make root dir like configuration.
some who the image file name save in db with out image exist in dir storage,
also when fetch image from aliExpress the image store in dir but save in db with different name..... -
@qwe
could you please tell me about your bagisto version and drop shipping version from where did you install it? -
HI @Vaishali-Agarwal
latest version from github repository, i think there problem with upload and delete image,
I hope to pass this error ASAP, i working to find solution from a week ago,
BTW ,i tried all solutions suggestion here and on internet but doesn't working UNTIL NOW -
Hi @qwe ,
In process to give you better solution, could you please make few points clear.
Are you using ali express dropshipping or not if yes then please mention commit id from where you have installed, Further please mention steps to reproduce the issue which you are facing.
Thank you. -
@bhanu-webkul @Vaishali-Agarwal
yes i am use drop shipping,
so im in progress to find out solution, so i
$y = request()->file($fieldName)->getErrorMessage();
$z = request()->file($fieldName)->getFileInfo();
$w = request()->file($fieldName)->getRealPath();
Logger::info($x);
Logger::info($y);
Logger::info($z);
Logger result
[2020-10-10 21:43:58] local.INFO: The file "test.jpg" was not uploaded due to an unknown error.
[2020-10-10 21:43:58] local.INFO: /tmp/phpEHzMws
[2020-10-10 21:43:58] local.INFO: /tmp/phpEHzMws
i tried change the way save image like move() method ...etc,
i try permission ,clear cache ,unlink and link ,,,,,
until now no there any solution -
https://github.com/laravel/framework/issues/12350
@Vaishali-Agarwal @bhanu-webkul plz check this error, -
@qwe ,
We checked in our setup but didn't able to reproduce the issue. The images are working fine.
You may create ticket to our support team https://bagisto.uvdesk.com/en/customer/create-ticket/ as we can't check with out having all the privileges. Kindly raise the ticket and share your server FTP/SFTP credentials.
-
@prateek-webkul
I solved, add Request::createGlobleForm(); when upload file inside loop , should use this request instance ,
Thanks you for Interest