Es ist jan nichts Dramatisches aber unötiges Protukolieren brauch auch rezurcen!
Darum würde ich gerne wissen Warum er follgende zeilen im error.log des Servers aufzeichnet und wie man das Abschaltet ?
IM LOG seht
__________________________________________________ __________
PHP Warning: constant(): Couldn't find constant #A1433B in /html/xtFramework/charts/chart.orders.php on line 270
und in der chart.orders.php im bereich der zeile 270 steht folgendes
Code:
$pieShop = array();
$pieData = array();
$pieSliceColor = array();
$i=1;
foreach ($stores as $sdata) {
if( $data[$sdata['id']] > 0 ){
$pieShop[] = $sdata['text'] . ' - ' . $data[$sdata['id']] ;
$pieData[] = $data[$sdata['id']] / $totalamount * 100;
$pieSliceColor[] = constant(_CHART_COLOR_.$i);
$i++;
}
}
$g->pie(60,'#505050','{font-size: 12px; color: '.constant(_CHART_COLOR_3).';}');
$g->pie_values( $pieData, $pieShop );
$g->pie_slice_colours( $pieSliceColor );
$g->set_tool_tip( '#val#%' );
echo $g->render();
}
warum findet er die contante nicht