<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: i18n multilingual site: MySQL error</title>
			<link>http://www.silverstripe.org/archive/show/235186?start=0#post235444</link>
			<description>&lt;p&gt;Here is a temporary but very ugly solution:&lt;/p&gt;&lt;p&gt;Simply create a static html file of the login form (e.g. create the file &lt;strong&gt;login_form.html&lt;/strong&gt; in the Silverstripe root directory or anywhere else). You can simply copy and paste the generated source code of the actual login page so it looks like your template.&lt;/p&gt;&lt;p&gt;Then open the .htaccess file and add this line below RewriteBase:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;RewriteRule ^(Security\/login)$ login_form.html&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Now every time you go to the URL my-silverstripe-site/admin/ it will redirect you to the static page.&lt;/p&gt;&lt;p&gt;Be aware that the button &quot;I've lost my password&quot; will not work, but you could probably create a static page for that as well if you need it. The static form will also not remember the most recent page you had visited if that is what triggered the login form.&lt;/p&gt;&lt;p&gt;As I said above this is just an ugly temporary hack (and not thoroughly tested) - good if you need a quick hotfix.&lt;/p&gt;&lt;p&gt;I would be &lt;strong&gt;very&lt;/strong&gt; keen to find a better solution. Please do post if you know one.&lt;/p&gt;&lt;p&gt;Cheers!&lt;br /&gt;Anatol&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: i18n multilingual site: MySQL error &lt;a href=&quot;http://www.silverstripe.org/archive/show/235186?start=0#post235444&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/235186?start=0#post235444&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 24 Nov 2008 15:07:48 +1300</pubDate>
			<dc:creator>Anatol</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/235186?start=0#post235444</guid>
		</item>
		
		<item>
			<title>Re: i18n multilingual site: MySQL error</title>
			<link>http://www.silverstripe.org/archive/show/235186?start=0#post235213</link>
			<description>&lt;p&gt;I just found another post about this problem: &lt;a href=&quot;http://silverstripe.com/site-builders-forum/flat/174862&quot;&gt;http://silverstripe.com/site-builders-forum/flat/174862&lt;/a&gt;. It seems the problem is the login page itself which is not part of the site tree. Did anyone ever manage to make the login page work with i18n enabled?&lt;/p&gt;&lt;p&gt;Cheers!&lt;br /&gt;Anatol&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: i18n multilingual site: MySQL error &lt;a href=&quot;http://www.silverstripe.org/archive/show/235186?start=0#post235213&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/235186?start=0#post235213&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 24 Nov 2008 12:01:36 +1300</pubDate>
			<dc:creator>Anatol</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/235186?start=0#post235213</guid>
		</item>
		
		<item>
			<title>i18n multilingual site: MySQL error</title>
			<link>http://www.silverstripe.org/archive/show/235186#post235186</link>
			<description>&lt;p&gt;Hi Forum,&lt;/p&gt;&lt;p&gt;I enabled multilingual content for a Silverstripe site. Everything worked well but when I tried to log in to the CMS today I get a MySQL error that is connected to the multilingual functionality:&lt;/p&gt;&lt;p&gt;The problem is in a WHERE clause:&lt;/p&gt;&lt;p&gt;&quot;... WHERE (&lt;span style=&quot;color:red&quot;&gt;`SiteTree_lang_Live`.OriginalLangID = &lt;/span&gt;) AND (`SiteTree_lang_Live`.Lang = 'mi') ...&quot;&lt;/p&gt;&lt;p&gt;The OriginalLangID is empty. OriginalLangID refers to the page in the original reference language (in this case English) and should be an integer with the ID of the original page in the site tree. I am not sure why and where this error originates from. Did anyone have similar problems? I did not do any special customisation.&lt;/p&gt;&lt;p&gt;Even if I disable i18n I can no longer access the CMS.&lt;/p&gt;&lt;p&gt;Cheers!&lt;br /&gt;Anatol&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: i18n multilingual site: MySQL error &lt;a href=&quot;http://www.silverstripe.org/archive/show/235186#post235186&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/235186#post235186&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 24 Nov 2008 11:38:40 +1300</pubDate>
			<dc:creator>Anatol</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/235186#post235186</guid>
		</item>
		

	</channel>
</rss>