SQLSTATE [42S02]: ошибка базовой таблицы или представления не существуетPhp

Кемеровские программисты php общаются здесь
Ответить
Гость
 SQLSTATE [42S02]: ошибка базовой таблицы или представления не существует

Сообщение Гость »


SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vy.views' doesn't exist

There is this Laravel project made by my friend, I am trying to use it. so he gave me the source code.

I extracted the zip. then renamed the .env example to .env then modified a few things like engine ='InnoDB' & database name = vy. before this, I made sure composer was installed and then I installed filament. both were done. then I installed the npm node. then fixed npm issues with npm audit fix and ran npm run build which showed me some errors. but it's okay. then I tried to run the project by starting the server. but I was greeted with an error.


Изображение


and yeah I migrated but there was an error. one table was not migrated. and the error is as follows in the migration. SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vy.activity_log' doesn't exist (SQL: alter table activity_log add event varchar(255) null after subject_type)


Изображение


I assume this error is the same error that is reflected on the home page of the project.

please I need to do this project. cause I have to make one more project like this. so I appreciate all ya help.

namaste from India.

I tried to run a project and was expecting it to run with no error


Источник: https://stackoverflow.com/questions/780 ... xist-error
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Php»