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 -> NukeSentinel(tm) Bug Reports
Author Message
s4femod3
New Member
New Member



Joined: Jun 08, 2005
Posts: 4

PostPosted: Wed Jun 08, 2005 8:13 pm Reply with quote

hello all,

i'm try to figure nuke 7.7 with patched to add a sentinel (NukeSentinel_71-77_230) ..

- when i access the nsnt.php and i choose first time install its seem no progress/ or table created. i also cheked in nuke database and no table or else.

- before that i cannot comment the union tap code in mainfile.php

Code:
unset($matches); 

unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
   die();
}
*/
$queryString = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($queryString,'%20union%20') OR stripos_clone($queryString,'/*') OR stripos_clone($queryString,'*/union/*') OR stripos_clone($queryString,'c2nyaxb0')) {
   header("Location: index.php");
   die();
}


its got error said unexpected T_variable on line 45 ..and this for line 45

Code:
$phpver = phpversion();


and for reference , this is the code for mainfile .php starting at line 1 to 50:

<?php

Code:
/************************************************************************/ 

/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2005 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
//define('NUKE_FILE', true);
# start NukeSentinel
if (defined('FORUM_ADMIN')) {
    @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
    @include_once("../../includes/nukesentinel.php");
} else {
    @include_once("includes/nukesentinel.php");
}
# End NukeSentinel

if (file_exists("includes/custom_files/custom_mainfile.php")) {
   include_once("includes/custom_files/custom_mainfile.php");
}
//Union Tap
//Copyright Zhen-Xjell 2004 http://nukecops.com
//Beta 3 Code to prevent UNION SQL Injections
/*
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
   die();
}
*/
$queryString = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($queryString,'%20union%20') OR stripos_clone($queryString,'/*') OR stripos_clone($queryString,'*/union/*') OR stripos_clone($queryString,'c2nyaxb0')) {
   header("Location: index.php");
   die();
}


$phpver = phpversion();
if ($phpver < '4.1.0') {
   $_GET = $HTTP_GET_VARS;
   $_POST = $HTTP_POST_VARS;
   $_SERVER = $HTTP_SERVER_VARS;
}


And for table creation can someone give a sql for table and all field for the NukeSentinel_71-77_230 .. i want to try to add manually. thanks
 
View user's profile Send private message
Dauthus
Worker
Worker



Joined: Oct 07, 2003
Posts: 211

PostPosted: Wed Jun 08, 2005 8:21 pm Reply with quote

I would strongly recommend you try and upload all the files for the install again. It worked on my site (www.nukebridge.com) with 7.7 and patched 3.0 on the first try with no errors at all. It looks like a file or two didn't completely upload to your server.

_________________
Image
Vivere disce, cogita mori 
View user's profile Send private message Visit poster's website
montego
Site Admin



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

PostPosted: Wed Jun 08, 2005 8:22 pm Reply with quote

did you also upload the nsnst_installer directory to your rootweb prior to trying to run the install script? This was not mentioned as a directory to upload in the README file that I could find (yes, I could be blind or impatient to wade through the details).

montego

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
s4femod3







PostPosted: Wed Jun 08, 2005 9:48 pm Reply with quote

off course i put sentinel installer in the nuke dir.. an all seems ok ..with no error..until i comment out the union tap at mainfile.php .. i can access the nsnst.php .. when i click commit with new fresh install selected ..thats no progress or result ... i try checkin in the nuke db ..which should be table prefix like nnst_xxx .. but no table created..

my nuke is fresh install and with fresh sentinel .. that any problem should be from this situation?..

BTW.. thanks all .. i should try again ..maybe 10x .. till this fixed..
 
Dauthus







PostPosted: Wed Jun 08, 2005 9:55 pm Reply with quote

I can post the sql from my table, but it is kind of long and this may be something Raven may want to post himself. If he says ok, I don't have a problem posting it here. Mine is a default install also. No modifications.

EDIT: Also, try to install the tables BEFORE you modify the mainfile.php. I didn't modify any files until I had the tables installed. Then I modified the files like the readme says.
 
Manuel
Regular
Regular



Joined: May 28, 2005
Posts: 90

PostPosted: Wed Jun 08, 2005 10:37 pm Reply with quote

Quote:

/*
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
die();
}
*/


i think the problem is your comment out of this region... it didn't work correctly, try to delete this section instead of commenting out... stupid problem Smile

_________________
Image 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
s4femod3







PostPosted: Thu Jun 09, 2005 4:31 am Reply with quote

Dauthus wrote:
I can post the sql from my table, but it is kind of long and this may be something Raven may want to post himself. If he says ok, I don't have a problem posting it here. Mine is a default install also. No modifications.

EDIT: Also, try to install the tables BEFORE you modify the mainfile.php. I didn't modify any files until I had the tables installed. Then I modified the files like the readme says.


i was edit the file first..and try to install table.. let me try like u say...maybe install the table first..

i also try to remove all what should comment..

for the info.. i use PHP Version 4.2.2 and MySQL 3.23.54 and apache 2.0 on the Redhat..
 
s4femod3







PostPosted: Mon Jun 13, 2005 10:23 pm Reply with quote

i was try any possible way..but seem the install script does not work properly.. i need the sql structure and default value inside.. can someone give it to me.. i think next release should add sql file ..if the web installer dont work properly..than we can execute sql file manually.. thanks all
 
aelfwyne
New Member
New Member



Joined: Jul 23, 2005
Posts: 1

PostPosted: Sat Jul 23, 2005 4:38 pm Reply with quote

Having the same problem here. The installer executes, and then only installs about four of the tables and, stops and said FAILED. The tables it lists actually do get installed though, but it won't complete.

The tutorial says to include the SQL file manually if this fails - but I don't see it anywhere in the download archive!

I'm going to see if I can find an older SQL file, manually import it, then upgrade.

(edit) bleh.... can't seen to find older SQL files anywhere... wtf do they release stuff that doesn't work????
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) Bug Reports

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 ©