Error: Failed opening 'language/lang-.php' for inclusion

3.9.4. Error: Failed opening 'language/lang-.php' for inclusion

You either

  • didn't install the language files lang-xxx.php (like language/lang-english.php), or

  • you cannot connect to the database, so that the value of the default language could not be set and is empty (and that's why you get an error about lang-.php, instead of lang-english.php, or lang-french.php etc.). Try the small test script (see Call to undefined function: message die in db.php line 88):

    mysql_connect("$dbhost", "$dbuname", "$dbpass");
    echo mysql_error();

    (see also Section 3.9.1), or

  • your include path information is missing some paths (like ".", the current directory), see Section 3.9.10.

Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO


Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 373,294,376
  • Today: 20,180
Server InfoServer Info
  • Dec 14, 2018
  • 06:33 am CET