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!
-
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.
-
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.
-
How did you fix it?
-
Hi @bugsworld85
Did you facing same problem and can you describe more with your bagisto version?
-
hi @rahul ,
i found the same error SQLSTATE[42S02]
i tired to fix it but nothing please could u help me ?
Thank you -
I face this issue on latest bagisto.
-
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