Author |
Message |
southern
Client

Joined: Jan 29, 2004
Posts: 624
|
Posted:
Wed Jul 18, 2007 8:38 pm |
|
In my 7.9 with 3.3 patch admin.php there is the code
Code:
//Uncomment the following lines after setting the site url in the Administration
//global $nukeurl;
//if (!stripos_clone($_SERVER['HTTP_HOST'], $nukeurl)) {
// die("Access denied");
//}
|
OK, I set the nuke url in Admin Preferences but if I uncomment the code I get Access Denied. What needs to be done so I can uncomment it w/o an Access Denied? Does this have anything to do with Nukesentinel's Force Nuke Url setting? |
_________________ Computer Science is no more about computers than astronomy is about telescopes.
- E. W. Dijkstra |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Jul 18, 2007 9:02 pm |
|
You don't need that code if you are using NukeSentinel(tm). |
|
|
|
 |
southern

|
Posted:
Thu Jul 19, 2007 11:41 am |
|
If? lol I wouldn't think of running a nuke site w/o Nukesentinel. I'm glad I don't need the code. Actually now that I've seen nuke 7.9 I'm going to scrap the install and put on RavenNuke 2.10.01... this may not be the right topic but how do I drop the 7.9 install? |
|
|
|
 |
Raven

|
Posted:
Thu Jul 19, 2007 1:11 pm |
|
If you used Fantastico to install it, use Fantastico to uninstall it. Then, through cPanel, use phpMyAdmin to delete all of the tables. Leave the database so you don't have to recreate it. Then, install RN. |
|
|
|
 |
southern

|
Posted:
Thu Jul 19, 2007 1:21 pm |
|
OK, sweet and simple. I d/led RavenNuke and I'll do this after I do some other non-website related work. |
|
|
|
 |
southern

|
Posted:
Fri Jul 20, 2007 10:09 am |
|
Looks great. I only got kicked out of the RavenNuke admin area three times til I dumped my cache and chmodded .htaccess and .staccess 777, now it's all fine. I'll see if I can add things like Sommaire. Just from curiosity why are all the Protected Ranges dated 1969-12-31? |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Jul 20, 2007 5:44 pm |
|
They must have been given a datetime of 0. |
_________________ 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! |
|
|
 |
southern

|
Posted:
Sat Jul 21, 2007 10:22 am |
|
Thanks Montego but that doesn't explain much. There was no nuke or websites except maybe ARPA in '69 and no personal computers... might as well be 1469. |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Sat Jul 21, 2007 10:55 am |
|
UNIX timestamps start counting seconds from the UNIX epoch of midnight, Jan 1, 1970. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
southern

|
Posted:
Sat Jul 21, 2007 11:31 am |
|
Ah... very good explanation Gremmie The beginning of Unix time. |
|
|
|
 |
|