Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Themis
Worker
Worker



Joined: Nov 17, 2003
Posts: 131

PostPosted: Tue Oct 05, 2004 4:42 pm Reply with quote

OK I think I messed up and I don't know what to do to fix this:


I was trying to install name: Categorized Tree Menu Block and Modules Tweak With or Without Google Tap.

I get these errors:

Warning: czm_get_lang(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/admin/modules/modules.php on line 25

I seem to have been able to get rid of the one above. But don't know what to do to get rid of the ones below........


Warning: main(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/blocks/block-Modules.php on line 40

Warning: main(): Failed opening 'admin/language/CZModules/lang-english.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/php/blocks/block-Modules.php on line 40


My site is www.leoht.com

Thank you in advance
Themis
_________________
www.leoht.com
Leoht Spiritus Gaming Community

_________________
Shonierose
Shonie's Retreat
www.shonie.com 
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Oct 05, 2004 5:25 pm Reply with quote

It looks like not all of your files got uploaded correctly. Try ftp'ing the files again.
 
View user's profile Send private message
beetraham
Regular
Regular



Joined: Dec 13, 2003
Posts: 94
Location: Finland (EU)

PostPosted: Tue Oct 05, 2004 5:29 pm Reply with quote

Themis wrote:

OK I think I messed up and I don't know what to do to fix this:

I was trying to install name: Categorized Tree Menu Block and Modules Tweak With or Without Google Tap.

I get these errors:

Warning: czm_get_lang(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/admin/modules/modules.php on line 25

I seem to have been able to get rid of the one above. But don't know what to do to get rid of the ones below........

Warning: main(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/blocks/block-Modules.php on line 40

Warning: main(): Failed opening 'admin/language/CZModules/lang-english.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/php/blocks/block-Modules.php on line 40


My site is www.leoht.com

Thank you in advance
Themis
_________________
www.leoht.com
Leoht Spiritus Gaming Community


Hi Themis,

It seems that according to given error logs, there is a missing *language* file at the following location:

$NUKEROOT/admin/language/CZModules/lang-english.php

[$NUKEROOT == your PHP-Nuke's main root folder, at which you can find such files as *admin.php*; *config.php*,etc.]

Please browse the package *CZModules* original (off-the-shelf) content and thereafter copy the the *missing* file to *expected location*.

You'll then most probably get rid off the prompted error.

Hope this helps.

BR,

-beetraham
 
View user's profile Send private message
Themis







PostPosted: Tue Oct 05, 2004 6:38 pm Reply with quote

ok well hmmm I followed this path:

/var/www/html/php/blocks/block-Modules.php on line 40

and downloaded the file. Above the "do not edit line are some things: Would it be in here?


$czmtheme = get_theme();
if (file_exists("themes/$czmtheme/images/CZM/arrow.gif")) {
$arrowimg = "themes/$czmtheme/images/CZM/arrow.gif";
} else {
$arrowimg = "images/CZModules/arrow.gif";
}

if (file_exists("themes/$czmtheme/images/CZM/open.gif")) {
$openimg = "themes/$czmtheme/images/CZM/open.gif";
} else {
$openimg = "images/CZModules/open.gif";
}

if (file_exists("themes/$czmtheme/images/CZM/closed.gif")) {
$closedimg = "themes/$czmtheme/images/CZM/closed.gif";
} else {
$closedimg = "images/CZModules/closed.gif";
}

if (file_exists("admin/language/CZModules/lang-$currentlang.php")) {
include_once("admin/language/CZModules/lang-$currentlang.php");
} else {
include_once("admin/language/CZModules/lang-english.php");
}


//DO NOT EDIT BELOW
$content = "<script language=\"JavaScript1.2\">
<!--

I totally deleted the first file and redownloaded and uploaded it. I could be doing something entirely stupid but I thought I got everything to the right place??



Warning: main(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/blocks/block-Modules.php on line 40

Warning: main(): Failed opening 'admin/language/CZModules/lang-english.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/php/blocks/block-Modules.php on line 40




Is there something in the includes?? I should be doing??

Thanks again Smile
 
beetraham







PostPosted: Tue Oct 05, 2004 7:01 pm Reply with quote

Themis wrote:
ok well hmmm I followed this path:

/var/www/html/php/blocks/block-Modules.php on line 40

and downloaded the file. Above the "do not edit line are some things: Would it be in here?


$czmtheme = get_theme();
if (file_exists("themes/$czmtheme/images/CZM/arrow.gif")) {
$arrowimg = "themes/$czmtheme/images/CZM/arrow.gif";
} else {
$arrowimg = "images/CZModules/arrow.gif";
}

if (file_exists("themes/$czmtheme/images/CZM/open.gif")) {
$openimg = "themes/$czmtheme/images/CZM/open.gif";
} else {
$openimg = "images/CZModules/open.gif";
}

if (file_exists("themes/$czmtheme/images/CZM/closed.gif")) {
$closedimg = "themes/$czmtheme/images/CZM/closed.gif";
} else {
$closedimg = "images/CZModules/closed.gif";
}

if (file_exists("admin/language/CZModules/lang-$currentlang.php")) {
include_once("admin/language/CZModules/lang-$currentlang.php");
} else {
include_once("admin/language/CZModules/lang-english.php");
}


//DO NOT EDIT BELOW
$content = "<script language=\"JavaScript1.2\">
<!--

I totally deleted the first file and redownloaded and uploaded it. I could be doing something entirely stupid but I thought I got everything to the right place??



Warning: main(admin/language/CZModules/lang-english.php): failed to open stream: No such file or directory in /var/www/html/php/blocks/block-Modules.php on line 40

Warning: main(): Failed opening 'admin/language/CZModules/lang-english.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/php/blocks/block-Modules.php on line 40




Is there something in the includes?? I should be doing??

Thanks again Smile



Hi Themis,

I'd still dare to suggest/believe that it is the */var/www/html/php/blocks/block-Modules.php* which complains about missing file *admin/language/CZModules/lang-english.php* - i.e the blockfile's OK, but the referred language file is missing. (I may as well be lost in thoughts)

So, the block is disturbed by the absence of that referred language file - you'll probably notice that all's well as soon as you have uploaded the missing language file to it's proper relative location.

So, please try copying the referred language file to it's expected location at the webserver as follows;

[copy from your PC to webserver as follows:]

CZModules/lang-english.php -----copy-procedure----> $NUKEROOT/admin/language/CZModules/lang-english.php

Should you continue to experience difficulties after above being performed, do let us know - it'll get forked out for sure.

Thanks,

BR,

-beetraham
 
Themis







PostPosted: Tue Oct 05, 2004 8:23 pm Reply with quote

By George I think I finally got it Smile Thanks beetraham, so much. Such a silly file to get all messed up on. Bang Head

Nice to know I can come here for quick help. RavensScripts
 
beetraham







PostPosted: Tue Oct 05, 2004 8:35 pm Reply with quote

Themis wrote:
By George I think I finally got it Smile Thanks beetraham, so much. Such a silly file to get all messed up on. Bang Head

Nice to know I can come here for quick help. RavensScripts


Thanks a lot, Themis Very Happy - glad to hear it worked out, great!

BR,

-beetraham
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©