PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Sun Feb 08, 2004 11:44 pm Reply with quote Back to top

Hi, when I run the module in phpnuke I get this error string on the top right column, away from the guestbook:

Warning: main(language/usermenu/lang-english.lang.php.php): failed to open stream: No such file or directory in /web/marentes/public_html/familia/blocks/block-User_Menu.php on line 21

Warning: main(): Failed opening 'language/usermenu/lang-english.lang.php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /web/marentes/public_html/familia/blocks/block-User_Menu.php on line 21

The guestbook is running, but this string appears and it seems to effect my block containing user info, any idea what the problem might be?

Only registered users can see links on this board!
Get registered or login to the forums!


I am using phpnuke 70
Thanks
Buggs
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

PostPosted: Mon Feb 09, 2004 12:08 am Reply with quote Back to top

Line 21 in that block seems to have an error as the file is getting called with the .php extension twice, the filaname itself looks odd, i think it should be something like lang-english.php
View user's profile Send private message Visit poster's website
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Mon Feb 09, 2004 12:16 am Reply with quote Back to top

But I only get this error message when I open the KISGB on my site. Any other time, there is no problem with this block.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Feb 09, 2004 12:32 am Reply with quote Back to top

This usually is an indication of a variable clash between 2 blocks. In this case, kisgb and userinfo may be stepping on each other.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Feb 09, 2004 12:34 am Reply with quote Back to top

Can you post line 21?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Mon Feb 09, 2004 12:39 am Reply with quote Back to top

That's what I figured, it almost looks like you maybe running the same block, or is it different?

This is line 21 from the user menu block:

include("language/usermenu/lang-$language.php");
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Feb 09, 2004 12:47 am Reply with quote Back to top

Yep, that's what it is. Well, kisgb is a module and that other is a block. Change all instances of $language, in the block, to something like $languageui .
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Mon Feb 09, 2004 1:10 am Reply with quote Back to top

When I change it as you indicate I get this error even if I don't run kisgb.

Warning: main(language/usermenu/lang- .php): failed to open stream: No such file or directory in /web/marentes/public_html/familia/blocks/block-User_Menu.php on line 21

Warning: main(): Failed opening 'language/usermenu/lang- .php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /web/marentes/public_html/familia/blocks/block-User_Menu.php on line 21

Any idea what might work, other than removing the block?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Feb 09, 2004 4:53 am Reply with quote Back to top

2 things, possibly. Either the block is buggy or you caused an error with your changes. Since I don't know where the block was getting $language from, the first time it is referenced you might have to leave and then the very next line you might have to do something like $languageui = $language.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Tue Feb 10, 2004 12:54 am Reply with quote Back to top

Mmmmmh, I can't seem to make it work, I have tried several user menu and I get the same problem, that is weird that I am the only one having this problem.

I tried all the above and no luck Crying or Very sad
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Feb 10, 2004 6:50 am Reply with quote Back to top

Zip the menu block file and email it to me.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
buggs
New Member
New Member


Joined: Jan 10, 2004
Posts: 6

PostPosted: Wed Feb 11, 2004 12:23 am Reply with quote Back to top

Thanks,
I sent it to you, I do appreciate it!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Feb 11, 2004 12:33 am Reply with quote Back to top

Well, it works with mine so either something else in conjunction is meesing it up or you're not using the same release. I am using my unpublished release. I'll look at it more tomorrow.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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