<![CDATA[ Babel and Firefox - My Forums]]> https://forums.modx.com/thread/?thread=91396 <![CDATA[Babel and Firefox]]> https://forums.modx.com/thread/91396/babel-and-firefox#dis-post-499965 http://lang.sottwell.modxcloud.com/

It is based on this tutorial, using this context router. I've used this combination before with no trouble.

What is really weird is that while it works great on Safari and Chrome, and even on IE, on Firefox it doesn't work with the default URL, http://lang.sottwell.modxcloud.com. It produces a blank page with an error
 [2014-06-10 22:20:18] (ERROR @ /index.php) Could not prepare context: ru

It works fine if using the virtual subdirectories, http://lang.sottwell.modxcloud.com/ru/ and http://lang.sottwell.modxcloud.com/en/.

Again, Safari, IE and Chrome work fine, with no errors. huh

]]>
sottwell Jun 10, 2014, 03:23 PM https://forums.modx.com/thread/91396/babel-and-firefox#dis-post-499965
<![CDATA[Re: Babel and Firefox]]> https://forums.modx.com/thread/91396/babel-and-firefox#dis-post-499967
if($contextDefault == $defaultLang) $contextDefault = 'web';

]]>
sottwell Jun 10, 2014, 04:10 PM https://forums.modx.com/thread/91396/babel-and-firefox#dis-post-499967