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
    22351
    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.
    • J
      Jeff @Gustavo Ayala last edited by

      @Gustavo-Ayala : Thanks Sir, That Work for me..

      1 Reply Last reply Reply Quote 0
      • H
        harshaq last edited by harshaq

        @Vaishali-Agarwal said in Broken Image & Logo in Bagisto with causes and solutions?:

        php artisan config:cache
        php artisan storage:link

        Not working for me!
        App url changed also.

        1 Reply Last reply Reply Quote 0
        • H
          harshaq last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • R
            Ravi last edited by

            logo is not showing on frontend
            i will try all methods like storage link and also changing the app url in env

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by

              After changing APP_URL. Did you run the php artisan config:cache because changes are cached.

              1 Reply Last reply Reply Quote 0
              • Sugimon
                Sugimon last edited by

                I had the same problem and i did the all the solutions that you guys provided here but the problem is not solved.

                bagisto itself works perfectly on my local PC but not on the server.

                and I searched for solution further and I found why.
                my hosting server prohibits symbolic link for security reasons. that is why images are not shown.

                to get around this, I may have to use hard link instead of symbolic link? maybe. and one of the files I should edit may be config/filesystem.php? correct?

                any help is much appreciated!

                1 Reply Last reply Reply Quote 0
                • Sugimon
                  Sugimon last edited by

                  I figured it out myself!!

                  1 Reply Last reply Reply Quote 0
                  • D
                    denish last edited by

                    Even after performing all the tasks, I am having issue with broken images. Images get stored in the database but are not visible on the frontend.

                    1 Reply Last reply Reply Quote 0
                    • sanjay-webkul
                      sanjay-webkul last edited by

                      Hi @denish
                      please follow the given steps.

                      cd public
                      unlink storage
                      
                      //From the project's root directory run the following command:
                      
                        php artisan storage:link
                        php artisan optimize:clear
                      1 Reply Last reply Reply Quote 0
                      • sanjay-webkul
                        sanjay-webkul last edited by

                        @denish
                        If still you are getting the same issue

                        Please run this command for the product service provider only

                         php artisan vendor:publish --force
                        1 Reply Last reply Reply Quote 0
                        • Referenced by  A Amitk-Webkul 
                        • Referenced by  ashish2409 ashish2409 
                        • Referenced by  N neo 
                        • First post
                          Last post