You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 55 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - This is probably a repeat...please help though [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
guest
Guest






PostPosted: Wed May 21, 2003 9:32 am Reply with quoteBack to top

Hi,

Somewhat newbie here. I'm not completely familiar with php, but i do know what's going on...anyway, here's my question.

What's going on with this site??

http://members.lycos.co.uk/papaschnay

Any help is appreciated!
This is off of a fresh install!
PLEASE HELP!

Papa Schnay
Find all posts by Anonymous
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Wed May 21, 2003 9:36 am Reply with quoteBack to top

Looks ok to me....
Find all posts by Daniel-cmwView user's profileSend private message
Guest







PostPosted: Wed May 21, 2003 9:45 am Reply with quoteBack to top

Most of it's okay,

I'm wondering how to get rid of the lines where this happens

_CURRENTLY 1
_GUESTS 1 _MEMBERS

_YOUARELOGGED
_YOUHAVE 0
_PRIVATEMSGS
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 21, 2003 10:08 am Reply with quoteBack to top

You haven't added the language file definitions for your block/module. You need to add the DEFINES for those variables into the language files that you use on your site.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Guest







PostPosted: Wed May 21, 2003 10:18 am Reply with quoteBack to top

How do I do that?
Find all posts by Anonymous
Guest
Guest






PostPosted: Wed May 21, 2003 10:23 am Reply with quoteBack to top

Wait,

If you mean that they aren't defined in ./language/lang-english.php , they are, it's just that they aren't showing up as the text it's supposed to be! This is really weird!
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 21, 2003 10:37 am Reply with quoteBack to top

Check the path in your block/module index.php file to find out where your module/block is expecting the language file to be. It can't find it.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Guest
Guest






PostPosted: Wed May 21, 2003 11:01 am Reply with quoteBack to top

Alright,

This is the piece of code I think you're talking about!

In the block-Who_is_Online.php file
---------------------------------------
if (eregi("block-Who_is_Online.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

Here's the thing...there's no index.php file in /block or /module. I don't know where it's pointing!!
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 21, 2003 11:15 am Reply with quoteBack to top

In that file, search for the word 'language' and find where it expects the language file to be. Then, verify that that is where it is.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Guest
Guest






PostPosted: Wed May 21, 2003 3:14 pm Reply with quoteBack to top

doesn't find anything!?!
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 21, 2003 3:17 pm Reply with quoteBack to top

And you're sure that these variables:

_CURRENTLY
_GUESTS
_MEMBERS

_YOUARELOGGED
_YOUHAVE
_PRIVATEMSGS

are all in language/lang-english.php as DEFINES?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Guest
Guest






PostPosted: Wed May 21, 2003 8:35 pm Reply with quoteBack to top

Hi,

Me again. It's not like this is the only place that this happens. It happens in the poll block, all over the admin page, it's everywhere where this happens. Just wondering what the possible cause of this could be!!
Find all posts by Anonymous
Guest
Guest






PostPosted: Wed May 21, 2003 8:49 pm Reply with quoteBack to top

[Edited and removed offensive language]

One example is:

lang-english.php
****************
define("_CURRENTLY","There are currently,");

then you look in block-Who_is_Online.php
****************
etc
etc
$who_online = "<center><font class=\"content\">"._CURRENTLY." $guest_online_num "._GUESTS." $member_online_num "._MEMBERS."<br>";
etc
etc
etc

I'm pretty sure that the periods are supposed to be there, that's how it originally showed up. Anyway, any help appreciated!

Thanks
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu May 22, 2003 3:04 am Reply with quoteBack to top

I understand your frustration, but please read the rules of conduct for posting messages and follow them. I have edited your previous message and removed the cussing.

And yes, the periods are supposed to be there.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Guest
Guest






PostPosted: Thu May 22, 2003 7:32 am Reply with quoteBack to top

Sorry!!
Find all posts by Anonymous
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.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.221 Seconds - 186 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::