Ackis Posted February 23, 2007 Posted February 23, 2007 Could someone help me please, I've got this message... Parse error: syntax error, unexpected ';' in /hsphere/local/home/ackispac/rcmaffian.se/oscommerce_st/catalog/includes/application_bottom.php on line 20 And this is what it looks like.... <?php /* */ // close session (store variables) tep_session_close(); if (STORE_PAGE_PARSE_TIME == 'true') { $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])), error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' - ' . getenv('REQUEST_URI') . ' (' . $parse_time . 's)' . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); if (DISPLAY_PAGE_PARSE_TIME == 'true') { echo '<span class="smallText">Parse Time: ' . $parse_time . 's</span>'; } } if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded == true) && ($ini_zlib_output_compression < 1) ) { if ( (PHP_VERSION < '4.0.4') && (PHP_VERSION >= '4') ) { tep_gzip_output(GZIP_LEVEL); } } ?> What am I suppose to do? :o //Ackis Jessica Fuchs
Velveeta Posted February 23, 2007 Posted February 23, 2007 Could someone help me please, I've got this message... Parse error: syntax error, unexpected ';' in /hsphere/local/home/ackispac/rcmaffian.se/oscommerce_st/catalog/includes/application_bottom.php on line 20 And this is what it looks like.... <?php /* */ // close session (store variables) tep_session_close(); if (STORE_PAGE_PARSE_TIME == 'true') { $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])), error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' - ' . getenv('REQUEST_URI') . ' (' . $parse_time . 's)' . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); if (DISPLAY_PAGE_PARSE_TIME == 'true') { echo '<span class="smallText">Parse Time: ' . $parse_time . 's</span>'; } } if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded == true) && ($ini_zlib_output_compression < 1) ) { if ( (PHP_VERSION < '4.0.4') && (PHP_VERSION >= '4') ) { tep_gzip_output(GZIP_LEVEL); } } ?> What am I suppose to do? :o //Ackis This line: $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), Should look like this: $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), 3); Richard. Richard Lindsey
Ackis Posted February 23, 2007 Author Posted February 23, 2007 :D Thank you Richard!!!! It worked!!! :thumbsup: Jessica Fuchs
Recommended Posts
Archived
This topic is now archived and is closed to further replies.