Quote:
Originally Posted by Trisha
I'm pretty new to all of this stuff... I think this is line 30 (the one in bold):
// identify where we are
define('VB_AREA', 'Forum');
// ################################################## ###########################
// Start initialisation
require_once('./includes/init.php');
// ################################################## ###########################
// Start functions
if (DB_QUERIES)
{
// start functions parse timer
echo "Parsing functions.php\n";
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$beforetime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
'./includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')echo "Time before: $beforetime\n";
if (function_exists('memory_get_usage'))
{
echo "Memory Before: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
}
require_once('./includes/functions.php');
if (DB_QUERIES)
{
// end functions parse timer
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "Time after: $aftertime\n";
echo "Time taken: " . ($aftertime - $beforetime) . "\n";
if (function_exists('memory_get_usage'))
{
echo "Memory After: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
|
Quote:
Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30
|
Does the error message simply mean to take a parenthesis out of the line??
I'm new to this also.