Author |
Message |
Themis
Worker


Joined: Nov 17, 2003
Posts: 131
|
Posted:
Tue Oct 05, 2004 4:42 pm |
|
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 |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Oct 05, 2004 5:25 pm |
|
It looks like not all of your files got uploaded correctly. Try ftp'ing the files again. |
|
|
|
 |
beetraham
Regular


Joined: Dec 13, 2003
Posts: 94
Location: Finland (EU)
|
Posted:
Tue Oct 05, 2004 5:29 pm |
|
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 |
|
|
|
 |
Themis

|
Posted:
Tue Oct 05, 2004 6:38 pm |
|
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  |
|
|
|
 |
beetraham

|
Posted:
Tue Oct 05, 2004 7:01 pm |
|
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 |
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

|
Posted:
Tue Oct 05, 2004 8:23 pm |
|
By George I think I finally got it Thanks beetraham, so much. Such a silly file to get all messed up on.
Nice to know I can come here for quick help.  |
|
|
|
 |
beetraham

|
Posted:
Tue Oct 05, 2004 8:35 pm |
|
Themis wrote: | By George I think I finally got it Thanks beetraham, so much. Such a silly file to get all messed up on.
Nice to know I can come here for quick help. |
Thanks a lot, Themis - glad to hear it worked out, great!
BR,
-beetraham |
|
|
|
 |
|