Bug #143
closedFatal error: Call to a member function get_isocode()
100%
Description
Hi,
just checked out the actual svn.
Install went through smooth, but when klicking "go to your new portal"
Fatal error: Call to a member function get_isocode() on a non-object in ..\chamilo\common\html\header.inc.php on line 14
Looks like there is a problem with the current solution...
I have chosen "German" in the setup, needing for translation, but unfortunately there seems no valid entry for that...?
Also:
$document_language = AdminDataManager :: get_instance()->retrieve_language_from_english_name($language_interface)->get_isocode();
if (empty($document_language))
{
//if there was no valid iso-code, use the english one
$document_language = 'en';
}
doesn't work, because otherwise i shouldn't have seen that error ;-)
Updated by Sven Vanpoucke over 13 years ago
- Assignee set to Sven Vanpoucke
- Target version set to 2
Alexander, the problem is here that the current support languages are dutch and english
we need to provide a system to have the languages parsed out of a xml file (because we need more information)
I'll get to it straight away, for now you can test in english :)
Updated by Sven Vanpoucke over 13 years ago
- Status changed from New to Needs testing
- % Done changed from 0 to 100
Fixed the issue in
http://websvn.chamilo.org/revision.php?repname=Chamilo&rev=23432
Updated by Stefaan Vanbillemont over 13 years ago
- Status changed from Needs testing to Bug resolved
Tested and fixed!
Updated by Stefaan Vanbillemont about 12 years ago
- Project changed from Chamilo LCMS Connect to Installation
- Category deleted (
16)
Updated by Stefaan Vanbillemont about 12 years ago
- Target version changed from 2 to 1.0.0