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, 70 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 - Downloads detail Error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
waiel
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2003
Posts: 16

Location: USA

PostPosted: Tue Jan 14, 2003 11:27 pm Reply with quoteBack to top

hi,
i don't know if anyone have the same problem or not
but when i added a download in the download section i type the title in 2 difrent langages like ( english + japanies )
if i click on details it gives me a white page and "I Don't like you" messege Confused


so anyone knows anything about it ?!
Find all posts by waielView user's profileSend private message
waiel
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2003
Posts: 16

Location: USA

PostPosted: Wed Jan 15, 2003 12:28 am Reply with quoteBack to top

also the rate this program is not wroking !!
Find all posts by waielView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Wed Jan 15, 2003 3:01 am Reply with quoteBack to top

ok, I've just spent half hour playing with my site, and I cant' see your problem

The downloads take their details from the SQL database, not a language file, so the language isn't the problem.

Could you give us a little more detail about the problem please? Start by enabling debugging modes on nuke by following the instructions layed out here and posting any errors you get.

Ur using Nuke 6.5 aren't u? Can u give us some details about the server you're running it on?

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Jan 15, 2003 6:31 am Reply with quoteBack to top

The I don't like you message will usually appears when certain symbols are part of the url, if for instance i have a download whose title is Impressum, when i click on details the url will be:
Code:

http://www.nukeresources.com/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=384&ttitle=Impressum

This will be ok with PHP-Nuke, but if i had named the file [Impressum] then the details url would be:
Code:

http://www.nukeresources.com/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=384&ttitle=[Impressum]

which would give me the I don't like you message when clicked, these symbols are defined in mainfile.php near the top, usually around the third paragraph:
Code:

foreach ($HTTP_GET_VARS as $secvalue) {
    if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*img*\"?[^>]*>", $secvalue)) ||
   (eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
   (eregi("\"", $secvalue))) {
   die ("I don't like you...");
    }
}

What could be done is remove these symbols from this code. For the example i gave i'd remove all instances of [ and ].

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jan 15, 2003 9:33 am Reply with quoteBack to top

And that's my fault [benefit]. If you remove any of those lines, you risk opening yourself up to some cross site scripting (XSS) hacks.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Jan 15, 2003 9:39 am Reply with quoteBack to top

That is the case but kids running game/clan sites usually do it without considering the risks because to some, being able to have |33t nicks and filenames is beyond any security risk. Rolling Eyes

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
waiel
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2003
Posts: 16

Location: USA

PostPosted: Wed Jan 15, 2003 12:01 pm Reply with quoteBack to top

Thanks for clearing that out

It was fixed when i just removed the ( ) from the word and replaced it with _
i think the problem will also ocurrs if i use the [ ]

all i have is to just use _ insted of the brakets ^_^


Thanks again guys for your help
Find all posts by waielView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



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.205 Seconds - 299 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::