Totally Zenned
- Join Date:
- Jul 2005
- Location:
- Hoedspruit
- Posts:
- 470
- Plugin Contributions:
- 1
Parse time logging
I have set my 1.3.0.2 logging to true and I get this error message:
Warning: error_log(/var/log/www/zen/page_parse_time.log): failed to open stream: No such file or directory in /home2/patgreen/public_html/13/includes/modules/footer.php on line 19
and the code reads:
$time_start = explode(' ', PAGE_PARSE_START_TIME);
$time_end = explode(' ', microtime());
$parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), 3);if (STORE_PAGE_PARSE_TIME == 'true') {
error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' - ' . $_SERVER['REQUEST_URI'] . ' (' . $parse_time . 's)' . "\n", 3, STORE_PAGE_PARSE_TIME_LOG);
I don't understand code, but to the way I read, it is instructing the error message to display.
Or have I missed something again.