sleeping-owl / admin

Administrative interface builder for Laravel
http://sleeping-owl.github.io/
MIT License
504 stars 259 forks source link

query exception, adminitrator #289

Closed n7best closed 8 years ago

n7best commented 8 years ago

for 75% of the request I got QueryException in Connection.php line 651: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.administrators' doesn't exist (SQL: select administrators.* from administrators where administrators.id = 1 limit 1). and 25% time it went through, any idea?

this is brand new installation with latest laravell

jadjoubran commented 8 years ago

You need the administrator table for the package to work

Run artisan vendor:publish Then artisan migrate

n7best commented 8 years ago

@jadjoubran yea, I already did that and setup few model with the system and everything work fine. ONLY it work 25% of time.

jadjoubran commented 8 years ago

Are you on Windows?

n7best commented 8 years ago

@jadjoubran I am using mac, the test site is running with laravel homestead with vagrant, pretty weird problem. I can saw the table is there and all other table is fine.

n7best commented 8 years ago

restart the computer solved it.