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 -> phpnuke 7.9
Author Message
southern
Client



Joined: Jan 29, 2004
Posts: 624

PostPosted: Wed Jul 18, 2007 8:38 pm Reply with quote

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 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jul 18, 2007 9:02 pm Reply with quote

You don't need that code if you are using NukeSentinel(tm).
 
View user's profile Send private message
southern







PostPosted: Thu Jul 19, 2007 11:41 am Reply with quote

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







PostPosted: Thu Jul 19, 2007 1:11 pm Reply with quote

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







PostPosted: Thu Jul 19, 2007 1:21 pm Reply with quote

OK, sweet and simple. I d/led RavenNuke and I'll do this after I do some other non-website related work.
 
southern







PostPosted: Fri Jul 20, 2007 10:09 am Reply with quote

Looks great. Smile 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

PostPosted: Fri Jul 20, 2007 5:44 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
southern







PostPosted: Sat Jul 21, 2007 10:22 am Reply with quote

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

PostPosted: Sat Jul 21, 2007 10:55 am Reply with quote

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 
View user's profile Send private message
southern







PostPosted: Sat Jul 21, 2007 11:31 am Reply with quote

Ah... very good explanation Gremmie Smile The beginning of Unix time.
 
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 -> phpnuke 7.9

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 ©