Re: [IGSuite-project] IG-Webmail: errore nella creazione cartelle.
IGSuite is a web-ajax-based Integrated Groupware Suite
Brought to you by:
ale_forlani,
lucas73
From: <a.c...@mc...> - 2006-12-27 21:59:02
|
> Ciao, > >> Con la release 3.2.3b installata ho provatoa creare delle cartelle >> nella sezione Webmail ma mi segnalava un errore nella Query di >> Update. Ho quindi verificato il codice dello script cgi webmail e ho >> provato a correggere la query di update da: >> >> DbQuery("insert into email_msgs". >> " values ('', '$tv{today}', '', '', '', '', '$auth_user',". >> " '', '$on{foldername}', '', 'f', 0, 1, '', '', '', '')"); >> in >> DbQuery("insert into email_msgs". >> " values ('', '$tv{today}', '', '', '', '$auth_user',". >> " '', '$on{foldername}', 'f', 0, 1, '', '', '')"); >> >> al che mi ha funzionato la creazione delle cartelle. > > è assolutamente impossibile che funzioni la query che hai modificato! > a meno che la struttura del tuo database è rimasta invariata e non > aggiornata a quanto definito nella 3.2.3b. Puoi controlare che la > tabella del database conincida con i seguenti campi: > > email_msgs=>[ > { name=>'id', type=>'varchar(200)',}, > { name=>'issue', type=>'date',}, > { name=>'timeissue', type=>'varchar(20)',}, > { name=>'sender', type=>'varchar(250)',}, > { name=>'contactid', type=>'varchar(15)',}, > { name=>'receiver', type=>'text',}, > { name=>'owner', type=>'varchar(8)',}, > { name=>'subject', type=>'text',}, > { name=>'folder', type=>'varchar(200)',}, > { name=>'content', type=>'varchar(250)',}, > { name=>'status', type=>'varchar(10)',}, > { name=>'size', type=>'int',}, > { name=>'sharemode', type=>'int',}, > { name=>'category', type=>'varchar(5)',}, > { name=>'body', type=>'text',}, > { name=>'pid', type=>'varchar(15)',}, > { name=>'originalid', type=>'varchar(250)',}, > ], > > come vedi i campi sono 17 e coincidono perfettamente con la query > originale. Detto questo se la mia tesi è giusta (e cioè il tuo db non > è aggiornato) mi chiedo perchè? in che modo hai fatto l'aggiornamento? > durante l'aggiornamento ti ha dato qualche errore? che sistema > operativo e database usi? > > Saluti > Luca Ciao Luca, E' vero è proprio così, e cioè la struttura della tabella del mio Db a questo punto non è stata aggiornata. Come sia possibile non saprei. Comunque io utilizzo una distro Fedora con apache2 e mysql e per fare l'aggiornamento ho scompattato il file tgz e poi ho semplicemente rieseguito la shell install.pl. Per quanto riguarda messaggi di errore io non ne ho riscontrati la shell e proseguita normalmente con le richieste di dati ( tra l'altro già predisposte dalla precedente installazione ) poi ho visto scorrere velocemente la fase di upgrade del db ma nessun messaggio di errore. O almeno se ne avesse dati non me ne sono accorto. Non c'è un altro modo per sapere dopo un aggiornamento se il Db è stato aggiornato correttamente ? Ciao e Buone Feste Alex |