Bagisto Forum

    Bagisto

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

    image category is not

    Bug Report
    2
    21
    45616
    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.
    • C
      cmpengineers last edited by

      Hello all

      for some reason category image is getting error ,

      APP_URL=http://drov112.test

      already did storage unlink then PHP artisan storage:link

      still nothing

      Screen Shot 2020-10-15 at 3.54.49 PM.png

      Best regards

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

        @cmpengineers
        may I know your Database version details.

        1 Reply Last reply Reply Quote 0
        • C
          cmpengineers last edited by

          Dear all

          sure

          Screen Shot 2020-10-16 at 11.44.30 AM.png

          I did create another database but for some reason I cant do PHP artisan migrate:fresh

          Screen Shot 2020-10-16 at 11.47.18 AM.png

          why is he looking for a base table or channels when I fleshing all the table from scratch ?

          please advise

          regards

          1 Reply Last reply Reply Quote 0
          • C
            cmpengineers last edited by

            Dear all

            why is always facing the problem I cloned the same project from my git hub still giving me the same error

            Screen Shot 2020-10-17 at 10.28.15 AM.png

            > @php artisan package:discover
            
            In Connection.php line 669:
                                                                                           
              SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drov112.channels  
              ' doesn't exist (SQL: select * from `channels` where `hostname` in (drov112  
              .test, http://drov112.test, https://drov112.test))                           
                                                                                           
            
            In PDOConnection.php line 63:
                                                                                           
              SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drov112.channels  
              ' doesn't exist                                                              
                                                                                           
            
            In PDOConnection.php line 61:
                                                                                           
              SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drov112.channels  
              ' doesn't exist                                                              
                                                                                           
            
            Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
            (base) drov112:
            

            every time i do composer install i get this error

            I'm tired from chasing your bugs , it would much quicker and even more faster i build my own ecommerce

            regards

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

              @cmpengineers said in image category is not:

              Base table or view not found

              @cmpengineers
              please go through with link https://forums.bagisto.com/topic/1563/error-while-installinghttps-forums-bagisto-com-post-2388/9
              hope this will work for you.

              C 1 Reply Last reply Reply Quote 0
              • C
                cmpengineers @Vaishali Agarwal last edited by

                @Vaishali-Agarwal

                its not working same error exactly

                regards

                1 Reply Last reply Reply Quote 0
                • C
                  cmpengineers last edited by

                  Hello

                  every time i do composr intall it give me the same error

                  Screen Shot 2020-10-17 at 10.58.42 AM.png

                  why is he looking for base table !!! and still I did not do migrate or seed !!!

                  regards

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

                    @cmpengineers
                    if you have not run migrate command then please run
                    php artisan migrate , it will show you the exact error.

                    C 2 Replies Last reply Reply Quote 0
                    • C
                      cmpengineers @Vaishali Agarwal last edited by

                      @Vaishali-Agarwal

                      same error my dear what ever command for artisan it will give me the same error

                      regards

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmpengineers @Vaishali Agarwal last edited by

                        @Vaishali-Agarwal

                        Screen Shot 2020-10-17 at 11.13.47 AM.png

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmpengineers last edited by

                          i found the solution

                          which is weird , i copy one table the channels and insert inside the database it work , then i did
                          php artisan migrate:fresh --seed

                          it work but i have problem with multi-vendor
                          so please check the image its not displaying

                          Screen Shot 2020-10-17 at 11.40.53 AM.png

                          regards

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

                            @cmpengineers
                            once try to follow the below step:

                            1. go to the .env and check the database name should be valid
                            2. run the below command,
                              php artisan config:cache
                              php artisan migrate:refresh --seed
                            1 Reply Last reply Reply Quote 0
                            • V
                              Vaishali Agarwal last edited by Vaishali Agarwal

                              @cmpengineers
                              link your storage folder

                              php artisan storage:link

                              you may also follow all the possible solution mention here
                              https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions/1

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                cmpengineers @Vaishali Agarwal last edited by

                                @Vaishali-Agarwal

                                its already linked

                                Generated optimized autoload files containing 6627 classes
                                (base) drov112:pa s:l
                                The "public/storage" directory already exists.
                                (base) drov112:
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • V
                                  Vaishali Agarwal last edited by

                                  @Vaishali-Agarwal said in image category is not:

                                  https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions/1

                                  As already provided please check this link https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions/1 and follow the solutions

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    cmpengineers @Vaishali Agarwal last edited by

                                    @Vaishali-Agarwal

                                    Dear Vaishali

                                    i have already created more than 10+ project from laravel

                                    i did exactly and still its not showing I'm using laravel valet

                                    regards

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

                                      @cmpengineers

                                      • Inspect to the image and check the image path

                                      • could you please check whether products or categories images are showing at admin end or front end both?

                                      You can see this issue does not exist at my end https://prnt.sc/v12iq9

                                      C 2 Replies Last reply Reply Quote 0
                                      • C
                                        cmpengineers @Vaishali Agarwal last edited by

                                        @Vaishali-Agarwal said in image category is not:

                                        https://prnt.sc/v12iq9

                                        everything is showing except for the multi-vendor
                                        in production is working fine drov.app but in local its not working

                                        regards

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cmpengineers @Vaishali Agarwal last edited by

                                          @Vaishali-Agarwal

                                          what local env you are using laravel valet ? homestead vapor ? xampp ?

                                          regatds

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

                                            @cmpengineers
                                            I am using Linux server.

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