You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 117 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Is this correct? please help (showstopper) [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Northsea
Nuke Cadet
Nuke Cadet


Joined: Jun 20, 2003
Posts: 6


PostPosted: Thu Jun 26, 2003 10:21 pm Reply with quoteBack to top

Hi guys!

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 Crying or Very sad

Oh, and excuse my bad english, my native language is swedish Very Happy

Yours
/Northsea
Find all posts by NorthseaView user's profileSend private messageMSN MessengerICQ Number
Viper
Lieutenant
Lieutenant


Joined: May 04, 2003
Posts: 282

Location: Louisville, KY USA

PostPosted: Thu Jun 26, 2003 10:46 pm Reply with quoteBack to top

Didn't you already post about this here: http://nukecops.com/postp24778.html#24778

If so, cross posting will just make some people mad enough not to help you.

_________________
Building A Better PHP-Nuke Community!
Image
Find all posts by ViperView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.295 Seconds - 391 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::