Patching 7.5 to 7.6 and root index.php issue

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Patching 7.5 to 7.6 and root index.php issue
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   
I solved the problem. I have to add this line in my files "if (!stristr($_SERVER['SCRIPT_NAME'], "modules.php")) {
die ("You can't access this file directly...");
} in the place of this --- if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}


Thanks



Back to top Reply with quote
#2   re: Patching 7.5 to 7.6 and root index.php issue
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Are you sure when you uploaded the new files that all the old files were overwritten properly? You can always try this to:
Backup the entire admin folder that's in your nuke site, then delete the one on your site. Now reupload the new 7.6 admin folder that came with Nuke 7.6. and see what happens, please make sure to backup the original first though!

You don't have to touch the $modpath = ''; line at all.



Back to top Reply with quote
#3   Re: re: Patching 7.5 to 7.6 and root index.php issue
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   


Originally posted by echo @ Mon Jan 24, 2005 5:24 pm:

Are you sure when you uploaded the new files that all the old files were overwritten properly? You can always try this to:
Backup the entire admin folder that's in your nuke site, then delete the one on your site. Now reupload the new 7.6 admin folder that came with Nuke 7.6. and see what happens, please make sure to backup the original first though!

You don't have to touch the $modpath = ''; line at all.


Thanks, Guess that I was editing my post while you were repling to me.

Again thanks. I have filse that I added and will have to go through the site.



Back to top Reply with quote
#4   re: Patching 7.5 to 7.6 and root index.php issue
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Quote from Chatserv:



A few things to consider:
1-You can't use Nuke Patched to upgrade a nuke site, you must first upgrade Nuke with the non patched version and then apply Nuke Patched.

2-The module you have in the homepage does not have the following in its index file:

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


maybe it has:

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


or your main index.php file is not that of Nuke Patched.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum