Author |
Message |
flycav
New Member


Joined: Jul 03, 2004
Posts: 8
|
Posted:
Sat Jul 03, 2004 12:52 pm |
|
Hello,
I'm new to nuke and sentinal. After installing nuke 7.3 successfully, I tried to install sentinal>
It looked like it installed:
Operation Status!
--------------------------------------------------------------------------------
- Create nuke_nsnst_ips failed
- Create nuke_nsnst_config failed
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Adjust Order nuke_nsnst_config succeded
--------------------------------------------------------------------------------
Operation Complete!
Goto NSN Sentinel™ Config
When I tried to goto the Config link above, I got a blank screen. I also tried it from my admin panal with the same results.
Any advice you can give will be greatly appreciated> |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Jul 03, 2004 1:01 pm |
|
This would imply that your mysql parameters in nuke config do not have CREATE table authority. Sometimes people use mysql user/pass in nuke that do not have create table authority/permission (I am one of those). That way no exploit in nuke can add tables. So, to install an application you need to change the user/pass temporarily to a user/pass that has permission. Could that be the case?
Or, maybe you actually meant to do an upgrade and not a new install? |
|
|
|
 |
flycav

|
Posted:
Sat Jul 03, 2004 1:07 pm |
|
This error is at the bottom of my table in phpmyadmin:
$cfg['Servers'][$i]['pmadb'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled
$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled
$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled
$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL-query: Disabled
MIME ... not OK [ Documentation ]
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL-history: Disabled
Do you think this is the problem? |
|
|
|
 |
flycav

|
Posted:
Sat Jul 03, 2004 1:26 pm |
|
I destalled it, and reinstalled it and got this:
Operation Status!
--------------------------------------------------------------------------------
- Create nuke_nsnst_ips succeded
- Create nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Add field nuke_nsnst_config succeded
- Adjust Order nuke_nsnst_config succeded
--------------------------------------------------------------------------------
Operation Complete!
Goto NSN Sentinel™ Config
Still get the blank page though. |
|
|
|
 |
Raven

|
Posted:
Sat Jul 03, 2004 3:36 pm |
|
Did you also follow the instructions in the README to fix the Your_Account bugs? |
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Sat Jul 03, 2004 4:21 pm |
|
flycav wrote: | This error is at the bottom of my table in phpmyadmin:
$cfg['Servers'][$i]['pmadb'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled
$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled
$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled
$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL-query: Disabled
MIME ... not OK [ Documentation ]
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL-history: Disabled
Do you think this is the problem? |
It's a bit tedious but click on the documentation links one by one and you will get instructions on solving each issue. |
|
|
|
 |
flycav

|
Posted:
Sat Jul 03, 2004 4:37 pm |
|
Do you mean in nukes index.php file?
Mine only had this:
<?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 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. */
/* */
/************************************************************************/
/* Additional security checking code 2003 by chatserv */
/* http://www.nukefixes.com -- http://www.nukeresources.com */
/************************************************************************/
require_once("mainfile.php");
$_SERVER['PHP_SELF'] = "modules.php";
$row = $db->sql_fetchrow($db->sql_query("SELECT main_module from ".$prefix."_main"));
$name = $row['main_module'];
$home = 1;
if ($httpref==1) {
$referer = $_SERVER["HTTP_REFERER"];
$referer = check_html($referer, nohtml);
if ($referer=="" OR eregi("^unknown", $referer) OR substr("$referer",0,strlen($nukeurl))==$nukeurl OR eregi("^bookmark",$referer)) {
} else {
$result = $db->sql_query("INSERT INTO ".$prefix."_referer VALUES (NULL, '$referer')");
}
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_referer"));
if($numrows>=$httprefmax) {
$result2 = $db->sql_query("DELETE FROM ".$prefix."_referer");
}
}
if (!isset($mop)) { $mop="modload"; }
if (!isset($mod_file)) { $mod_file="index"; }
$name = trim($name);
$file = trim($file);
$mod_file = trim($mod_file);
$mop = trim($mop);
if (ereg("\.\.",$name) || ereg("\.\.",$file) || ereg("\.\.",$mod_file) || ereg("\.\.",$mop)) {
echo "You are so cool...";
} else {
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/module.php")) {
include("themes/$ThemeSel/module.php");
if (is_active("$default_module") AND file_exists("modules/$default_module/".$mod_file.".php")) {
$name = $default_module;
}
}
if (file_exists("themes/$ThemeSel/modules/$name/".$mod_file.".php")) {
$modpath = "themes/$ThemeSel/";
}
$modpath .= "modules/$name/".$mod_file.".php";
if (file_exists($modpath)) {
include($modpath);
} else {
$index = 1;
include("header.php");
OpenTable();
if (is_admin($admin)) {
echo "<center><font class=\"\"><b>"._HOMEPROBLEM."</b></font><br><br>[ <a href=\"admin.php?op=modules\">"._ADDAHOME."</a> ]</center>";
} else {
echo "<center>"._HOMEPROBLEMUSER."</center>";
}
CloseTable();
include("footer.php");
}
}
?
By the way I really appreciate your help with this.  |
|
|
|
 |
Raven

|
Posted:
Sat Jul 03, 2004 6:18 pm |
|
No, read the instructions at the bottom of the readme/install instructions about the modifications needed to the modules/Your_Account/index.php file. |
|
|
|
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sat Jul 03, 2004 7:08 pm |
|
I guess we should make SQL files availble in hte packages for those webmasters who do not have "Create" permissions. I'm so use to just poping in and creating tables on the fly I didn't think of that. |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
flycav

|
Posted:
Sat Jul 03, 2004 10:16 pm |
|
I have uninstalled and reinstalled several times. After I successfully install and add
include("includes/sentinel.php"); to the mainfile.php I try and select:
Goto NSN Sentinel™ Config
Not only is that page blank, but the entire site is now blank.
I changed the modules/Your_Account/index.php file per the readme instructions and followed all the instructions to the letter. Did anyone else have the same problem, what am I doing wrong?
 |
|
|
|
 |
Raven

|
Posted:
Sat Jul 03, 2004 10:19 pm |
|
No one that I know of. Look at your server error log. |
|
|
|
 |
flycav

|
Posted:
Mon Jul 05, 2004 9:09 am |
|
Thank you for turning my one to the error log. It turns out that I had mis-configured the language file:
[error] PHP Warning: main(language/sentinel/lang-english.php): failed to open stream: No such file or directory in /usr/home/xxxxxx/public_html/www.xxxxxxxxxxxx.com/includes/sentinel.php on line 53
[Mon Jul 5 10:58:10 2004] [error] PHP Fatal error: main(): Failed opening required 'language/sentinel/lang-english.php' (include_path='.:/usr/local/lib/php') in /usr/home/xxxxxxxxx/public_html/www.xxxxxxxxxxx.com/includes/sentinel.php on line 53
Once I moved the sentinel language folder to the right spot all is well.
Thank you for the help, I will be making a donation to your paypal shortly.  |
|
|
|
 |
flycav

|
Posted:
Mon Jul 05, 2004 10:04 am |
|
New problem,
Was able to configure sentinel, tried it goto Sentinel™ Administration and got a module page withe the sentinel header and sub-headers at the top and nothing below.
Here is the server error log, I'm new and not sure where to make the fix.
server error log:
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined index: 2 in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 214
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: forum_admin in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/includes/sentinel.php on line 30
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: inside_mod in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/includes/sentinel.php on line 34
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _AB_BLOCKEDON already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/language/sentinel/lang-english.php on line 51
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _AB_IPBLOCKED already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/language/sentinel/lang-english.php on line 82
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: user in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/includes/sentinel.php on line 70
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined index: 2 in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 214
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: name in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/includes/sentinel.php on line 112
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: HTTP_USER_AGENT in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 28
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 34
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 51
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: inside_mod in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 82
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _YOUHAVE already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/language/lang-english.php on line 159
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined variable: user in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules.php on line 28
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined index: 2 in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 214
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Use of undefined constant admin - assumed 'admin' in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 171
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _YES already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 21
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _NO already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 22
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _BROADCAST already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 179
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _ACCESSTO already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 198
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _CREATEJOURNAL already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 199
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _READHEADLINES already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 200
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _READMYJOURNAL already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 202
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _SECURITYCODE already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 219
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Constant _TYPESECCODE already defined in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/language/lang-english.php on line 220
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Undefined index: 2 in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/mainfile.php on line 214
[Mon Jul 5 11:53:51 2004] [error] PHP Notice: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' in /usr/home/xxxxxxxxxx/public_html/www.xxxxxxxxxx.com/modules/Your_Account/index.php on line 577 |
|
|
|
 |
Raven

|
Posted:
Mon Jul 05, 2004 11:13 am |
|
|
|
 |
flycav

|
Posted:
Tue Jul 06, 2004 1:57 pm |
|
I turned the warnings off and cleared up all of that crap!
When I try to open sentinel from the admin section of my site I get the sentinel menu across the top of the sentinel admin page and nothing else.
The page appears blank accept for the menu, is that the way it is supposed to look?
If not, what is the fix? Thank you for your time.  |
|
|
|
 |
Raven

|
Posted:
Tue Jul 06, 2004 2:01 pm |
|
You should see a menu block in the middle of the page with 6 menu links. |
|
|
|
 |
|