salve ragazzi buongiorno ho messo nel mio index error_reporting(E_ALL);
e i da i seguenti errori
Notice: Use of undefined constant SUPPORT - assumed 'SUPPORT' in C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\diva\index.php on line 47
Notice: Undefined variable: nome_pages in C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\diva\index.php on line 60
Notice: Undefined index: active in C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\diva\index.php on line 91
linea 47
Codice PHP:
if($configurazioni){
$apertura_siteweb =true;
[COLOR=red] $smarty->assign("description_title", SUPPORT.":".$siteconfig['titolo_diva']);[/COLOR] $smarty->assign("titolo_diva" , $siteconfig['titolo_diva']);
$smarty->assign("nome_diva" , $siteconfig['nome']);
$smarty->assign("email_diva" , $siteconfig['email']);
$smarty->assign("link_diva" , $siteconfig['link_diva']);
$smarty->assign("path_diva" , $siteconfig['path_diva']);
$smarty->assign("logo_diva" , $siteconfig['logo']);
$smarty->assign("template" , $siteconfig['template']);
@$smarty->assign("today" , @date("j F Y g:i:s a"));
}
linea 60
Codice PHP:
[COLOR=red]if(file_exists("modules/$nome_pages/index.php")and($enabledPage==1)){[/COLOR] $apertura_siteweb = true;
}/*QUESTA E LA CHIUSURA DI if(file_exists("modules/$nome_pages/index.php")and($enabledPage==1)){*/
linea 91
Codice PHP:
$array = mysql_fetch_array($estrazione_moduli);
$nome_pages = $array['nome_pages'];
$title_pages = $array['title_pages'];
$enabledPage = intval($array['enable']);
[COLOR=red] $ActivePage = intval($array['active']);[/COLOR]