Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Broken Image & Logo in Bagisto with causes and solutions?

    Bug Report
    24
    51
    22256
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rahul last edited by rahul

      Hi,

      Causes of broken image & logo.

      1. You have not run 'php artisan storage:link' command at root of project.
      2. Given wrong APP_URL in .env file.
      3. Renamed root of project after running 'php artisan storage:link' command.

      Solutions

      1. Run 'php artisan storage:link' command at root of project.

      2. 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'.

      3. Remove existing symlink.
        From the project's root directory

        cd public
        unlink storage
        

        From the project's root directory run the following command:

          php artisan storage:link
        

      Please follow the same sequence.

      Thanks

      1 Reply Last reply Reply Quote 2
      • C
        Christianaparker last edited by

        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.

        Change AOL Email Password

        1 Reply Last reply Reply Quote 0
        • P
          phokkinnky last edited by

          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.png

          php artisan storage:link
          

          already run it
          but unlink storage not working.

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hi @phokkinnky

            Can you check you storage directory in public folder and make sure image exist there ?

            Thanks

            1 Reply Last reply Reply Quote 0
            • E
              eolykab last edited by

              For production if URL is https://example.com what should be the APP_URL in env?

              Example Domain
              https://example.com

              Type a message

              1 Reply Last reply Reply Quote 0
              • J
                Jyoti last edited by

                Hi @eolykab
                APP_URL will be - https://example.com

                1 Reply Last reply Reply Quote 0
                • E
                  eolykab last edited by eolykab

                  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?

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jyoti last edited by

                    @eolykab
                    This is issue is bagisto 0.2.2. you can take a new pull from master

                    1 Reply Last reply Reply Quote 0
                    • E
                      eolykab last edited by

                      As in I should try to work on it?

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jyoti last edited by

                        @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

                        1 Reply Last reply Reply Quote 0
                        • E
                          eolykab last edited by

                          Is it possible for you to tell which files as been changed as I am working on my own repo?

                          1 Reply Last reply Reply Quote 0
                          • S
                            SimonA last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • V
                              Vaishali Agarwal last edited by

                              @SimonA
                              Could you please show the screenshot of the broken images by inspecting it or check the APP_URL in .env.

                              Thanks

                              1 Reply Last reply Reply Quote 0
                              • S
                                SimonA last edited by

                                https://sirerics.co.ke/
                                That is the site.

                                APP_URL=https://sirerics.co.ke/

                                I hosted it on the c-panel

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SimonA last edited by

                                  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!

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SimonA last edited by

                                    @Vaishali-Agarwal Please help me on this.

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Vaishali Agarwal last edited by

                                      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/

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        SimonA @Vaishali Agarwal last edited by

                                        @Vaishali-Agarwal They pay for the support?

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          Vaishali Agarwal last edited by

                                          @SimonA
                                          please raise the ticket, we will guide you for this issue, there is no charges for guidance.

                                          Thanks

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            rajnibala last edited by

                                            I too still have this problem in my website
                                            category image not probably uploading image and not showing the image

                                            Please help me

                                            Thanks in Advance

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post