The Elearning Community • Language recognition stopped working
Page 1 of 1

Language recognition stopped working

Posted: Tue Aug 27, 2013 1:23 am
by jeffgtr
After restoring the database from a backup appeared to stop working.
in /templates/standard/layout/home_login.php
<?php echo Lang::t('_INTRO_STD_TEXT', 'login'); ?>
Returns intro std text

In the admin section all appears ok. It is set to english and <?php echo Layout::lang_code(); ?> returns EN as it should

Any ideas on this?

Re: Language recognition stopped working

Posted: Fri Sep 06, 2013 3:12 pm
by alberto
Hi jeffgtr, welcome onboard :)

Maybe you also migrated the server to php 5.4? Similar issues may happen in this case, I suggest to revert to php 5.3

Re: Language recognition stopped working

Posted: Sun Sep 08, 2013 4:37 pm
by jeffgtr
I'm on php version 5.3.3-23.el6_4

Re: Language recognition stopped working

Posted: Sun Sep 08, 2013 4:41 pm
by jeffgtr
Never mind. It is working now. I migrated this from a server that had 5.4 to a server with 5.3 and it's working now