Language recognition stopped working

Install and configure FormaLMS and DoceboCE
Post Reply
jeffgtr
Newbie
Posts: 12
Joined: Tue Aug 27, 2013 1:00 am

Language recognition stopped working

Post 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?

User avatar
alberto
FormaLms Guru
Posts: 990
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Language recognition stopped working

Post 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
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

jeffgtr
Newbie
Posts: 12
Joined: Tue Aug 27, 2013 1:00 am

Re: Language recognition stopped working

Post by jeffgtr »

I'm on php version 5.3.3-23.el6_4

jeffgtr
Newbie
Posts: 12
Joined: Tue Aug 27, 2013 1:00 am

Re: Language recognition stopped working

Post 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

Post Reply