thetawaverider Posted April 22, 2005 Share Posted April 22, 2005 Hello, I've been trying to access the admin/index.php page on my server, but when I do, the get_browser_language(), which should return "english" from the environmental variables, returns nothing....most of the time. Right now (for testing purposes), my admin/index page is actally just a copy of my application_top page, since this is where the function call takes place. The only difference is that I'm echoing out the language returned. The page can be found at: http://209.200.107.21/admin/index.php When you load the page in IE6, the language "english" shows up. However, when you load it in Firefox (or if you refresh the IE6 browser), the errors appear. If you don't see the word "english" the first time you try the link, try it again. I guarantee you will see "english" at least once. This is so strange. I don't know if this matters, but the server the site is currently is on is a Windows server, and the server development took place on was a Linux server. Would this criteria make a difference? I had nothing to do with the development, and did not choose the server now (I'm only doing the installation). If not, any ideas what is going on here? Thanks, TWR Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2005 Share Posted April 22, 2005 I would try to change (admin/includes/application_top.php): $lng->get_browser_language(); to: // $lng->get_browser_language(); $lng->set_language(DEFAULT_LANGUAGE); disabling the browserlanguage detection, it's quite useless for the admin anyway (for most users) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.