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™
Author Message
Taz
Worker
Worker


Joined: Dec 22, 2005
Posts: 158

PostPosted: Sat Aug 05, 2006 10:35 am Reply with quote

I am setting up a new site and trying to configure some of the Sentinel settings and I have noticed that for each of the site configurations i.e. Admin Blocker, Author Blocker ect. . . That the Email IP Look UP says NOT AVAILABLE. Can anyone tell me why it would say this?

Thanks


Last edited by Taz on Sat Aug 05, 2006 5:22 pm; edited 1 time in total 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Aug 05, 2006 1:01 pm Reply with quote

Version of NukeSentinel please?

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Taz
PostPosted: Sat Aug 05, 2006 1:07 pm Reply with quote

Sorry,

It is 2.4.2

Thanks!
 
montego
PostPosted: Sat Aug 05, 2006 1:20 pm Reply with quote

Looks like PHP's mail function is not working. It checks first to make sure it would work, and if not set up properly, it shows as not available.
 
Taz
PostPosted: Sat Aug 05, 2006 1:56 pm Reply with quote

I'm not sure if you are pointing to a host problem or my site as the problem. Can you give me a shove in the right direction?
 
montego
PostPosted: Sat Aug 05, 2006 1:58 pm Reply with quote

NS makes an attempt to connect to the PHP mail() function. It appears that that function is not working. Does your user registration process work on this site? If it does, than I cannot see how NS would not also be working.
 
Taz
PostPosted: Sat Aug 05, 2006 2:13 pm Reply with quote

Ok I understand what you are saying, let me test the user registration and see if that is working or not.
 
Taz
PostPosted: Sat Aug 05, 2006 2:54 pm Reply with quote

The registration is working fine. . . Wierd. . .
 
montego
PostPosted: Sat Aug 05, 2006 3:07 pm Reply with quote

Well, let us see if we can figure out what is going on. Try opening this file:

admin\modules\nukesentinel\functions.php

Find the definition of the function blocker_config. Looks for this line here:

$mailtest = @mail();

Remove the "@" sign and see if you get an error message. (Make sure display errors is turned on in your config.php.)
 
Taz
PostPosted: Sat Aug 05, 2006 3:32 pm Reply with quote

Ok i got this error message

Warning: mail() expects at least 3 parameters, 0 given in /home/cvetter/public_html/admin/modules/nukesentinel/functions.php on line 290
 
montego
PostPosted: Sat Aug 05, 2006 4:30 pm Reply with quote

Ok, although this is not a permanent fix from a NS standpoint, I don't know why it is not working in your specific environment. If you are getting mail to work within the registrations, than what I would do is change the line:

$mailtest = @mail();

TO:

$mailtest = true;

You may want to try a ban to see if you get the ban email with the "lookup". But, that is the best I can offer at the moment.

Also, would you please do me a favor and modify your topic title to be more specific to the issue so that it isn't just "Sentinel Setup"? Thx.
 
Taz
PostPosted: Sat Aug 05, 2006 5:23 pm Reply with quote

OK I'll give that a try. I changed my original post, is that a better description?

Thanks for the help.
 
montego
PostPosted: Sat Aug 05, 2006 10:31 pm Reply with quote

Excellent topic title! Thank you!

:clap:
 
Taz
PostPosted: Sun Aug 06, 2006 7:04 pm Reply with quote

OK I set the mailtest = true, that didn't seem to do anything. I also disabled the cache just in case it was doing anything. That didn't seem to help either. The part you said to "try a ban if you get the ban email with the lookup" I am not sure what you are refering to here. I am starting to think this has something to do with my host. Out of curiosity I setup another cms package and it is doing the same thing. I tried raven 2.0 and nuke evolution. They are both acting the same way. Anyone have any more thoughts?
 
Taz
PostPosted: Sun Aug 06, 2006 7:19 pm Reply with quote

Here is something else wierd.... The Sentinel setup, under Administrative Settings, Admin Auth, only has the two following settings.

Off
admin CGIAuth

the admin httpAuth is not listed. . . . What the heck ?!
 
FireATST
RavenNuke(tm) Development Team


Joined: Jun 12, 2004
Posts: 637
Location: Ohio

PostPosted: Sun Aug 06, 2006 9:10 pm Reply with quote

your webhost may not allow httpAuth.
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
Taz
PostPosted: Mon Aug 07, 2006 7:49 pm Reply with quote

Interesting point, I have two sites with this host. The sentinel works fine on one site, it is only acting up on this new site. What is the command to grab the php settings ??

phpinfo()???? or something? I'm not a php expert. Smile
 
FireATST
PostPosted: Mon Aug 07, 2006 8:23 pm Reply with quote

Is this a separate domain, or is the second site a subdomain of the first?
 
Taz
PostPosted: Thu Aug 10, 2006 7:40 pm Reply with quote

It is a separate domain all together. one is 8tharclan.org and the other is techheadz.org. The techheadz.org is the one with the problem.
 
montego
PostPosted: Sat Aug 12, 2006 2:50 pm Reply with quote

It is probably on a different server that is set up differently. To check your "phpinfo", simply upload a file with the following in it and then access it with your browser:

Code:


<?php
phpinfo();
?>


But, I am not sure that will tell you whether you have HTTPAuth or CGIAuth available. You may have to ask your host.
 
Taz
PostPosted: Mon Aug 14, 2006 10:02 am Reply with quote

lol Well like I said and proved, I am not a php expert! Smile I forgot the colon following the phpinfo, no wonder my test file wouldnt work. I ran this phpinfo() on both servers. The 8tharclan says the SERVER API = APACHE, but the techheadz.org says it's CGI. I'm no expert but would CGI limit me from using httpauth? I did forward this on to my host.

Thanks guys,
 
Tao_Man
Involved
Involved


Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Mon Aug 14, 2006 12:09 pm Reply with quote

As set up techheadz.org will not be able to use httpauth, the server api is saying that php is set up as CGi not as an Apache module

_________________
------------------------------------------
To strive, to seek, to find, but not to yield!
I don't know Kara-te but I do know cra-zy, and I WILL use it! 
View user's profile Send private message Visit poster's website
Taz
PostPosted: Mon Aug 14, 2006 12:50 pm Reply with quote

I got a reply from my host, check this out . . .
Only registered users can see links on this board! Get registered or login!

Anyone else run into this?
 
montego
PostPosted: Mon Aug 14, 2006 7:35 pm Reply with quote

Yes, this tells me your are most certainly using PHP as CGI and no, HTTPAuth will NOT work. However, CGIAuth should work just fine I believe.
 
Taz
PostPosted: Tue Aug 15, 2006 6:01 am Reply with quote

This PHPSUEXEC, sounds like it makes the site more secure. Is there any disadvantage to using the CGI (and I assume this means I would use the staccess file and not the htaccess file? Does anyone else have any experience with this PHPSUEXEC?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©