Hola a tod@s.
No se si os habrá pasado a vosotros, pero al instalar TinyPortal, me sale este error que os dejo en el adjunto y tambien os dejo el install.php, que por lo que leo es el que da error.
Saludos a tod@s y a ver si hay suerte y sabéis la solución.
Es un bug de SMF.
Lo menciona en la descripción del mod:
QuoteNOTICE!: Due to a bug in SMF 2.1.3 upgrading TinyPortal may result in one of these error messages: "All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead" or "Database error: Invalid default value for 'item_type'". If you encounter these errors while on SMF 2.1.3 you will need to install the correction MOD that can be downloaded from the TinyPortal.net support site (https://www.tinyportal.net/index.php?action=tportal;sa=download;dl=item177). After applying this MOD you will be able to re-install TinyPortal on SMF 2.1.3. Please note that the correction MOD should be uninstalled prior to patching SMF to version 2.1.4.
Para instalar TP: Link a la solución (https://www.simplemachines.org/community/index.php?topic=27642.msg4144776#msg4144776)
En SMF será solucionado en 2.1.4
Issue: https://github.com/SimpleMachines/SMF/issues/7594
PR: https://github.com/SimpleMachines/SMF/pull/7604
Muchas gracias Diego Andrés, como siempre muy amable.
Lo doy como solucionado.
Saludos y gracias.