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: 349,696,596
  • Today: 32,821
Server InfoServer Info
  • Mar 18, 2018
  • 12:23 pm PDT

Daily Inspiration