Guest HUBBARDSTON20 Posted July 22, 2012 Share Posted July 22, 2012 I am trying to install version 5.1.1 and am running into a problem during setup. Under Store settings>Default Language there are no options in the drop down box to choose from therefore I cannot continue onto the next step of the install. Can someone please help? Thank you Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 22, 2012 Share Posted July 22, 2012 I assume this is a clean install. If so, it sounds like you didn't get a good install. Maybe you can install over this one??? If it's NOT a clean install you'd better wait for someone more knowledgeable to come along!!! Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 23, 2012 Share Posted July 23, 2012 There doesn't seem to be a problem with the code. But I do recall posting a bug report (maybe in the prior system, or maybe it's one of the bugs that went missing in the 1-15 range) that discussed coding. In one place, there is: foreach ($languages as $code => $lang) { $lang['selected'] = ($code == $_SESSION['language']) ? ' selected="selected"' : ''; $GLOBALS['smarty']->append('LANG_LIST', $lang); } and in another, there is: foreach ($languages as $option) { $option['selected'] = ($option['code'] == $_SESSION['language']) ? ' selected="selected"' : ''; $smarty_data['list_langs'][] = $option; } $GLOBALS['smarty']->assign('LANGUAGES', $smarty_data['list_langs']); They are basically the same, but I had a problem with one of them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.