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 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Comments For Weblinks And Downloads Doesn't Work [ ]
 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
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Tue Jul 29, 2003 3:52 pm Reply with quoteBack to top

When i try to RATE THIS SITE or RATE THIS DOWNLOAD i get a return page that says

Quote:
You can't access this file directly...


Visit the link below and try to rate a site to see what i mean....

http://www.subfighter.com/modules.php?name=Web_Links&l_op=viewlink&cid=5

i installed a fresh copy PHPNUKE 6.8 which is the version i am having the problem on.. But the information in the Weblinks and Downloads sections was originally from phpnuke 6.5 which i exported then i imported the tables into my PHPNUKE 6.8.. Could of have done something wrong there???

these are the tables for the DOWNLOADS i exported from 6.5 and then imported to 6.8
Quote:
nuke_downloads_categories
nuke_downloads_downloads
nuke_downloads_editorials
nuke_downloads_modrequest
nuke_downloads_newdownload
nuke_downloads_votedata



these are the tables i exported for the WEBLINKS from 6.5 and then imported to 6.8
Quote:
nuke_links_categories
nuke_links_editorials
nuke_links_links
nuke_links_modrequest
nuke_links_newlink
nuke_links_votedata


Any help will be greatly appreciated

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News
Find all posts by dirtbagView user's profileSend private message
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Tue Jul 29, 2003 5:08 pm Reply with quoteBack to top

man i can't figure out what is going on!!! Crying or Very sad is there some chmod settings i need to change...

i just went and setup a fresh phpnuke 6.8 site over on the free lycos server.. and i added a couple of downloads links and then i tried to go RATE them and i get the same error above.....

you can go check it out here....

http://members.lycos.co.uk/subfighter/modules.php?name=Downloads&d_op=viewdownload&cid=1

and go to the main page if you want to login as admin

the login and password are admin

http://members.lycos.co.uk/subfighter/admin.php

is this a problem with my phpnuke 6.8 ???
Find all posts by dirtbagView user's profileSend private message
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Wed Jul 30, 2003 2:37 pm Reply with quoteBack to top

look here as it was discussed more and there seems to be a bug in the Search Module.

http://www.nukestyles.com/modules.php?name=Forums&file=viewtopic&t=280&postdays=0&postorder=asc&start=15

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News
Find all posts by dirtbagView user's profileSend private message
mynukecops
Private
Private


Joined: Jun 19, 2003
Posts: 41


PostPosted: Thu Jul 31, 2003 3:53 am Reply with quoteBack to top

I moved from 6.5 to 6.7, just found the same problem.
In 6.7/6.8 voteinclude.php, it added these two lines:


if (!eregi("index.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly....");
}

if you change index.php to modules.php, everything will be fine. You can see it here. www.natrindex.com
Find all posts by mynukecopsView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jul 31, 2003 3:57 am Reply with quoteBack to top

mynukecops,

Thanks for sharing this fix. I have moved the thread to Bug Fixes!

_________________
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
mynukecops
Private
Private


Joined: Jun 19, 2003
Posts: 41


PostPosted: Thu Jul 31, 2003 3:57 am Reply with quoteBack to top

It seems that voteinclude.php in Downloads module is the same file as in Web_links. If you make above change, th eproblem should be gone.
Find all posts by mynukecopsView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 31, 2003 7:15 am Reply with quoteBack to top

Hi, I tried voting here at NC for a download and web link (web link is admin only here), and I didn't see any errors?

_________________
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
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jul 31, 2003 7:20 am Reply with quoteBack to top

But check the code to see if it has been fixed here. I'd be curious.

_________________
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
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 31, 2003 7:28 am Reply with quoteBack to top

For downloads, index.php has this:

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}


voteinclude doesn't have that at all. I think perhaps that is where it should be. CVS voteinclude for download mod is the same.

_________________
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
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jul 31, 2003 7:31 am Reply with quoteBack to top

But if you check the distro's for 6.6 at least which is all I have access to right now, it reads index.php and not modules.php. Wonder if this was in a fix pack?

_________________
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
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 31, 2003 7:34 am Reply with quoteBack to top

Good call... betaNC will soon be 6.7.

_________________
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
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Thu Jul 31, 2003 7:42 am Reply with quoteBack to top

yeah if you change voteinclude.php in both the Weblinks and Download Module than it seems to work correctly

Code:
if (!eregi("index.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly....");
}


to

Code:
if (!eregi("modules.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly....");
}


thanks

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News

Last edited by dirtbag on Thu Jul 31, 2003 8:04 am; edited 1 time in total
Find all posts by dirtbagView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 31, 2003 7:54 am Reply with quoteBack to top

Tell you what, I'll add that in right now to both, and you guys can forward everyone to the CVS for download.

They are now done. Thanks for the catch.

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