imladrisol / onlineExam

Online examination system on Laravel 5
37 stars 38 forks source link

Base table or view not found #6

Closed alkod closed 7 years ago

alkod commented 7 years ago

Hi,

i downloaded onlineExam and created exam database and when i run composer install i get this error:

php artisan clear-compiled

  [Illuminate\Database\QueryException]                                                                               
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'exam.roles' doesn't exist (SQL: select * from `roles`)  

  [PDOException]                                                                        
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'exam.roles' doesn't exist  
imladrisol commented 7 years ago

Did you change name of the database in the file .env?

alkod commented 7 years ago

yes,

i passed this error and created all tables by coping all database migrations file to another laravel project and do "php artisan migrate"

but facing now

 [Symfony\Component\Debug\Exception\FatalThrowableError]                                
  Fatal error: Call to undefined method Illuminate\Foundation\Application::bindShared()  
imladrisol commented 7 years ago

Try some of this one: https://laracasts.com/discuss/channels/laravel/call-to-undefined-method-illuminatefoundationapplicationbindshared