Problem with langs in URL when moving to server (internationalization i18n) |
[eluser]term25[/eluser]
Hi, I have problem with i18n. On localhost everything works great, but after moving to my server (justhost provider) I get these 2 errors: Quote:A PHP Error was encountered Quote:A PHP Error was encountered So, I looked at the line 72 in the core/MY_Lang.php and there is this line: Code: $uri = ($uri[0] != '/') ? '/'.$uri : $uri; It is in the part which set default lang in url I guess: Code: if ((!$url_ok) && (!$this->is_special($uri_segment['parts'][0]))) // special URI -> no redirect This error occurs only when I access my site like: http://www.example.com/temp/site/ when I type it like this: http://www.example.com/temp/site/en or http://www.example.com/temp/site/fr everything works great How to solve it? Thanks in advance. |
Messages In This Thread |
Problem with langs in URL when moving to server (internationalization i18n) - by El Forum - 10-09-2011, 11:57 PM
|