Recent Topics

Bagisto - Base table or view not found: 1146



  • 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!



  • Hi @randy_johnson

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

    Thanks



  • @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.



  • 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



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


Log in to reply