Author |
Message |
Kilim
Hangin' Around

Joined: Nov 02, 2004
Posts: 26
|
Posted:
Mon Jan 16, 2006 9:07 am |
|
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: http://www.sinvida.net/nuke
This is in both Site ACP and Forum ACP.
Any idea how to fix it? |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Jan 16, 2006 9:23 am |
|
Does Nuke-Evo store something other than the full URL in the nuke URL setting? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Jan 16, 2006 9:28 am |
|
/nuke/nuke ? That looks like your Site URL in Preferences and/or Forum->Admin->Configuration->Domain Name is set wrong. |
|
|
|
 |
Kilim

|
Posted:
Mon Jan 16, 2006 10:34 am |
|
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

|
Posted:
Mon Jan 16, 2006 12:34 pm |
|
You can verify the nukeurl by checking the nuke_config.nukeurl field (there should only be one record in the nuke_config table). |
|
|
|
 |
Kilim

|
Posted:
Mon Jan 16, 2006 4:41 pm |
|
|
|
 |
kguske

|
Posted:
Mon Jan 16, 2006 5:15 pm |
|
NukeSentinel seems to run fine with other distributions. Does it happen with every module and the index? |
|
|
|
 |
Kilim

|
Posted:
Tue Jan 17, 2006 3:07 pm |
|
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

|
Posted:
Tue Jan 17, 2006 5:11 pm |
|
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

|
Posted:
Tue Jan 17, 2006 6:14 pm |
|
I already answered the nuke_config sute url balue as per 1st asked by kguske
its http://www.sinvida.net/nuke
Question is: what is a mod_rewrite rule? |
|
|
|
 |
kguske

|
Posted:
Tue Jan 17, 2006 9:19 pm |
|
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

|
Posted:
Tue Jan 17, 2006 9:35 pm |
|
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

|
Posted:
Tue Jan 17, 2006 10:22 pm |
|
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

|
Posted:
Wed Jan 18, 2006 8:35 am |
|
Thanks for clearing that up
Now to figure out why it is causing it on my site  |
|
|
|
 |
kguske

|
Posted:
Wed Jan 18, 2006 9:17 am |
|
Are you using GT or GTNG or some other mod_rewrite / URL rewriting? |
|
|
|
 |
Kilim

|
Posted:
Wed Jan 18, 2006 12:06 pm |
|
|
|
 |
kguske

|
Posted:
Wed Jan 18, 2006 12:33 pm |
|
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

|
Posted:
Wed Jan 18, 2006 12:46 pm |
|
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

|
Posted:
Wed Jan 18, 2006 1:22 pm |
|
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
|
Posted:
Wed Jan 18, 2006 5:58 pm |
|
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.
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! |
|
|
 |
Raven

|
Posted:
Wed Jan 18, 2006 9:27 pm |
|
technocrat wrote: | I am stumped. |
You and me both! |
|
|
|
 |
technocrat

|
Posted:
Thu Jan 19, 2006 3:50 pm |
|
Ok I got it, the force url code is only looking at $_SERVER['HTTP_HOST'] which is always going to be the www.domain.com or domain.com depending on which you are using. But what about if the site is in a sub folder?
The nukeurl should be http://www.domain.com/folder 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

|
Posted:
Thu Jan 19, 2006 4:04 pm |
|
Uhm, What file am I suppose to edit? |
|
|
|
 |
technocrat

|
Posted:
Thu Jan 19, 2006 4:05 pm |
|
Sorry includes/nukesentinel.php |
|
|
|
 |
Kilim

|
Posted:
Thu Jan 19, 2006 4:14 pm |
|
Thanks alot  |
|
|
|
 |
|