How long it needs to create content
Posted: Wed 10. Aug 2005, 14:12
moin, ich muß hier ein altes Thema nochmal aufgreifen.
vor einem Jahr wurde das Thema {TIMER} schon einmal behandel, doch bei den von mir eingesetzten DEV 1.2.3 tritt das Problem nun wieder von neuem auf, allerdings nicht mehr in der "front.func.inc.php", sondern wie es aussieht direkt beim Aufruf in der "index.php".
der Aufruf sieht derzeit wie folgt aus:
vor einem Jahr wurde das Thema {TIMER} schon einmal behandel, doch bei den von mir eingesetzten DEV 1.2.3 tritt das Problem nun wieder von neuem auf, allerdings nicht mehr in der "front.func.inc.php", sondern wie es aussieht direkt beim Aufruf in der "index.php".
Code: Select all
Fatal error: Call to a member function on a non-object in /usr/export/www/hosting/test/index.php on line 267
Code: Select all
$timer->stop('main');
$t = $timer->get_current('main');
$t = number_format ( $t, 5, '.', ','); //number_format ( float number, int decimals, string dec_point, string thousands_sep)
$content["all"] = str_replace('{TIMER}', $t.' sec', $content["all"]);
echo '<div align="center" style="margin-top:15px;border-top:1px dotted #cccccc;font-size:9px;"><div style="margin-top:5px;">generiert in: '.$t.' sec Searchable: '.$cache_searchable.'</div></div>';