Warning: get_lang(modules/freegaming/language/lang-english.p

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Warning: get_lang(modules/freegaming/language/lang-english.p
Jonny5
CZ Newbie
Jonny5 has been a member for over 20 year's 20 Year Member
usa.gif pennsylvania.gif
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Sep 04, 2004
0.00 posts per day
Posts: 23
Points: 2,746
AIM Address  MSN Messenger 
I keep getting this error with a module I installed.

Warning: get_lang(modules/freegaming/language/lang-english.php): failed to open stream: No such file or directory in /home/*****/public_html/mainfile.php on line 189

Warning: get_lang(): Failed opening 'modules/freegaming/language/lang-english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/mainfile.php on line 189


Now, from this I know I have to add the directory, but what do I put in the lang-english.php file?



Back to top Reply with quote
#2   
trusted-host
CZ Super Newbie
trusted-host has been a member for over 20 year's 20 Year Member
canada.gif
Occupation: Self Employeed
Age: 37
Gender: Male
Fav. Sports Team: Toronto Maple Leafs
Website:
Status: Offline
Joined: Sep 06, 2004
0.01 posts per day
Posts: 49
Points: 2,410
   
Hello

Find the following code in the index.php file, and delete it, and upload it again.

get_lang($module_name);


That should fix your problem.

Trusted-Host


Back to top Reply with quote
#3   
Jonny5
CZ Newbie
Jonny5 has been a member for over 20 year's 20 Year Member
usa.gif pennsylvania.gif
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Sep 04, 2004
0.00 posts per day
Posts: 23
Points: 2,746
AIM Address  MSN Messenger 
I commented it out and it doesn't seem to do the trick. Here yo can see it first hand,
http://jonny-5.com/modules.php?name=freegaming



Back to top Reply with quote
#4   re: Warning: get_lang(modules/freegaming/language/lang-engli
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
was there a lang file in module folder and you upload it ? icon_rolleyes.gif



Back to top Reply with quote
#5   
trusted-host
CZ Super Newbie
trusted-host has been a member for over 20 year's 20 Year Member
canada.gif
Occupation: Self Employeed
Age: 37
Gender: Male
Fav. Sports Team: Toronto Maple Leafs
Website:
Status: Offline
Joined: Sep 06, 2004
0.01 posts per day
Posts: 49
Points: 2,410
   
Hello

Can you post the index.php code in, thank you.

Trusted-Host



Back to top Reply with quote
#6   re: Warning: get_lang(modules/freegaming/language/lang-engli
Jonny5
CZ Newbie
Jonny5 has been a member for over 20 year's 20 Year Member
usa.gif pennsylvania.gif
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Sep 04, 2004
0.00 posts per day
Posts: 23
Points: 2,746
AIM Address  MSN Messenger 

<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* ======================                                               */
/* Based on Automated FAQ                                               */
/* Copyright (c) 2001 by                                                */
/*    Richard Tirtadji AKA King Richard (rtirtadji@hotmail.com)         */
/*    Hutdik Hermawan AKA hotFix (hutdik76@hotmail.com)                 */
/* http://www.phpnuke.web.id                                            */
/*                                                                      */
/* 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.       */
/************************************************************************/

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
//get_lang($module_name);

$pagetitle = "- $module_name";


    include("header.php");
    OpenTable();
$handle = fopen("http://www.freegaming.de/webmastercontent/fungames.php","r");
$i=1;
while(!feof($handle))
{
$str = fgets($handle, 200);
echo "$str";
$i++;
}
fclose($handle);

    CloseTable();
    include("footer.php");
?>



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum