• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Slider image doesn't work on aws

General Discussion
2
18
841
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.
  • S
    Shirah last edited by 26 Oct 2020, 02:08

    Hi,

    Can you help me, I don't know why my slider image doesn't show on my instance. I tried it on my localhost and it shows.

    The error:
    Failed to load resource: the server responded with a status of 404 (Not Found)

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 26 Oct 2020, 05:16

      @Shirah
      is the image exist in storage folder??

      1 Reply Last reply Reply Quote 0
      • S
        Shirah last edited by 26 Oct 2020, 07:02

        How to know it exists in storage folder?

        1 Reply Last reply Reply Quote 0
        • V
          Vaishali Agarwal last edited by 26 Oct 2020, 07:20

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

          1 Reply Last reply Reply Quote 0
          • S
            Shirah last edited by 26 Oct 2020, 07:40

            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 26 Oct 2020, 08:30

              @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
              • 9 days later
              • S
                Shirah last edited by 4 Nov 2020, 16:31

                Run this in the aws or localhost?

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by 4 Nov 2020, 16:32

                  @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 5 Nov 2020, 00:39

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • V
                      Vaishali Agarwal last edited by 5 Nov 2020, 10:12

                      @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 6 Nov 2020, 02:01

                        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 6 Nov 2020, 04:53

                          @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 9 Nov 2020, 08:05

                            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 9 Nov 2020, 08:12

                              @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 9 Nov 2020, 08:18

                                error1.PNG

                                1 Reply Last reply Reply Quote 0
                                • V
                                  Vaishali Agarwal last edited by 9 Nov 2020, 08:29

                                  @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 9 Nov 2020, 08:31

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

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Vaishali Agarwal last edited by 9 Nov 2020, 09:18

                                      @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
                                      3 out of 18
                                      • First post
                                        3/18
                                        Last post