iisgiua / giuaschool

giua@school - Il Registro Elettronico open source dell' I.I.S. Michele Giua
https://iisgiua.github.io/giuaschool-docs/
GNU Affero General Public License v3.0
30 stars 18 forks source link

Errori durante l'installazione #198

Closed manuelbarberi closed 2 years ago

manuelbarberi commented 2 years ago

Errore Undefined variable $pipes In /membri/registromanututorial/vendor/symfony/console/Terminal.php:162

Sono riuscito a correggere l'errore ma adesso porta questo:

In CacheItem.php line 201: Failed to save key Impossibile eseguire i comandi per creare il database.

In CacheItem.php line 201: Failed to save key "App%5CEntity%5CScrutinio" of type array: touch(): Utime failed: Operation not permitted In /membri/registromanututorial/vendor/ symfony/cache/CacheItem.php:201 doctrine:schema:drop [--em EM] [--dump-sql] [-f|--force] [--full-database] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

trinko commented 2 years ago

Devi controllare i permessi della cartella della cache: var/cache e var/cache/prod L'utente del web server deve avere i permessi di scrittura.

manuelbarberi commented 2 years ago

Ho già tentato... non funziona

trinko commented 2 years ago

L'ultimo aggiornamento potrebbe risolvere il problema.

manuelbarberi commented 2 years ago

Porta ancora questo errore: Errore nell'esecuzione dei comandi per l'inizializzazione del database. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '----- TABELLA CONFIGURAZIONE -----' at line 1

trinko commented 2 years ago

Pare sia un errore per la sintassi dei commenti su MySQL (io uso MariaDB e non ci sono probemi). Ho modificato il codice nell'ultimo aggiornamento.

manuelbarberi commented 2 years ago

Ok, tento di installarlo e le dico se porta ancora errori

manuelbarberi commented 2 years ago

Errore nell'esecuzione dei comandi per l'inizializzazione del database. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--- TABELLA CONFIGURAZIONE --' at line 1

Ancora qui

manuelbarberi commented 2 years ago

Trovato il problema: bisogna togliere ---TABELLA CONFIGURAZIONE---