ho provveduto ad installare su uno spazio vuoto la versione premod 3.0.9 e fin qui tutto ok. I problemi nascono successivamente quando associo un database vecchio, appena configuro il file config.php con l'indirizzo del vecchio database mi spuntano sul forum una serie di warning php.
Il problema permane anche se riconfiguro il file config con il database vuoto usato per la prima installazione della premod, in pratica anche se il database è di nuovo quello vergine della prima installazione gli errori rimangono.
ecco gli errori che mi spunta sull'homepage del sito visibile anche qui http://www.sicilyalfaclub.org/forum/index.php
Codice: Seleziona tutto
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4684: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4685: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4686: Cannot modify header information - headers already sent by (output started at /config.php:7)
Codice: Seleziona tutto
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
e questi sono gli errori che mi spuntano dentro l'acp
Codice: Seleziona tutto
[phpBB Debug] PHP Warning: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /config.php:7)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /config.php:7)
Codice: Seleziona tutto
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
come risolvo questi errori? c'è un modo per importare un database su una nuova versione della premod senza generare questi errori?