Pending some sort of announcement on bug or wrong doing i wonder..
Using the integrated phpbb forum in phpnuke 6.5, is it correct/no error to create an empty file in /modules/Forums/language called lang-xxxxxxx.php, it would perhaps solve this problem below..
I got this complaint when i go to the forums link on my site (my language swedish) set default in phpnuke, and set default in phpbb:
Warning: Failed opening 'modules/Forums/language/lang-swedish.php' for inclusion (include_path='.:/usr/share/php/PEAR') in mainfile.php on line 183
Tracing line 183 in mainfile.php, i came across that i belongs in the get_lang function:
function get_lang($module) {
global $currentlang, $language;
if (file_exists("modules/$module/language/lang-$currentlang.php")) {
if ($module == admin) {
include_once("admin/language/lang-$currentlang.php");
} else {
include_once("modules/$module/language/lang-$currentlang.php");
}
} else {
if ($module == admin) {
include_once("admin/language/lang-$currentlang.php");
} else {
include_once("modules/$module/language/lang-$language.php"); <--- LINE 183
}
}
}
I can see that it tries to include the language file for the language i have chosen, (in my case lang-swedish.php).
However, that is no good at all, since there only is one in a fresh 6.5 install, and that's lang-english.php, wich works ok in many cases, since alot of people are using the english language on there site.
Also, opening that file (lang-english.php) reveals this:
######################################################################
# Modulo Splatt Forum per PHP-NUKE
#-------------------------
# Versione: 3.2
#
# by:
#
# Giorgio Ciranni (~Splatt~) (http://www.splatt.it) (webmaster@splatt.it)
#
#
# Supporto tecnico disponibile sul Forum di www.splatt.it
######################################################################
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################
Wich leads me to believe that this .php file belongs to the splatt forum.
Does phpbb forum use this file _anyways_?
Some immediate help would be really thankful, because this bug or whatever it is, is a showstopper for me
Oh, and excuse my bad english, my native language is swedish
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum