Quick Cache (Speed Without Compromise)
[resolved] QC syntax error, unexpected T_STRING (3 posts)

  1. BlogLadi
    Posted 2 years ago #

    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.

    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 your QUICK_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_GET_REQUESTS')) define('QUICK_CACHE_GET_REQUESTS', '0');
    if(!defined('QUICK_CACHE_FEEDS_ENABLE')) define('QUICK_CACHE_FEEDS_ENABLE', '0');


  2. Raam Dev
    Plugin Author

    Posted 2 years ago #

    Quick Cache require PHP v5.3+. Can you tell me what version of PHP you're running?

  3. BlogLadi
    Posted 2 years ago #

    Thought it was 5.5 - Double checked it, had to up it. thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic