Title: w3 Total Cache activation errors
Last modified: August 20, 2016

---

# w3 Total Cache activation errors

 *  Resolved [hilts50](https://wordpress.org/support/users/hilts50/)
 * (@hilts50)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-activation-errors/)
 * Trying to install W3 total cache. I am using wordpress in a network multi site
   format.
 * I’ve chmoded the wp-content directory to 777
 * Uploaded the plugin.
 * When I go into one of the sites and try to activate it I get an error that says
   I need to add
 * define(‘WP_CACHE’, true); before require_once(ABSPATH . ‘wp-settings.php’);
 * to my wp-config file.
 * I’ve done this and when I go to reactivate the plugin I get the following.
 * Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/vmps/public_html/
   wp-config.php on line 108
 * this is where I placed the code supplied. This basically kills my site until 
   I remove the code from wp-config.
 * Any ideas on how I can resolve this?
 * thanks,
 * Bill

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [tgeorge](https://wordpress.org/support/users/tgeorge/)
 * (@tgeorge)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-activation-errors/#post-2297383)
 * I hope you’ve not pasted `before require_once(ABSPATH . 'wp-settings.php');` 
   because it’s not part of the code.
 * You only have to paste `define('WP_CACHE', true);` and you have to pay attention
   to the `;` sign and the quotes have to be straight, not curly.
 *  Thread Starter [hilts50](https://wordpress.org/support/users/hilts50/)
 * (@hilts50)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-activation-errors/#post-2297450)
 * Thanks tgeorge that was my mistake. I was pasting all of it. Long day and my 
   mind completely missed that.
 * I appreciate you point this out.
 * Bill

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘w3 Total Cache activation errors’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [hilts50](https://wordpress.org/support/users/hilts50/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-activation-errors/#post-2297450)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
