Hola estoy teniendo problemas en la actualización de la base de datos,
el error es este:
- Se ha producido un error en la base de datos: SQLSTATE[HY000]: General error: 1005 Can’t create table
obacei_ojs2dbrev
.submission_files
(errno: 150 “Foreign key constraint is incorrectly formed”) (SQL: alter tablesubmission_files
add constraintsubmission_files_file_id_foreign
foreign key (file_id
) referencesfiles
(file_id
))
he restaurado varias veces la base de datos corrigiendo el InnoDB y el utf8_general_ci y ahora me encuentro estancado
en el log me aparece esto:
[25-Jul-2023 05:56:16 UTC] WARNING: The NavigationMenu (ContextId: 1, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
[25-Jul-2023 05:56:16 UTC] WARNING: The NavigationMenu (ContextId: 1, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.
[25-Jul-2023 05:56:16 UTC] WARNING: The NavigationMenu (ContextId: 0, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 2 with submission_id 3
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 5 with submission_id 4
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 7 with submission_id 8
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 8 with submission_id 8
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 9 with submission_id 8
[25-Jul-2023 05:56:17 UTC] Removing orphaned submission_files entry ID 10 with submission_id 8
[25-Jul-2023 05:56:18 UTC] SQLSTATE[HY000]: General error: 1005 Can’t create table obacei_ojs2dbrev
.submission_files
(errno: 150 “Foreign key constraint is incorrectly formed”) (SQL: alter table submission_files
add constraint submission_files_file_id_foreign
foreign key (file_id
) references files
(file_id
))
Necesito de su ayuda mis limitados conocimientos no me permiten resolver esto, gracias de antemano.