Bagisto Forum

    Bagisto

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

    Bagisto - Base table or view not found: 1146

    General Discussion
    6
    10
    1827
    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
      randy_johnson last edited by

      Illuminate \ Database \ QueryException (42S02) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'companyname.channels' doesn't exist (SQL: select * from channels limit 1) Previous exceptions

      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'companyname.channels' doesn't exist (42S02)
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'companyname.channels' doesn't exist (42S02)
      Hi, I have installed Bagisto and have managed to fix most of my problems, now I am stuck on this problem which has left me scratching my head since I am unsure if I am suppsed to create the table channels or such.

      If anyone has any knowledge of this problem for Bagisto please let me know!

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

        Hi @randy_johnson

        Can you elaborate more with bagisto version because we don't have any company name table.

        Thanks

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

          @rahul it's the latest update. I've just give through the process which is presented at the beginning leading to this error.

          I thought it was a problem with the db connection but I check phpmyadmin and found the db and tables. I created a table called channels and then I was less to another error.

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

            Hi @randy_johnson

            I really don't understand why you need to create a 'channels' table because this table is already in our system.
            If you want to add any column 'companyname' in this table so you can do it but create your package for the same, write migration there & don't do changes in core system.

            Thanks

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

              I got around to fixing it. It was a very strange problem.

              1 Reply Last reply Reply Quote 0
              • B
                bugsworld85 last edited by

                How did you fix it?

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

                  Hi @bugsworld85

                  Did you facing same problem and can you describe more with your bagisto version?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mr4FX @rahul last edited by

                    hi @rahul ,
                    i found the same error SQLSTATE[42S02]
                    dfa1b1fd-817e-4b15-9eae-e2084a8e66f6-image.png
                    i tired to fix it but nothing please could u help me ?
                    Thank you

                    1 Reply Last reply Reply Quote 0
                    • U
                      Uyo-obong last edited by

                      I face this issue on latest bagisto.

                      1 Reply Last reply Reply Quote 0
                      • A
                        aayush.bhatt172 last edited by

                        Hi.

                        Instead of installing bagisto from master branch.
                        Take a pull from the latest stable release from tags.

                        For now, the latest stable build is bagisto 1.3.2
                        link: https://github.com/bagisto/bagisto/tree/v1.3.2

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