QC syntax error, unexpected T_STRING
-
I’m getting the white screen – turned on debug and got this message:
syntax error, unexpected T_STRING..site info…//wp-content/advanced-cache.php on line 2
here is the upper half of the file (not sure if line is starts from beginning or from beginning of code info)
any help is MUCH appreciated.
———
<?php
namespace quick_cache // Root namespace.
{
if(!defined(‘WPINC’)) // MUST have WordPress.
exit(‘Do NOT access this file directly: ‘.basename(__FILE__));/*
* This file serves as a template for the Quick Cache plugin in WordPress.
* The Quick Cache plugin will fill the%%
replacement codes automatically.
* e.g. this file becomes:/wp-content/advanced-cache.php
.
*
* Or, if you prefer; you can set the PHP constants below in your/wp-config.php
file.
* Then, you could simply drop this file into:/wp-content/advanced-cache.php
on your own ??
* ~ Be sure to setup a CRON job that clears yourQUICK_CACHE_DIR
periodically.
*//*
* Quick Cache configuration constants.
* —————————————————————————-
*/
/*
* These work as boolean flags.
*/
if(!defined(‘QUICK_CACHE_ENABLE’)) define(‘QUICK_CACHE_ENABLE’, ‘1’);
if(!defined(‘QUICK_CACHE_DEBUGGING_ENABLE’)) define(‘QUICK_CACHE_DEBUGGING_ENABLE’, ‘0’);
if(!defined(‘QUICK_CACHE_ALLOW_BROWSER_CACHE’)) define(‘QUICK_CACHE_ALLOW_BROWSER_CACHE’, ‘0’);
if(!defined(‘QUICK_CACHE_GET_REQUESTS’)) define(‘QUICK_CACHE_GET_REQUESTS’, ‘0’);
if(!defined(‘QUICK_CACHE_FEEDS_ENABLE’)) define(‘QUICK_CACHE_FEEDS_ENABLE’, ‘0’);
- The topic ‘QC syntax error, unexpected T_STRING’ is closed to new replies.