Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.x
Author Message
jdvanpelt
New Member
New Member



Joined: Feb 26, 2012
Posts: 9

PostPosted: Sun Feb 26, 2012 2:34 pm Reply with quote

I am not very technical and it's been a few years since I was living/breathing php-nuke, so please bear with me.

I have decided to relaunch my site (verbalobe.com) and use the latest RN in place of phpnuke.

To start out I got a clean RN install running locally on xampp, so far so good.

Went to configure Nuke Sentinel 2.6.x (not because my local dev environment needs to be secure, but basically to get familiar with everything for when I go to production) and followed the instructions at the wiki (great docs btw).

But upon completion of the .htaccess and .staccess steps, system displayed the Nuke Sentinel login prompt as expected when I went to admin.php, and when the credentials are entered it simply redisplays, over and over.

If I hit cancel I get a few script warnings from mainfile. (I don't think those are relevant?)

Since I am on windows, not **nix, I have not done anything to permissions for .htaccess or .staccess.

I tried recreating the .staccess file several times with different passwords in case the hash got corrupted. The only thing I notice here is when I check the nuke_nsnst_admins table, the password hash being put in .staccess is the crypt one, not the md5 one. I assume that is by design.

Another factor that might be relevant is that my RN home directory is nested in /xampp/htdocs/[mynesteddir]/, not in htdocs directly. In case that might be an issue.

Any help appreciated.
 
View user's profile Send private message
jdvanpelt







PostPosted: Sun Feb 26, 2012 3:00 pm Reply with quote

Oh, hunh. I just noticed something.

The script errors I mentioned look like this:

Code:
Notice: Use of undefined constant i - assumed 'i' in C:\xampp\htdocs\mainfile.php on line 142


And I just realized that C:\xampp\htdocs\mainfile.php reference is NOT in mynesteddir.

So maybe there is a problem with not being sited directly in /htdocs/

Or maybe this is an unrelated problem.

(EDIT) Okay, I removed the extraneous phpnuke stuff in htdocs. So now when I click cancel on the non-working NS authentication, I get a normal Apache "Authorization Required" page.


Last edited by jdvanpelt on Sun Feb 26, 2012 3:08 pm; edited 1 time in total 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun Feb 26, 2012 3:03 pm Reply with quote

I just tested it with Xampp on linux and it works fine. To be honest with you, I have never set up NS on a test server. I would have to guess that it probably has to do with running Xampp on a windows machine.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
jdvanpelt







PostPosted: Sun Feb 26, 2012 3:10 pm Reply with quote

Okay, fair advice. I'll just comment out the section in .htaccess and just continue with development. Thanks.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 28, 2012 10:17 pm Reply with quote

jdvanpelt wrote:
Oh, hunh. I just noticed something.

The script errors I mentioned look like this:

Code:
Notice: Use of undefined constant i - assumed 'i' in C:\xampp\htdocs\mainfile.php on line 142


And I just realized that C:\xampp\htdocs\mainfile.php reference is NOT in mynesteddir.

So maybe there is a problem with not being sited directly in /htdocs/

Or maybe this is an unrelated problem.

(EDIT) Okay, I removed the extraneous phpnuke stuff in htdocs. So now when I click cancel on the non-working NS authentication, I get a normal Apache "Authorization Required" page.


I just wanted to say that this error does not make sense if you are using the latest version of RN (2.5). I see nothing around line142 that could cause this. Are you sure you have the latest version?

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
jdvanpelt







PostPosted: Wed Feb 29, 2012 6:30 am Reply with quote

Palbin wrote:
I just wanted to say that this error does not make sense if you are using the latest version of RN (2.5). I see nothing around line142 that could cause this. Are you sure you have the latest version?

Thanks palbin...

I had a mainfile.php in htdocs, from an earlier, incomplete install of phpnuke (not RN).

So my RN installation is in C:\xampp\htdocs\verbalobe\

But somehow something was trying to go to C:\xampp\htdocs\mainfile.php

Once I removed all the extraneous phpnuke stuff, NS gave me a simple 'Authorization Required' error instead of script errors.

It still concerns me a little that anything in RN or NS wanted to look at anything in \htdocs\ instead of \htdocs\verbalobe\, but I'm not going to worry about it until I'm ready to deploy in production.
 
cheffette
New Member
New Member



Joined: Jul 29, 2004
Posts: 4
Location: Washington

PostPosted: Thu Sep 06, 2012 9:13 pm Reply with quote

hi..
1st i would like to thank all of you that spent time in creating such an awesome fork of phpnuke.
it ROKS!!
now my problem is related to sentinel and ravenuke 2.5 the latest release.
I have downloaded installed RN-a clean install, no problems at all.
I am reading the how to pertaining to setting up nuke sentinel via ravennuke wiki
pertaining to cgiauth.
when i follow the steps and copy the code that is said to be copied: ie
--> AuthUserFile /path/to/your/.staccess<--this one i'm supposed to change to my info.
when i do that, i get the box that pops up asking to authenticate my info, and when i enter it, it just keeps looping back telling me to redo my info again.
i have also received an error page,
a 500 internal error page,
and the pg that states ths module isn't active.

I have been trying for 30 mins, have looked in the nuke_nsnst_admins
table( my info is correct)
and when i return/ftp to the original htaccess file that i didn't put my correct info in-( i used the info that came up when i selected the cgiauth link on the sentinel admin )
i returned back to the regular admin login page and can login..

i don't know what i did wrong.lol..
i am thankful that raven and his team has put together such an awesome package, myself being a nuke newbie for abt 8 or so years, and this package really roks.
now i just have to figure out this login issue..
any advice would be greatly appreciated..
thanx again. Very Happy
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Sep 06, 2012 11:03 pm Reply with quote

Is this a local testing installation or a live site? If it's local I usually don't bother configuring that as the settings will be different on your server. If it's a live site make sure you have completed the cgi auth setup at admin.php?op=ABCGIAuth

a 500 error is a server misconfiguration which is often caused by an error in htaccess. You may have edited incorrectly, have a syntax error, or possibly your server path is incorrect (guessing)
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.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 ©