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™ v2.6.x
Author Message
cobra
New Member
New Member


Joined: Sep 21, 2013
Posts: 2

PostPosted: Sat Sep 21, 2013 8:46 am Reply with quote

Hi,

I had a phpnuke website running for years on an old host and decided to move it to a new host. The website had Nukesentinal installed and running on it. This addon was set-up and configured by another person years ago that I can no longer get in contact with.

After moving the website files and databases, everything seems to be working ok except for the admin section of my site. When I try to access admin.php the nukesetinel log-in box appears as usual, I log in but then I get a page stating an internal error has occurred. I believe this could be due to the fact that that database name and username have changed.

I have been able to change the database connection details for the website, other modules etc. However I can't find where nukesentinel is storing the connection details for the database. As these would now be incorrect since the move.

I have also tried uploading the nsnst_installer installer folder again and running nsnt.php. However I get a message that only super admins may run this script.

Essentially I am now locked out of my admin section of my website and can't figure out anyway around it.... Am really desperate for any help. I would really appreciate if any knows how to fix. Where is nukesetinel storing the old DB connection details?

Regards,

Richard
 
View user's profile Send private message
wHiTeHaT
Life Cycles Becoming CPU Cycles


Joined: Jul 18, 2004
Posts: 577
Location: Netherlands

PostPosted: Sat Sep 21, 2013 9:09 am Reply with quote

goto phpmyadmin and change in table nuke_nsnst_config :
http_auth 1 to 0

[EDIT]

Sorry above is wrong......

open your .htaccess and find something simular like this:

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile D:\wamp\www\probalyroot\.staccess <---
</Files>

and put infront of each line a #

#<Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted by NukeSentinel(tm)"
# AuthType Basic
# AuthUserFile D:\wamp\www\probalyroot\.staccess <---
#</Files>
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
wHiTeHaT
PostPosted: Sat Sep 21, 2013 9:33 am Reply with quote

edited... read above
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Sat Sep 21, 2013 9:42 am Reply with quote

Keep in mind that removing those lines removes protection of the admin pages. So, in other words, only a very temporary bandaid so you can finish configuring/testing your site on the new host.

I suspect the issue really is with the AuthUserFile path. Very doubtful your hosted site is on Windows and using the WAMP server? This looks like a locally running site on your PC. Get that configuration right, and I suspect it will work.

_________________
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 Visit poster's website
wHiTeHaT
PostPosted: Sat Sep 21, 2013 9:53 am Reply with quote

@montego ... i think you mixing the answer/question.
 
cobra
PostPosted: Sun Sep 22, 2013 12:55 am Reply with quote

Thanks very much for the super quick reply and help!
I commented out those lines from .htaccess and can now get into the admin side of my website!
I am so relieved Smile Really appreciate the help on this one, I was really starting to freak out this last few days.
Is there any way to update the database connection details and get this thing working again?
Or should I just leave things the way they are with the nukesentinel disabled and count my self lucky lol

(I did manage to find the path of the .htaccess, .staccess and .ftpaccess in nukesentinel administrator and change this to the new path)
 
wHiTeHaT
PostPosted: Sun Sep 22, 2013 2:17 am Reply with quote

this guide should help you:
Only registered users can see links on this board! Get registered or login!
 
montego
PostPosted: Sun Sep 22, 2013 9:30 am Reply with quote

wHiTeHaT wrote:
@montego ... i think you mixing the answer/question.


Nope. I didn't. Wink

Quote:

(I did manage to find the path of the .htaccess, .staccess and .ftpaccess in nukesentinel administrator and change this to the new path)
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ 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 ©