Broken Image & Logo in Bagisto with causes and solutions?
-
Hi,
Causes of broken image & logo.
- You have not run 'php artisan storage:link' command at root of project.
- Given wrong APP_URL in .env file.
- Renamed root of project after running 'php artisan storage:link' command.
Solutions
-
Run 'php artisan storage:link' command at root of project.
-
Give right APP_URL in .env file
Your APP_URL should be up to public ( APP_URL=http://localhost/bagisto/public )
If you are running your project using 'php artisan serve' then it will '127.0.0.1:8000' or 'localhost:8000'. -
Remove existing symlink.
From the project's root directorycd public unlink storage
From the project's root directory run the following command:
php artisan storage:link
Please follow the same sequence.
Thanks
-
Thanks for giving a solution of this common issue. which i faced most of the time. right now whoever dealing with Change AOL Email Password so you can get the tutorial or instant solution with AOL experts.
-
I still have this problem in my website
admin url : https://www.store.kscamzon.com/admin/login
as you can see in this site: image not found url : https://store.kscamzon.com/public/storage/configuration/YOgXu2cLtJvQqrLAn5uY9TL3dzjOzO0t0VeBnyR4.pngphp artisan storage:link
already run it
but unlink storage not working. -
Hi @phokkinnky
Can you check you storage directory in public folder and make sure image exist there ?
Thanks
-
For production if URL is https://example.com what should be the APP_URL in env?
Example Domain
https://example.comType a message
-
Hi @eolykab
APP_URL will be - https://example.com -
I am using Bagisto version 0.2.2
I am able to view images in dev but in production when I update the admin logo it is not showing the image. I have clear all caches and run php artisan storage:link
and APP_URL in .env is set to like https://example.com. Any suggestion? -
@eolykab
This is issue is bagisto 0.2.2. you can take a new pull from master -
As in I should try to work on it?
-
@eolykab
This issue has been fixed in master branch of bagisto. You can take a pull from here you will not get that issue https://github.com/bagisto/bagisto/tree/master -
Is it possible for you to tell which files as been changed as I am working on my own repo?
-
This issue has never been solved? I have the latest version 1.1.2, I have tried all the suggestions up there but the same issue persists. Uninstalled and installed afresh but the problem persists. I feel like going for another laravel-e-commerce package.
-
@SimonA
Could you please show the screenshot of the broken images by inspecting it or check the APP_URL in .env.Thanks
-
https://sirerics.co.ke/
That is the site.APP_URL=https://sirerics.co.ke/
I hosted it on the c-panel
-
I thnk it is important to say that I deleted the storage folder as someone suggested on github and it began working on the local machine but immediately I upload to the c-panel(shared hosting) The logo isn't showing again. Broken!
-
@Vaishali-Agarwal Please help me on this.
-
Hi @SimonA
We have checked your website configuration, and it seems their is something wrong with in the CPanel configuration, we need to check it out.So Kindly raise a support ticket at https://bagisto.uvdesk.com/en/customer/create-ticket/
-
@Vaishali-Agarwal They pay for the support?
-
@SimonA
please raise the ticket, we will guide you for this issue, there is no charges for guidance.Thanks
-
I too still have this problem in my website
category image not probably uploading image and not showing the imagePlease help me
Thanks in Advance