Bagisto Forum

    Bagisto

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

    Slider image doesn't work on aws

    General Discussion
    2
    18
    727
    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.
    • V
      Vaishali Agarwal last edited by

      @Shirah
      is the image exist in storage folder??

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

        How to know it exists in storage folder?

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

          @Shirah
          inspect to the broken image and check the file path...

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

            Isn't the image we add from the admin panel will automatically detect the path of file? because the image is exist. Why in localhost is working but not on aws?

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

              @Shirah
              on localhost the image configuration was correctly set that why it's working on local.

              you need to check all the parameter required for images in live server as well.
              please check the below link and follow the solution
              https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions/1

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

                Run this in the aws or localhost?

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

                  @Shirah
                  run the commands from the aws server, as you're getting the issue on aws server

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • V
                      Vaishali Agarwal last edited by

                      @Shirah
                      please check your app_url in .env it should be correct.
                      then flush the cache using the command

                      php artisan config:cache

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

                        Yes it's correct. I have run the php artisan config:cache but still it's not working. I don't know what should I do more.

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

                          @Shirah
                          run the command from the project's root directory
                          var/www/html/tronserve-commerce/

                          cd public
                          unlink storage
                          cd ..
                          php artisan storage:link

                          Now check again.

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

                            I don't know why but I still get the same problem. Do I have some problem regarding my installation?

                            Error:
                            error.PNG

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

                              @Shirah
                              storage directory is already linked so you don't need to follow this again.
                              Now, please show the screenshot of your APP_URL in .env

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

                                error1.PNG

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

                                  @Shirah
                                  can you add https:// in place of http://
                                  once done then run php artisan config:cache

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

                                    Still the same. The slider still not showing the image.

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

                                      @Shirah
                                      still the image path showing http when we inspect to the broken image https://prnt.sc/vfzk53.
                                      please raise a ticket at support@bagisto.com and provide server details so that team can check this and fix it.

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