Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$lang set to "C" on login page
#1
I have a strange issue. On the login page, the $lang parameter is set to "C". In debug mode, I get these errors:

Warning: include_once([...]/admin/lang/C.php) [function.include-once]: failed to open stream: No such file or directory in [...]/admin/inc/common.php on line 172

Warning: include_once() [function.include]: Failed opening '[...]/admin/lang/C.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in [...]/admin/inc/common.php on line 172

Warning: array_key_exists() expects parameter 2 to be array, null given in [...]/admin/inc/basic.php on line 604

(replaced path to site with [...])

Something goes wrong with the language fallback in i18n() but I can't figure out what.

EDIT: on my local production website this is not happening. The only difference is that the online version resides in a /beta/ subdirectory, but I can't see how that could have something to do with it?
Reply


Messages In This Thread
$lang set to "C" on login page - by phm - 2012-08-31, 20:43:05
$lang set to "C" on login page - by shawn_a - 2012-09-01, 00:12:08
$lang set to "C" on login page - by phm - 2012-09-01, 01:18:55
$lang set to "C" on login page - by Carlos - 2012-09-01, 09:46:10



Users browsing this thread: 1 Guest(s)