Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
language selector error
i'm new on vanilla and have successfully installed the program and then installed Language Selector as we have a bilingual site and am getting the following error when trying to load vanila:
Notice: Undefined property: LanguageSelectorArray in /home/latinree/public_html/forum/extensions/LanguageSelector/default.php on line 84
Fatal error: Call to undefined function: buildlangarray() in /home/latinree/public_html/forum/extensions/LanguageSelector/default.php on line 87
the following is the code on line 84 -87 of default.php file
if (!$Context->LanguageSelectorArray)
//else build, without language code to save processing.
//BuildLangArray function is defined in the already included LanguageSelector.php file.
$Context->LanguageSelectorArray = BuildLangArray($Context, $code_key = false);
how do I fix or remove the extension if I cannot get in to log-in?
thanks in advance for any help.
rg
0
This discussion has been closed.
Comments
/LanguageSelector/default.php
Remove that line with the extension in question, save the file and upload it back to the /conf/ folder on your server. Make sure to properly give the file a permission setting of 0666 which should allow Vanilla to write to the file again after it's been uploaded.