PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Sun Nov 27, 2005 3:07 pm Reply with quote Back to top

I went through all the core edits at least 3 times, seems I have a abberant copy of Php-Nuke 7.5, my mainfile doesn't match any of the core edit files.. however it wasn't hard to infer what was needed to change. Below is just an example of one of them.

Code:
if ($forum_admin == 1) {
    require_once("../../../config.php");
    require_once("../../../db/db.php");
} elseif ($inside_mod == 1) {
    require_once("../../config.php");
    require_once("../../db/db.php");
} else {
    require_once("config.php");
    require_once("db/db.php");
    /* FOLLOWING TWO LINES ARE DEPRECATED BUT ARE HERE FOR OLD MODULES COMPATIBI
LITY */
    /* PLEASE START USING THE NEW SQL ABSTRACTION LAYER. SEE MODULES DOC FOR DET
AILS */
    require_once("includes/sql_layer.php");
    $dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
}

I changed to
Code:
if ($forum_admin == 1) {
    require_once("../../../config.php");
    require_once("../../../db/db.php");
    require_once("../../../includes/sql_layer.php");
    //require_once("../../../includes/ipban.php");
    require_once("../../../includes/nukesentinel.php");
} elseif ($inside_mod == 1) {
    require_once("../../config.php");
    require_once("../../db/db.php");
    require_once("../../includes/sql_layer.php");
    //require_once("../../includes/ipban.php");
    require_once("../../includes/nukesentinel.php");
} else {
    require_once("config.php");
    require_once("db/db.php");
    /* FOLLOWING TWO LINES ARE DEPRECATED BUT ARE HERE FOR OLD MODULES COMPATIBI
LITY */
    /* PLEASE START USING THE NEW SQL ABSTRACTION LAYER. SEE MODULES DOC FOR DET
AILS */
    require_once("includes/sql_layer.php");
    //require_once("includes/ipban.php");
    require_once("includes/nukesentinel.php");
    $dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
}



I performed the backups, core file edits, and uploads of the additional files and ran the install.. all that went flawlessly. Even remember not to touch the .htaccess or .staccess files yet. I went to log into the admin panel and found that I had a "Illegal Access Detected" warning and only 1/4 of my panel would show up and none of it was accessible. I thrice checked my edits and uploads and cannot find any reason.

If anyone can suggest places for me to look, that would be appreciated.
I have Sentinel up and running on another website and it gave me no problems at all.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 3:11 pm Reply with quote Back to top

Have you searched the forums for Illegal Access Detected? I'm pretty sure we've addressed this before.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Sun Nov 27, 2005 3:45 pm Reply with quote Back to top

Of course, that worked perfectly! Thanks Raven. I had to define the admin page.
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum