Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.4.x
Author Message
Kilim
Hangin' Around


Joined: Nov 02, 2004
Posts: 26

PostPosted: Mon Jan 16, 2006 9:07 am Reply with quote

Not sure if the issue I am about to post is a Sentinel issue or a Nuke-Evolution issue but here it is.

Upgraded site from Nuke 7.5 to Nuke-Evo v1.0 to Nuke-Evo v1.0.1.
Was trying to make the Force Nuke Url option in Nuke-Sentinel and when I enable it it sends me to this 404 error message page:
Code:
Not Found

The requested URL /nuke/nuke/modules.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have my nuke site set as: Only registered users can see links on this board! Get registered or login!
This is in both Site ACP and Forum ACP.

Any idea how to fix it?
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Mon Jan 16, 2006 9:23 am Reply with quote

Does Nuke-Evo store something other than the full URL in the nuke URL setting?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Mon Jan 16, 2006 9:28 am Reply with quote

/nuke/nuke ? That looks like your Site URL in Preferences and/or Forum->Admin->Configuration->Domain Name is set wrong.
 
View user's profile Send private message
Kilim
PostPosted: Mon Jan 16, 2006 10:34 am Reply with quote

This is exactly how I have it in my Site ACP:
Code:
http://www.sinvida.net/nuke

That is how it is also in my Forum ACP.

My nuke site is in a folder called /nuke.

I think Nuke-Evo is just a modified version of PhP-Nuke.
Just a few tweaks here and there.

For the Nuke Url, it stores it the same way as standard nuke I belive.
 
kguske
PostPosted: Mon Jan 16, 2006 12:34 pm Reply with quote

You can verify the nukeurl by checking the nuke_config.nukeurl field (there should only be one record in the nuke_config table).
 
Kilim
PostPosted: Mon Jan 16, 2006 4:41 pm Reply with quote

Ok I have it verified via my databse also.
It has my nuke site set as: Only registered users can see links on this board! Get registered or login!
 
kguske
PostPosted: Mon Jan 16, 2006 5:15 pm Reply with quote

NukeSentinel seems to run fine with other distributions. Does it happen with every module and the index?
 
Kilim
PostPosted: Tue Jan 17, 2006 3:07 pm Reply with quote

The ONLY problem I have so far is running the Force Nuke URL option.
When I set it to enabled it sends anyone viewing my nuke site into that 404 error page.
When I have it disabled it runs fine.

I remember the older Sentinel version had a warning of the site may load slower if this feature is on.
But now that I am using Nuke-Evolution, I was trying to give it another shot and when I did I got that 404 error message.

Hope that helps in figuring what the problem is for me.
 
Raven
PostPosted: Tue Jan 17, 2006 5:11 pm Reply with quote

Check your nuke_config table and see what the value is for nukeurl. All NukeSentinel(tm) Force URL does is take that value. It does not add anything to it. Do you possibly have a mod_rewrite rule that is redirecting to nuke/nuke ?
 
Kilim
PostPosted: Tue Jan 17, 2006 6:14 pm Reply with quote

I already answered the nuke_config sute url balue as per 1st asked by kguske Smile
its Only registered users can see links on this board! Get registered or login!

Question is: what is a mod_rewrite rule?
 
kguske
PostPosted: Tue Jan 17, 2006 9:19 pm Reply with quote

mod_rewrite is something like GoogleTap or GT-NexGen that changes URLs with .php and variables into shorter URLs with .html. It doesn't appear that you have this.
 
Kilim
PostPosted: Tue Jan 17, 2006 9:35 pm Reply with quote

You think this is a Nuke-Evolution issue?
Or has soemthing to do w/ Nuke-Sentinel?
Or just something I missed in my site?
 
Raven
PostPosted: Tue Jan 17, 2006 10:22 pm Reply with quote

It is not a NukeSentinel(tm) issue per se. Meaning, as I stated above All NukeSentinel(tm) Force URL does is take that value. It does not add anything to it.
 
Kilim
PostPosted: Wed Jan 18, 2006 8:35 am Reply with quote

Thanks for clearing that up Very Happy
Now to figure out why it is causing it on my site Sad
 
kguske
PostPosted: Wed Jan 18, 2006 9:17 am Reply with quote

Are you using GT or GTNG or some other mod_rewrite / URL rewriting?
 
Kilim
PostPosted: Wed Jan 18, 2006 12:06 pm Reply with quote

Not sure waht you talkiing about.
I am using Nuke-Evolution for my Nuke site. Only registered users can see links on this board! Get registered or login!
 
kguske
PostPosted: Wed Jan 18, 2006 12:33 pm Reply with quote

It looks like URL rewriting is NOT included in Nuke-Evolution, so if you added it, you would know what I was talking about. I think we can assume that you are not using that. So it seems most likely that there is something in Nuke-Evolution that impacts this. Have you spoken with the developers there? It seems they are using NukeSentinel...
 
Kilim
PostPosted: Wed Jan 18, 2006 12:46 pm Reply with quote

I have posted the same thing in the Nuke-Evo site.
Technocrat was not able to replicate it soemhow so I am just reposting that with a fresh install of Nuke-Evo i was able to replicate the problem.
Hopefully we can fig out what it is if its a Nuke-Evo issue.
Just came here to try and isolate possible sources.
Thanks again.
 
kguske
PostPosted: Wed Jan 18, 2006 1:22 pm Reply with quote

Thank you. You're definitely in good hands with Technocrat. We are stumped as to how that could happen without any modifications to NukeSentinel, mainfile.php, index.php / modules.php / admin.php, or an included file.
 
technocrat
Life Cycles Becoming CPU Cycles


Joined: Jul 07, 2005
Posts: 511

PostPosted: Wed Jan 18, 2006 5:58 pm Reply with quote

Its not an Evo issue as far as I can figure. I see no reason for this problem unless the nuke URL is wrong or the server vars are passing wrong data for some odd reason. Confused

I have tried to reproduce the problem a number of different ways and I cannot.

I am stumped.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
Raven
PostPosted: Wed Jan 18, 2006 9:27 pm Reply with quote

technocrat wrote:
I am stumped.

You and me both!
 
technocrat
PostPosted: Thu Jan 19, 2006 3:50 pm Reply with quote

Ok I got it, the force url code is only looking at $_SERVER['HTTP_HOST'] which is always going to be the Only registered users can see links on this board! Get registered or login! or domain.com depending on which you are using. But what about if the site is in a sub folder?

The nukeurl should be Only registered users can see links on this board! Get registered or login! right?
But the $_SERVER['HTTP_HOST'] isnt going to show the folder, so $_SERVER['HTTP_HOST'] != $nukeurl is always going to be true. So now you have the problem of it replacing something that it should not be. Which is in turn adding the extra folder.

So all we have to do is trim off the folder(s).

So find:
Code:
$servrqst1 = strtolower($_SERVER['HTTP_HOST']);


After add:
Code:
  if($pos = strpos($servtemp1, '/')){

     $servtemp1 = substr($servtemp1,0,$pos);
  }
 
Kilim
PostPosted: Thu Jan 19, 2006 4:04 pm Reply with quote

Uhm, What file am I suppose to edit?
 
technocrat
PostPosted: Thu Jan 19, 2006 4:05 pm Reply with quote

Sorry includes/nukesentinel.php
 
Kilim
PostPosted: Thu Jan 19, 2006 4:14 pm Reply with quote

Thanks alot Very Happy
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.4.x

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©