Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: 3.1 Silverstripe Templates not refreshing

$
0
0

I had the same problem due to a different configuration on my (shared) live server.

Everytime you use ?flush, I ended up with a redirect URL of ?flush=&flushtoken=xxx instead of ?flush=&flushtoken=xxx. So the flushtoken never got recognized by the framework and as a consequence ?flush was ignored.

I've added this to my _config.php:

if( Director::isLive() ) {
   // Overwrite arg_seperator.output
   // @see ParameterConfirmationToken->reloadWithToken()
   ini_set('arg_separator.output', '&');
}


Posted to: 3.1 Silverstripe Templates not refreshing | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles