2012-10-07 12:46:15
Upgrade problem LanguageManager related Atutor 21
When upgrading an ATutor 2.0.3 installation, I ended up getting these warnings when trying to log in:
.... [ 5-6 similar looking lines are deleted] .....
Warning: Invalid argument supplied for foreach() in /atutor/skolen/mods/_core/languages/classes/LanguageManager.class.php on line 173
Warning: reset() expects parameter 1 to be array, null given in /atutor/mods/_core/languages/classes/LanguageManager.class.php on line 201
Warning: current() expects parameter 1 to be array, null given in /atutor/mods/_core/languages/classes/LanguageManager.class.php on line 203
There are no languages installed!
I suspect that the reason could be related to the fact that I have removed the English translation/localization. Can any one confirm this? Or could it be another reason?
PS: The reason I removed the English translation was that otherwise, users would be served the English translation by default - which is not something we are interested in.
PPS: I rolledback to the backed up installation for now, so I am still running ATutor 2.0.3