Author |
Message |
badkemo
Worker


Joined: Mar 31, 2004
Posts: 111
|
Posted:
Thu Sep 29, 2005 8:29 pm |
|
can anyone tell me why the new news that i make wont appear on index.php?
when i press post sotorry nothing happens it bring me back to the admin.php site
does anyone has a solutio to this problem?
thank you |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Sep 29, 2005 11:00 pm |
|
Dump v7.8 and revert back to v7.6 as we are constantly advising! |
|
|
|
 |
badkemo

|
Posted:
Fri Sep 30, 2005 8:34 pm |
|
ok I did revert back to nuke 7.6 as a matter affect I created everything new installed nuke senitel and nov im not able to log into my_account it tells me access denied
everything was sucesfull exept for that |
|
|
|
 |
Raven

|
Posted:
Fri Sep 30, 2005 10:13 pm |
|
It sounds as if you haven't made all of the modifications to mainfile and possible admin.php. Verify your NukeSentinel changes. |
|
|
|
 |
badkemo

|
Posted:
Fri Sep 30, 2005 10:18 pm |
|
on the mainfile there is a big list of codes that i cant find in my mainfile.php
Code: #
#-----[ OPEN ]------------------------------------------
#
mainfile.php
#
#-----[ FIND ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
@require_once("../../../config.php");
@require_once("../../../db/db.php");
@require_once("../../../includes/sql_layer.php");
if (file_exists("../../../includes/custom_files/custom_mainfile.php")) { @include_once("../../../includes/custom_files/custom_mainfile.php"); }
@require_once("../../../includes/ipban.php");
if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_head.php")) { @include_once("../../../includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_header.php")) { @include_once("../../../includes/custom_files/custom_header.php"); }
} elseif (defined('INSIDE_MOD')) {
@require_once("../../config.php");
@require_once("../../db/db.php");
@require_once("../../includes/sql_layer.php");
if (file_exists("../../includes/custom_files/custom_mainfile.php")) { @include_once("../../includes/custom_files/custom_mainfile.php"); }
@require_once("../../includes/ipban.php");
if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_head.php")) { @include_once("../../includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_header.php")) { @include_once("../../includes/custom_files/custom_header.php"); }
} else {
@require_once("config.php");
@require_once("db/db.php");
@require_once("includes/sql_layer.php");
if (file_exists("includes/custom_files/custom_mainfile.php")) { @include_once("includes/custom_files/custom_mainfile.php"); }
@require_once("includes/ipban.php");
if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_head.php")) { @include_once("includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_header.php")) { @include_once("includes/custom_files/custom_header.php"); }
}
#
#-----[ CHANGE TO ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
@require_once("../../../config.php");
@require_once("../../../db/db.php");
@require_once("../../../includes/sql_layer.php");
if (file_exists("../../../includes/custom_files/custom_mainfile.php")) { @include_once("../../../includes/custom_files/custom_mainfile.php"); }
//@require_once("../../../includes/ipban.php");
@include_once("../../../includes/nukesentinel.php");
if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_head.php")) { @include_once("../../../includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_header.php")) { @include_once("../../../includes/custom_files/custom_header.php"); }
} elseif (defined('INSIDE_MOD')) {
@require_once("../../config.php");
@require_once("../../db/db.php");
@require_once("../../includes/sql_layer.php");
if (file_exists("../../includes/custom_files/custom_mainfile.php")) { @include_once("../../includes/custom_files/custom_mainfile.php"); }
//@require_once("../../includes/ipban.php");
@include_once("../../includes/nukesentinel.php");
if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_head.php")) { @include_once("../../includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_header.php")) { @include_once("../../includes/custom_files/custom_header.php"); }
} else {
@require_once("config.php");
@require_once("db/db.php");
@require_once("includes/sql_layer.php");
if (file_exists("includes/custom_files/custom_mainfile.php")) { @include_once("includes/custom_files/custom_mainfile.php"); }
//@require_once("includes/ipban.php");
@include_once("includes/nukesentinel.php");
if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_head.php")) { @include_once("includes/custom_files/custom_head.php"); }
if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_header.php")) { @include_once("includes/custom_files/custom_header.php"); }
}
#
#-----[ FIND ]------------------------------------------
#
|
|
|
|
|
 |
Raven

|
Posted:
Fri Sep 30, 2005 11:11 pm |
|
Did you d/l the v7.6pl3.1 from my site or have you at least applied the 3.1 Chatserv Patches? |
|
|
|
 |
Themis
Worker


Joined: Nov 17, 2003
Posts: 131
|
Posted:
Fri Sep 30, 2005 11:12 pm |
|
Move the scroll button down about an inch ;p
It's under this:
// Posting from other servers in not allowed
// Fix by Quake
// Bug found by PeNdEjO
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
} |
_________________ Shonierose
Shonie's Retreat
www.shonie.com |
|
|
 |
badkemo

|
Posted:
Fri Sep 30, 2005 11:12 pm |
|
yes the paches are applied pach3.1 for phpnuke7.6 |
|
|
|
 |
badkemo

|
Posted:
Fri Sep 30, 2005 11:16 pm |
|
ok i got that resolved but how can i fix this
ok but i still have the problem with htaccess i can figure out where to set my admin password
when i go to ADMIN AUTH LIST and make a password for it and chmode the .htacces and .staccess it wont let me back on to the admin.php |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Oct 01, 2005 2:38 am |
|
I assume you are reffering to Sentinel settings in your last post?
First, make sure your IP is set in the 'Protected Range'.
Your htaccess needs to be writable and if you are lucky enough to have an SSL certificate (or shared SSL), your staccess file will need to be writable too.
Your htaccess and staccess files must have at least one empty line at the bottom.
I am assuming that, so far so good as the fact you were not able to log back in indicates the password was written to htaccess BUT for whatever reason, the password stored in htaccess does not match your admin password.
Are you sure you can use staccess on your hosting account?
Try removing the staccess path in the Sentinel config setting and trying again.
Have you verified your password was stored in htaccess? |
|
|
|
 |
badkemo

|
Posted:
Sat Oct 01, 2005 10:07 am |
|
how can i see if the passowrd is stored in htaccess? and yes im suer i can use staccess on my account
whhere do you set the ip to the "protected range" is it in Admin Auth List? |
|
|
|
 |
badkemo

|
Posted:
Sat Oct 01, 2005 10:23 am |
|
ok I fopund out where I can add my Ip adres to the protected range bit still if I rename the Haccess and stacces wont let me into the admin.pap |
|
|
|
 |
Guardian2003

|
Posted:
Sat Oct 01, 2005 10:24 am |
|
In Sentinesl main admin page, list on the left is 'Protected Range' - click that and then when the page changes, look for 'Add Protected IP'.
The Admin Auth list is just a list of authorised admins.
To see if anything has been written to the htaccess file you will need to view it via your FTP client software (you may have to adjust the FTP client settings to show hidden files).
Ask your host if secure htaccess (staccess) files are allowed to be sure you can use them - otherwise Sentinel will look for them, not find it and of course the authentication of the admin password will fail. Until you are certain, delete the path to it in Sentinel config. |
|
|
|
 |
badkemo

|
Posted:
Sat Oct 01, 2005 10:29 am |
|
ok let me send my host an e-mail aboput htaccess and staccess
thsi is how my htaccess looks like on my server right now
----------------------------------------------------------------------------------------------
Options All -Indexes
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /path/to/your/.staccess
</Files>
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
it has 1 line blank below #------------------------------------ like you said
the staccess is empty with one line blank |
|
|
|
 |
badkemo

|
Posted:
Sat Oct 01, 2005 10:34 am |
|
I just found out that they alow .htaccess on the server the admin is not sure about staccess he never heard of that file so i guess it's not suported |
|
|
|
 |
Raven

|
Posted:
Sat Oct 01, 2005 1:02 pm |
|
.staccess is just a hidden file that could be named anything. You should not have any of that code in your .htaccess. For the 150th time you do NOT need .htaccess and .staccess to use HTTP Authorization. For now, this is all you need in your .htaccess
Options All -Indexes
DirectoryIndex index.php index.htm index.html |
|
|
|
 |
badkemo

|
Posted:
Sat Oct 01, 2005 3:06 pm |
|
hehehe for the 150th time thank you you made everything clear  |
|
|
|
 |
|