This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
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
Product images are not showing #2152
Comments
Hi @venkat402 Kindly clear your browser cache once, because we can see images - https://prnt.sc/qtdp68 and https://prnt.sc/qtdq4d. |
Actually I fixed the issue by removing my custom package from the webkul packages |
|
Hi, @keeloren |
Hi @venkat402 , I'm using docker. but still gets an error. where is 'cache/small' and why it includes to URL image :( |
Hi @keeloren Please follow the given link for solution - https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions |
HI @rahulshukla-webkul , I try to run that command on the link solution. But it does not work :(( |
Hi @keeloren Do the following things, from the root of your directory -
Thanks |
|
Hi @venkat402 Actually we are caching images in three different sizes. Can you tell me , whats is your APP_URL in .env file ? Is that - localhost::9000 or not. Thanks |
HI @rahulshukla-webkul @venkat402 . My APP_URL = http://localhost:9000 Please tell me to know where the folder has caching images in three different sizes? Thanks. |
Change APP_URL =http://localhost/project_name/public/ |
Hi @venkat402 @rahulshukla-webkul |
how u r solve it :( |
when i run : composer dump-autoload Generating optimized autoload files
In PackageManifest.php line 177: The /home/bagisto/public_html/bagisto/bootstrap/cache directory must be pre Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 |
make ur env url right like this APP_URL=http://localhost/project/multi-use/sham-ecommerce/public/ |
the other thing that helped me through my three days journey is to manually delete storage folder in public folder and then do php artisan storage:link |
@venkat402 Actually I've got the same problem. I run all the commands above and also changed app_url as above. but it does not work. |
Delete storage directory resides in the public folder
Then create storage link
…On Mon, May 25, 2020 at 4:52 PM vivekshubhu ***@***.***> wrote:
@venkat402 <https://github.com/venkat402> Actually I've got the same
problem. I run all the commands above and also changed app_url as above.
but it does not work.
[image: 1]
<https://user-images.githubusercontent.com/51329802/82808553-ec56e200-9ea9-11ea-9332-d01635552f15.PNG>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHEMFMIGIBPEHEZHU7WCLZLRTJIGLANCNFSM4KL5JMKQ>
.
--
Thanks and Regards
Venkat A
P.no : 91+ 9052 380 780.
Email: adapala.vr@gmail.com
|
any fix for this ?? when moving image files from one host to another this happens i did all above but still the images wont load they load in admin panel but not front shop |
php artisan storage:link this every time if u move folder it work or u can change upload image file location to public |
@riwash no i tried that this didnt solve it for me |
Hi, Nginx is running at port 83 and root is point to bagisto public directory. APP_URL=http://domain.com php artisan storage:link said images are good in admin but not show in frontend. any help please! |
Hi @chiendv, There are possibly only two reasons,
|
Hi @devansh-webkul, I has resolved it by check config of nginx and comment out config lines for cache static files
Hope it can help other people with this kind of issue. |
what if i want to cache statick files? |
We are using the default Laravel configuration and mostly these are cached. If you need to customize you can feel free to do it at your instance. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Bug report
On production, images are not loading
I followed the bellow site instructions
but still not resolved the issue
https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions
Issue Description
on landing page
same on description page
Description helps the developers to understand the bug. It describes the problem encountered or some after effect of some kind.
Preconditions
Please provide as detailed information about your environment as possible.
I run all the commands bellow but still the issue not fixed at
composer update
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
composer dump-autoload
php artisan vendor:publish
php artisan storage:link
rm public/storage
php artisan storage:link
The text was updated successfully, but these errors were encountered: