PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
kmarion
Regular
Regular


Joined: Nov 23, 2003
Posts: 64

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

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
chatserv
The Mouse Is Extension Of Arm


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

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

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
Regular
Regular


Joined: Nov 23, 2003
Posts: 64

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

Somehow I put the language file in wrong directory.. Doh! Shocked Thx Fellas
View user's profile Send private message Visit poster's website MSN Messenger
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum