You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 45 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - NukeSentinel Instilation Error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ash_k_89
Nuke Soldier
Nuke Soldier


Joined: Aug 18, 2004
Posts: 11


PostPosted: Sat Aug 21, 2004 5:14 am Reply with quoteBack to top

After i instaled NukeSentinel i keep getting this error when i try and get into the forums admin page. Is there any way around this?

Quote:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/ofpoptimized.com/httpdocs/mainfile.php on line 1184


line 1184 is

Quote:
include("includes/sentinel.php");


Thanks for any help

_________________
Ash
Ofpoptimized.com
Find all posts by ash_k_89View user's profileSend private message
MrFluffy
Captain
Captain


Joined: Aug 06, 2003
Posts: 411

Location: Berlin

PostPosted: Sat Aug 21, 2004 6:17 am Reply with quoteBack to top

Strange, because includes/ is not above the directory level of mainfile.php...
Did you try to move the include to line 2, as it is recommended in the installation notes?

_________________
cu, MrFluffy

conrads-berlin.de
nuke-platinum.de
Find all posts by MrFluffyView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Sat Aug 21, 2004 8:56 am Reply with quoteBack to top

File inclusion failed because of this:
Code:
Warning: open_basedir restriction in effect.


This is a description about open_basedir restriction from PHP doc:
Quote:
Limit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off.

When a script tries to open a file with, for example, fopen or gzopen, the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink.

The special value . indicates that the directory in which the script is stored will be used as base-directory.

Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited.

The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "open_basedir = /dir/incl/"

Note: Support for multiple directories was added in 3.0.7.

The default is to allow all files to be opened.


You'll have to contacting your host provider for allowable PHP directories, disabling safe-mode, or any restrictions that affects to current PHP settings.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 936

Location: United Kingdom

PostPosted: Sat Aug 21, 2004 9:41 am Reply with quoteBack to top

Did you put an .htaccess file in the wrong place?

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
ash_k_89
Nuke Soldier
Nuke Soldier


Joined: Aug 18, 2004
Posts: 11


PostPosted: Sat Aug 21, 2004 10:42 am Reply with quoteBack to top

MrFluffy wrote:
Did you try to move the include to line 2, as it is recommended in the installation notes?


When i tried moving it to line 2 it just makes more errors saying

Quote:
Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/ofpoptimized.com/httpdocs/config.php:120) in /home/httpd/vhosts/ofpoptimized.com/httpdocs/admin/modules/forums.php on line 38


Is there any other way to fix it or this error?

The site works fine with no errors when i remove the include line but nukesentilel doesnt work when i do. I have had similar errors before and fixed them using "output buffering"? by changing

Code:
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr(Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1),'compatible')) {
    if (extension_loaded('zlib')) {
        ob_end_clean();
        ob_start('ob_gzhandler');
    }
} else if ($phpver > '4.0') {


to

Code:
 $phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
    ob_start('ob_gzhandler');
}else if (42 > '4.0') {


and adding the following line to a .htaccess file in the root

Code:
PHP_FLAG output_buffering on

_________________
Ash
Ofpoptimized.com
Find all posts by ash_k_89View user's profileSend private message
maxout
Corporal
Corporal


Joined: Aug 16, 2004
Posts: 64


PostPosted: Sat Aug 21, 2004 2:44 pm Reply with quoteBack to top

After installation once when I try to load admin config I got this error:

Fatal error: Call to undefined function: abget_configs() in /home/webpagec/public_html/admin/modules/sentinel.php on line 29

line 29 :
$abconfig = abget_configs();

What that error means ?


In admin CP name under NukeSentinel icon I have :
_AB_NUKESENTINEL

is that normal? ?

thank you ..
Find all posts by maxoutView user's profileSend private message
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Sat Aug 21, 2004 2:56 pm Reply with quoteBack to top

Hi Maxout,

This folder is for questions about Nuke. There is actually a folder here for questions about Sentinel.

Your error stems from forgeting to add a line to your mainfile.php.

This is the first question answered in the Sentinel FAQ documentation. Add this as the second line in your mainfile.php.

Code:
include("includes/sentinel.php");


That will clear up the error for you.

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
maxout
Corporal
Corporal


Joined: Aug 16, 2004
Posts: 64


PostPosted: Sat Aug 21, 2004 4:40 pm Reply with quoteBack to top

Sorry that my mistake. Please move this to right forum.

Thyank you so much for help .. you was right I did mistake and I add that line to myheader.php
Find all posts by maxoutView user's profileSend private message
ash_k_89
Nuke Soldier
Nuke Soldier


Joined: Aug 18, 2004
Posts: 11


PostPosted: Sun Aug 22, 2004 5:20 am Reply with quoteBack to top

any1 got a anser mi problem?

_________________
Ash
Ofpoptimized.com
Find all posts by ash_k_89View user's profileSend private message
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Sun Aug 22, 2004 7:31 am Reply with quoteBack to top

ash_k_89,

What did you choose line 1189 to put that include file? Are you running version 2.01 of Sentinel right now?

What version of Nuke?

Is your server Unix or Windows?

You said after installing Sentinel that you could not reach your forum admin page anymore. But you never said rather or not Sentinel worked in your first message.

Does Sentinel work?

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Sun Aug 22, 2004 8:22 am Reply with quoteBack to top

ash_k_89,

Here's some more information that may be relevant to your installation.

Quote:
· How do i remove the Cannot Add Header Information error message?

If you have access to php.ini set:
output_buffering = On

else copy the following into a file:
PHP_FLAG output_buffering On
save it as .htaccess and upload to the same place mainfile.php is located.

Or add the following line to mainfile.php right after the file credits:
ini_set("output_buffering","1");


Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
ash_k_89
Nuke Soldier
Nuke Soldier


Joined: Aug 18, 2004
Posts: 11


PostPosted: Sun Aug 22, 2004 1:00 pm Reply with quoteBack to top

i am running sentinel 2.0.1 and nuke 7.1 i am using a linux red hat server (zeptohost.com)

I already have dont the buffering thing because i got the errors before and that seemed to fix it but it isnt working this time?

Sentinel works fine i just cant get into the forum admin

My site is www.ofpoptimized.com you will get the errors if you go onto the forums.

If i remove the "include" line from mainfile.php it works fine but sentinel doesnt work atall Sad

thanx
ash

_________________
Ash
Ofpoptimized.com
Find all posts by ash_k_89View user's profileSend private message
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Sun Aug 22, 2004 3:01 pm Reply with quoteBack to top

Hi ash_k_89,

You have your forum set for registered members only so I was not able to reproduce the error you mentioned.

If your sure you have it installed right, and that it's working correctly. (i.e. You done some tests and sentinel is blocking hack attempts) Then I have one last suggestion.

I noticed your site seems to have a lot of something, be it javascript or flash. If it's java script that may be interfering with Sentinel.

Switch to a plane jane theme and try it again.

If you can access your forum with a plain theme then it's an adverse effect of the current theme your running.

If that's the case you'd have to track down which piece of javascript is interfering with Sentinel.

Let us know what you find out.

Good Luck,
Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
ash_k_89
Nuke Soldier
Nuke Soldier


Joined: Aug 18, 2004
Posts: 11


PostPosted: Mon Aug 23, 2004 2:03 am Reply with quoteBack to top

OK thanx for your help i have fixed the problem, i noticed in the readme file for sentinel that there was a line to put in my javascript.php file in includes and this seems to have fixed the problem.

Thanx for all ur help

_________________
Ash
Ofpoptimized.com
Find all posts by ash_k_89View user's profileSend private message
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Mon Aug 23, 2004 5:24 am Reply with quoteBack to top

Good,

Glad you got it working.

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
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.printer-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.257 Seconds - 195 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::