Closed itelmenko closed 7 years ago
@itelmenko did you do something manually with users
DB table? And did you install quickadmin on fresh Laravel instance? Cause it seems that MySQL cannot find a column in your users table, so I assume you changes something manually there.
Hi @PovilasKorop ! No, I did not do anything manually with users table. Yes, I try it on fresh Laravel instance.
@itelmenko What php version are you using?
PHP Version: PHP 7.1.4-1+deb.sury.org~xenial+1 (cli) (built: Apr 11 2017 22:12:32) ( NTS )
BTW. I used laradock with mysql container docker-compose up -d nginx php-fpm mysql workspace
Now I try mariadb docker-compose up -d nginx php-fpm mariadb workspace
.
And with mariadb I have not this error
@itelmenko to be honest, we didn't test the package with laradock or your particular setup. And we didn't have any similar bugs reported during 2 years of package existance. So I would assume it's something with your server anyway. Or could it be that you didn't run migrations properly and then some DB table/field was missing?
Currently we cannot reproduce the bug.
I don't think any migration was missing. I get same error with 3 another laravel admin panels. I think reason is in mysql version, or adapter or something like this. Because If I switch my environment to mariadb, it works fine. If it is interesting for you I can send DB dump, sample project code. But it must be set up in laradock. If it is not interesting for you, you can just close the issue :) In any case, thank you for help!
@itelmenko yeah, I guess we shouldn't spend our time on investigating what seems to be edge-case with Laradock, which I haven't even tried (only read about it). So closing the issue, and thanks for all the information!
Larevel v5.4.32 Mysql Server version: 8.0.2-dmr MySQL Community Server (GPL) laraveldaily/quickadmin: 2.1.1
Domain quickadmin.local is my local site I go to http://quickadmin.local/admin/menu , push the button "Create New Crud Controller" The I see error in http://quickadmin.local/admin/menu