LD SoftwareBespoke Software, Web Design, Security Consultants and Host Services.

Menu

Sentinel
You have been warned!
We have caught 5845 shameful hackers.

NukeSentinel(tm)

Paypal Referral
Sign up for PayPal and start accepting credit card payments instantly.

Link Exchange
Join our free link exchange

Click Here
 
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):

    <?php
    include("config.php");
    mysql_connect("$dbhost", "$dbuname", "$dbpass");
    mysql_select_db("$dbname");
    echo mysql_error();
    phpinfo();
    ?>
    

    (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

 
You can syndicate our News with backend.php And our Forums with rss.php
You can also access our feeds via Feedburner Site News and LD Software Forums
© 2009 ld-software.co.uk All Rights Reserved.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.16 Seconds