Author |
Message |
tag
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/451e8ed0412c92a23d0ae.gif)
Joined: Dec 18, 2003
Posts: 53
Location: Worldwide
|
Posted:
Sun Jul 03, 2005 12:03 am |
|
Keep getting:
You can't access this file directly...
On all sentinel blocks
What am I forgetting to do?
Nuke 7.5
Sentinel 2.3 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Manuel
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: May 28, 2005
Posts: 90
|
Posted:
Sun Jul 03, 2005 10:24 am |
|
you have chatserv' patches installed? |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tag
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 11:42 am |
|
sorry there is nothing in docs about patches.
Where do i find these "patches"? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Jul 03, 2005 11:47 am |
|
tag wrote: | sorry there is nothing in docs about patches.
Where do i find these "patches"? | From the README fileQuote: | Section 2: Requirements & Latest Features:
------------------------------------------
REQUIREMENTS:
- NukeSentinel(TM) requires PHP-Nuke 7.1 - 7.7 plus Patched 2.9+ to be installed. If
you are not using Patched 2.9+ you can still use it, but you will need to make
several modifications. If you are using v6.5, it should work but there may be additional
edits needed. |
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tag
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 12:09 pm |
|
Just did lots of work but all those edits were already in file 7.5 patched. so guess they was al right in first place....
still dont help tho cause i still getting same error
You can't access this file directly...
when i try to load the blocks
sentinel seems to be working tho
bumped one of my firends on proxy so had to take that part off
just cant load the sentinel blocks
the other blocks load and unload fine. |
Last edited by tag on Sun Jul 03, 2005 2:26 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 1:22 pm |
|
Use a REAL text editor like Textpad and not notepad ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tag
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 6:09 pm |
|
Just did lots of work but all those edits were already in file 7.5 patched. so guess they was al right in first place....
still dont help tho cause i still getting same error
You can't access this file directly...
when i try to load the blocks
sentinel seems to be working tho
bumped one of my firends on proxy so had to take that part off
just cant load the sentinel blocks
the other blocks load and unload fine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Manuel
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 10:05 pm |
|
ok, i tried to check the code for the block of last version 2.3.1
FIND:
Code:
if(!defined('NUKE_FILE') && !defined('BLOCK_FILE'))
|
REPLACE WITH:
Code:
if(!defined('BLOCK_FILE'))
|
also check that in your mainfile.php you have:
Code:
define('BLOCK_FILE', true);
|
and
Code:
define('NUKE_FILE', true);
|
![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tag
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 10:49 pm |
|
First let me say thanks... I know you SHOULD have better things to do than track down problems... but you are like me I know and love to do. (sometimes)
Second the above fix worked. One addition to make so the Module Sentinel work is :
Quote: |
define('MODULE_FILE', true);
|
taking your lead I found it easy.
Thank you for your time and patience with me |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Manuel
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 10:56 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 10:57 pm |
|
No, you don't want that in the module! It could be forged. That code goes in your modules.php file. If you don't have it there already, then you do not have all the patches from 3.0b |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Manuel
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 10:59 pm |
|
i think he made a mistake but has done what i wrote lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 11:05 pm |
|
Those changes are all a part of Chat's 2.9 fixpacks and later. Tag, if that's been your problem then you need to bring your nuke version up to date with Chat's 3.0b fixes. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Manuel
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 11:13 pm |
|
tag wrote: | Just did lots of work but all those edits were already in file 7.5 patched. so guess they was al right in first place....
still dont help tho cause i still getting same error
|
this is all strange
you say to have nuke patched
but if you have non patched you may have some other problems than only the block not working... mmmmmm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tag
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 03, 2005 11:19 pm |
|
Ok put the define('MODULE_FILE', true); it worked there too.... its now in modules.php
I updated everything in the 2.3 version:
Patched 3.0 this can be shortened to:
if(!defined('BLOCK_FILE')) { die("You can't access this file directly..."); }
so i have the right files... just i didnt see about the define parts cause its hard to read in notepad
get a real editor notepad then everyone can read it
lol
ok it does open txt files in mircocrap word.... so i can at least read it (lame programs huh?)
actually I do have 7.5 patched I always wait for patched files from you guys before I uplaod to am-nuke.net --- however there is a problem this time. I never add a auto server like fantasico before... so those people using it are gonna be crying. It loaded itself automatically and I had to force orverwrite every file, so yeah I guess there are going be some problems.
For instance, preferences worked BEFORE i uplaoded the patched files, now it doesn't also MSN analysis worked before , now it doesnt... still working on those issues in other posts.....
Lots of other things didn't work but I fix all but those Sentinel and those two, now just have to two left. Since I was publishing the site all over thought sentinel should be in place first.
. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|