Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0
Author Message
kmarion
Regular
Regular



Joined: Nov 23, 2003
Posts: 64

PostPosted: Tue Mar 02, 2004 12:31 am Reply with quote

I have recently done a fresh install of nuke 7.0. when adding some blocks I get this message

Warning: main(language/lastseen/lastseen-english.php): failed to open stream: No such file or directory in /home/tfssquad/public_html/blocks/block-Last_Seen.php on line 30

Warning: main(): Failed opening 'language/lastseen/lastseen-english.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/tfssquad/public_html/blocks/block-Last_Seen.php on line 30

This was the last seen block, it has done similar with others.
 
View user's profile Send private message Visit poster's website MSN Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Mar 02, 2004 5:52 am Reply with quote

For a quick fix (maybe) comment out this line
get_lang($module_name);
If that works then it appears you are missing the language file that goes with that block.
 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Tue Mar 02, 2004 12:12 pm Reply with quote

Code:
if(file_exists("language/lastseen/lastseen-$currentlang.php")) {

        include("language/lastseen/lastseen-$currentlang.php");
}
else {
        include("language/lastseen/lastseen-english.php");
}

Download the block again if you deleted the zip from your pc, along with the block it includes language files.
 
View user's profile Send private message Visit poster's website
kmarion







PostPosted: Wed Mar 03, 2004 12:32 am Reply with quote

Somehow I put the language file in wrong directory.. Doh! Shocked Thx Fellas
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©