Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
rurinho
New Member
New Member



Joined: Jul 22, 2005
Posts: 3

PostPosted: Fri Jul 22, 2005 10:19 pm Reply with quote

I've searched all over for this issue and couldn't find anything relating to my problem. So...

Heres my problem:

I installed sentinel 2.3.2 (after an attack from some faggy hacker) on php nuke 7.4 not patched in any way (at least not by me).

It was a bit tricky to get it to work but everything seams to be running fine (tested it with a union hack and it blocked me, also blocked google bot when it tried to spider my site). So I beleive that security is up and running. Although I would apreciate it if someone could do some further testing for me, to check if security is really tight. My url is www.ritmos.tk

Anyway, my real problem is that I can't activate NONE of the sentinel side or center blocks. Its not that they aren't there, its that when I go to the admin panel to create a new side/center block with one of sentinels files (such as "Hacker Beware" or "Hacker Beware 2" or "Scrolling Sentinel", etc) I get an error saying "You can't access this file directly..." and stops the loading process of the page, only loading the theme and the left side blocks. Then the only way to fix it (at least to my knowlage) is to go to phpmyadmin and remove the sentinel block directly from the SQL database!

It's not like I really need the sentinel blocks but I would like to be able to use them on my site...

Any ideas??

Thanx in Advance Wink
 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Fri Jul 22, 2005 10:28 pm Reply with quote

After
function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
in mainfile.php add:
Code:
if(!defined('BLOCK_FILE')) {

  define('BLOCK_FILE', true);
}
 
View user's profile Send private message Visit poster's website
rurinho







PostPosted: Fri Jul 22, 2005 10:39 pm Reply with quote

Solved it! Wink

Thanx for the great help!
 
rurinho







PostPosted: Sat Jul 23, 2005 7:37 am Reply with quote

Why was this edited?? I put the code you gave right below the credits and it seams to be working fine, why did you change it to after function render_blocks?

Anyway, how about having a look around my site to check for possible security flaws? Today I received 2 mails from sentinel, 1 for Abuse-Author and another for Abuse-Filter, so like I said, I beleive It's working fine but I just wanted to make sure!

BTW is there any portuguese translation for sentinel? Would I be allowed to translate it?

Thanx again and excuse my ignorance! Dance-Stick
 
chatserv







PostPosted: Sat Jul 23, 2005 11:56 am Reply with quote

I had posted it to be placed under the credits as it is a Nuke Patched addition and you don't seem to be using it but the correct location for it is in the render_blocks function.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©