Am I the ONLY one with this error?
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/myovercl/public_html/sudburyskate/skatespots/index.php on line 43
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'index'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'skatespots',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
chdir('$vboptions[homeurl]/');
require('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$navbits = array();
$navbits[$parent] = 'Sudbury Skate Spots'';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '"; ');
eval('print_output("' . fetch_template('skatespots') . '"); ');
?>
Created a template called 'skatespots'. The file is located at:
http://www.sudburyskate.com/skatespots/index.php